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:

out body;

out body;

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!


asked 14 Jul, 11:40

coastwards's gravatar image

accept rate: 0%

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.

permanent link

answered 14 Jul, 12:15

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 17%


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, 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?

permanent link

answered 14 Jul, 12:39

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 15%

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, 19:00) coastwards
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Jul, 11:40

question was seen: 72 times

last updated: 14 Jul, 19:00

powered by OSQA