Repository navigation
Replies: 4 comments
|
I'm not sure I'd show them all as columns. Instead, maybe a simple warning icon should show when one of these is out of range. Then clicking or hovering could give more detail. I've definitely wished I could ignore gcps and just scale and rotate on the map. Sometimes finding specific features is hard but aligning road/feature shapes could be easier. |
|
@tannewt Good points, and with regard to scaling/rotating, see #403, where there is some more info about how you can georeference with only two points. I will enable that on your account, and, more than likely, just make it the default soon. That will help you a lot. As for icons on layers with error, that's an interesting idea, maybe these numbers should be aggregated into a single score and that could drive a tag like that. That would also address situations where some stats are useless and others are more helpful. If transformation is polynomial 1 and there are 3 gcps, ignore RMSE, for example. |
|
Thanks! I've been playing with this for a little while. I sometimes accidentally drag a GCP while trying to pan the map and the RMSE lines are super-helpful for fixing that. It'd be even better if there was some way to exaggerate them (a 5m error can hide pretty easily on a large-scale map) or perhaps color the points differently if their residuals are above some threshold? A few more comments.
Do you want a PR for any/all of this? Also, my apologies if any of this is naive! (My day job involves a lot of stats but not GIS). |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I've been working on the addition of a few quantitative measures that can be calculated based on a layer's georeferencing information. Specifically, the GCPs + transformation. The idea behind adding these measures that 1) during georeferencing, they can provide immediate feedback to users, and 2) they can be attached to each layer, and sorting for low values can guide targeted georeferencing improvement efforts.
The three metrics I've added to the database are:
(A fourth one, distribution of GCPs, #284, is something I had thought would be useful in the past, but is somewhat superseded by the combination of these others. Still something to consider in the future though.)
Much credit to @danvk 's work in mapsnap, where he put together the calculations for all of these metrics, and I borrowed some of his functions to get started with this.
The initial addition of a layers list that displays these measures looks like this:
More info on each measure:
RMSE
When is this useful?
When is this useless?
When is this misleading?
RMSE has nothing to do with where the GCPs are actually placed geographically, or, indeed, with how much the page is distorted. You can make a very rotated/skewed result and have 0 RMSE:
Skew
The skew of a layer, is the amount it is "tilted", not rotated, one direction or another. It is measured in degrees, and very easy to conceptualize with these large-scale maps. For example (disregard the basemap here):
As you can see, the skew to the left results in a measurement of -18 degrees.
When is this useful?
When is this useless?
When is this misleading?
Anisotropy
This is the degree to which a map is stretched along its vertical or horizontal axes, and it is a calculated as the ratio of the x-scale factor / the y-scale factor. So, a map stretched wider than it is tall will have anisotropy > 1, and < 1 if it is stretched taller than it is wide. Here's an example with anisotropy ~2, meaning the x scale is about twice the size of the y scale:
When is this useful?
When is this useless?
When is this misleading?
Questions & ideas
Two main issues I see here are: 1) the names of these measures are pretty esoteric and unintuitive, and 2) these values should be normalized so they are sortable across the database as easy as possible.
stretch = anisotropy if anisotropy >= 1 else 1/anisotropyAll reactions