Open bhousel opened 8 years ago
Why and when would this kind of filtering be wanted?
For example a website wanting to show aerial imagery but not maps ....
for the key name:
@grischard proposes category
in #266 that look like fine.
for the key value :
@grischard proposes osm
in #266 for render made from osm data. it would have the advantage of involving an (c) openstreetmap contributors.
@stoecker proposes map
and photo
.
it look like a good idea to also add those 2 values (map
for not-osm-based map like official one, and photo
for sat and drone imagery).
did we need a value for derivative works like QA ?
@stoecker proposes map and photo.
The disuccion in this ticket went a bit further
@Klumbumbus you're right. I forget to check it again before posting. From josm ticket, i like map, osmbasedmap, photo, other For historicmap, is the date field not sufficient to define the historical character or not which can vary according to the use? EDIT: historic for josm ticket seems to mean not-the-lasted. maybe it's better to add a key for that or change historic into not-the-lasted to avoid confusion with the usual meaning of the word historical.
question remain for QA : is it a good idea to put them into osmbasedmap ? a layer which displays for example the error points found by Osmose, it is not really a map, but still osm-based. I hope that the discussions on the two projects will continue to be mutually enriching in order to have a common vision that will facilitate everyone's life.
so what ? what did you ting if :
category
was added just today to josm https://josm.openstreetmap.de/ticket/16103#comment:28 with the following supported values:
photo
aerial or satellite photo, map
a map, historicmap
historic or otherwise outdated map, osmbasedmap
map based on OSM data, historicphoto
historic or otherwise outdated aerial or satellite photo, other
any other type
yes but as I said on josm ticket, mixing category
and not-the-lasted
is not a good idea
and in addition to that, historic
is not a good value-prefix for "not the last update available"
it's why I propose another word but that still allow a eli<>josm (easy) match
the question remain for layer like osmose : it's osmbased but not a map. should it be category=osmbased ? other ? qa ?
category was added just today to josm https://josm.openstreetmap.de/ticket/16103#comment:28 with the following supported values: photo aerial or satellite photo, map a map, historicmap historic or otherwise outdated map, osmbasedmap map based on OSM data, historicphoto historic or otherwise outdated aerial or satellite photo, other any other type
@Marc-marc-marc this is a great start! I saw on that ticket that it looks like there is some confusion about what historic
means. Could this category
field just be used to store the type of imagery and instead use start
/end
dates to capture the "historic" or "not latest" quality?
yes you can of course use only start_date/end_date to find the lasted layer but it's hard to find witch layers cover the same feature or not. for ex :
not-the-lasted
when an old layer have the same feature, nearly the same shape than a new one@Marc-marc-marc I'm confused what you mean by "which layers cover the same feature".. The three bullet points all relate to comparing geometry, and this doesn't seem like a very challenging issue. In fact using the imagery index in the first place requires an application to do spatial queries around the place of interest to know which layers apply there.
My plan for dealing with this in iD is to just throw the whole index into which-polygon (which is itself based on an rbush index) and ask it which layers cover the area where the user is looking.
one of the possibilities of a not-the-lasted tag would be to be able to list all available layers while keeping only the last one for each place (for example for each country or region). if you just want to keep the last one for on lon&lat, in this case you don't need not-the-lasted
let's move forward without
and for category
value ? do we need to make a separate category for the different osm-based rendering layers (for ex osmbasedmap
) <> qa tools (for ex qa
?) or we put all into a osmbased
imho it's better to split render (an "display only" app can get those) and qa layer (usefull as overlay when editing the map)
I would suggest using the category values from JOSM plus a value for qa layers (regardless of source), could we get buy in from the JOSM devs @don-vip for a common value for that?
Replicating josm's values sounds good to me. I'm ok with having a 'qa' category if JOSM devs agree to have it too.
So as far as I can tell, we need to:
I'm ok with 'qa' :)
Recent discussions in JOSMs trac in https://josm.openstreetmap.de/ticket/18172
I'm cool with 'terrain' too if JOSM decides to have it.
FYI, JOSM has added elevation
and qa
in https://josm.openstreetmap.de/changeset/15658/josm
All right, now let's get #733 ready :)
So we now need to update the conversion scripts but also @rbuffat's strict check script.
@Klumbumbus will the JOSM ImageryCompare compare the categories?
@Klumbumbus will the JOSM ImageryCompare compare the categories?
This is now a long ticket, so to summarise what's left to be done:
This is now a long ticket, so to summarise what's left to be done:
* [ ] update ELI conversion scripts
Didn't I already do that (at least the PR was merged :-))? It doesn't make sense to update the legacy format one, because ... legacy format that doesn't include the category (and I suspect nobody actually uses it any more).
* [ ] update the strict check.py
~convert_individual.py and convert_xml.py would need to understand the 'category' attribute too.~
Edit: just the strict check.py then
A I mentioned in my last PR we currently don't have agreement on how to categorize IR/NIR/CIR imagery see also https://github.com/osmlab/editor-layer-index/issues/325 @don-vip @Klumbumbus how are you categorizing these?
What are "IR/NIR/CIR" layers?
Infrared and Near Infrared
As mentioned in https://github.com/osmlab/editor-layer-index/pull/324#issuecomment-300546509 all infrared aerial imagery in the index is currently false color images with a green-red-nir band combination, most infrared satellite imagery is a red-nir-swir combination.
Other possibilities for images based on infrared data could be monochrome NIR images or visualizations of computed values like NDVI.
The main use of storing such information in differentiated form would be to allow editors to show users specific instructions how to interpret the imagery.
@Klumbumbus how are you categorizing these?
As photo or historicphoto. If a photo is true or false color is not covered by the current category values.
Another good category would be DSM/DEM/DTM for (lidar-scannend) surface models. These are extremely helpful when mapping in forested areas.
"elevation' already includes those (l'm not sure why this issue hasn't long been closed).
per @nicolas17 #134