[OSM-dev] Output relations from Overpass API geo analysis

François Lacombe fl.infosreseaux at gmail.com
Mon Aug 31 14:36:11 UTC 2015


Hi all,

I'm looking for tips to setup an Overpass API request to get some
virtual "relations" grouping content inside enclosing OSM ways.

Currently, OSM prevent us to create implicit relations in DB when
content is enclosed inside a closed way (barrier=fence all around
parking lots for instance).
A geo DB like postgis may enable us to group such features inside to
enclosing way without needing any relation.


But I don't use such tools and it may be really interesting for me to
get this analysis done during the OAPI request computation, if (and
only if) the server load can accept it.

Is there a simple technique to ask for such thing in OAPI language ?

Example : 2 nodes inside 1 way (total : 6 nodes).
Output : A relation without any OSM id with 3 members : the way
(role=enclosing) and 2 nodes (role=inside).

All the best, thank you for any advice.


François Lacombe

fl dot infosreseaux At gmail dot com
www.infos-reseaux.com
@InfosReseaux



More information about the dev mailing list