[OSM-talk] Bus Routes
Maarten Deen
mdeen at xs4all.nl
Thu Oct 8 15:28:35 UTC 2015
On 2015-10-08 10:47, Martin Koppenhoefer wrote:
> 2015-10-08 10:26 GMT+02:00 Maarten Deen <mdeen at xs4all.nl>:
>
>> Making a relation for each concession greatly improves
>> maintainability. You only have to load one relation in JOSM to get
>> all lines and work from there.
>> I would be really cross if someone decides to delete those relations
>> :P
>
> there's a relation like this in here as well, but technically it is
> not strictly necessary. You could have the same effect with overpass
> api querying for network tags (in combination with the type of object
> you'd want to get, e.g. routes or bus stops), possibly limiting the
> query to the approx. area of interest.
I've tried, but the overpass API gives me incomplete data.
I have this query:
<query type="relation">
<has-kv k="network" v="Zeeland"/>
</query>
<recurse type="relation-relation"/>
<print mode="meta"/>
It only downloads relations of type=route. All master relations
(type=route_master, example relation 2127651) are ignored.
Regards,
Maarten
More information about the talk
mailing list