TransWikia.com

Querying coastal roads using overpass-turbo

Geographic Information Systems Asked on September 3, 2021

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.

One Answer

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.

[bbox:{{bbox}}];
way[natural=coastline];
way(around:200)[highway];
(._;>;);
out meta;

Answered by mmd on September 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP