Is it possible to query overpass-turbo using some kind spatial filter? I would like to download "coastal" roads data, coastal currently being defined as within 0.20 km from the coast.

The end goal is to have this data globally. It's not feasible to do country-by-country using the Geofabrik Downloads since I would then have to bring into GIS and run some type of clip or select-by-location that would likely take forever or just crash my machine.

  • 1
    This is not feasible via overpass turbo. You need a country extract or even a full planet file and import the data in some GIS database. – mmd Feb 21 '19 at 15:41
  • Ok, that's what I thought but assuming I have a smaller area, is there a way to query overpass for highway features within a certain distance of coasts? I know coastline is a map feature: wiki.openstreetmap.org/wiki/Tag%3Anatural%3Dcoastline – mikeLdub Feb 21 '19 at 15:53

You can try the following query for smaller areas. As the around filter is still rather inefficient, you will probably see timeouts on larger areas. It is possible that your IP address may be temporarily blocked due to excessive use of resources.

out meta;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.