Hi! We have developed a Citizen Science platform where people can upload pictures of coasts to a world map to help Science study the risks of sea-level rise (www.coastwards.org). The images are placed automatically with help of the embedded GPS data - if available. If not, we ask the participant to place the image for us. And here lies the problem: Small islands and islets are very hard to find on the map because the name labels appear too late for people to orient themselves in the vast blue oceans. We use Mapbox to style and display the world map on the website. Their support pointed us to Overpass Turbo saying we could query the OSM database to create a new layer of island and islet names to appear at an earlier zoom level. However, I am having trouble building the query as I am new to OSM QL. This is what I have so far:
As you can imagine, this query is rejected by the server depending on the bounding box I use which makes me doubt if there is a way to query this kind of information for the entire world at all. Also, since this layer already exists in the OSM base map, isn't there a faster way to get hold of it? I hope someone can point me in the right direction as to how to solve this problem. Any comment or indication will be very much appreciated. Thank you so much! Maureen asked 14 Jul '17, 11:40 coastwards |
Do you really need to retrieve this information via the overpass-api? As the data should be fairly static a one time (or seldom updated) extract from a planet dump or asking somebody to give you the results of querying their database would seem to be good enough. See for example http://wiki.openstreetmap.org/wiki/Osmfilter and http://wiki.openstreetmap.org/wiki/Osmfilter for the planet dumps. Naturally there are many ways to skin a cat and this is just one of them. answered 14 Jul '17, 12:15 SimonPoole ♦ 1
No I don't, you're absolutely right, I only need to query this information once. (I'm still lost in the OSM world and discovering what's possible) I will investigate osmfilter. Thanks for pointing me in the right direction!
(14 Jul '17, 12:29)
coastwards
|
If you "use Mapbox to style and display the world map on the website" couldn't you just display island names a bit sooner? answered 14 Jul '17, 12:39 SomeoneElse ♦ I also thought that was possible but support told me "the zoom level range is automatically chosen based on your data's features and isn't customizable. We do this with your custom tilesets as well as our Mapbox Streets tilesets in order minimize the amount of data included and ensure these layers are is as fast as possible."
(14 Jul '17, 19:00)
coastwards
|