You are not logged in.

#1 2021-04-15 12:13:46

forteller
Member
Registered: 2018-11-16
Posts: 67

Overpass – combine nodes if they are within X meters?

Hey. Please let me know if there's somewhere else I should go for asking questions about Overpass.

I would like to find all nodes of a specific type within a bounding box, but with one twist from normal: If some nodes are very close to each other (say for example within 30 meters) they should be combined into one. The rest of the nodes should show as normal.

Is this possible? Thanks!

Offline

#2 2021-04-24 20:46:12

marczoutendijk
Member
From: Vught
Registered: 2012-03-04
Posts: 2,307
Website

Re: Overpass – combine nodes if they are within X meters?


--
There is only one place where you can connect a high voltage line to a river: on osm! (but not in JOSM cool )

Offline

#3 2021-04-24 20:54:27

marczoutendijk
Member
From: Vught
Registered: 2012-03-04
Posts: 2,307
Website

Re: Overpass – combine nodes if they are within X meters?

forteller wrote:

Hey. Please let me know if there's somewhere else I should go for asking questions about Overpass.

I would like to find all nodes of a specific type within a bounding box, but with one twist from normal: If some nodes are very close to each other (say for example within 30 meters) they should be combined into one. The rest of the nodes should show as normal.

Is this possible? Thanks!

I'm not sure if that is possible. You can definitely find something within a given distance of something else:

https://wiki.openstreetmap.org/wiki/Ove … 8around.29
https://www.openstreetmap.org/user/mmd/diary/42055

Maybe that helps!


--
There is only one place where you can connect a high voltage line to a river: on osm! (but not in JOSM cool )

Offline

Board footer

Powered by FluxBB