On Di, Jul 05, 2016 at 11:26:50 +0000, Humphries, Grant wrote:
> I have an OSM extract from which I am trying to use Osmosis to import into 
> PostGIS only railways that are a part of a transit network that is defined by 
> relations.  There is a super relation for this network and all of the ways 
> that I need are members of that relation's child or grandchild relations.  Is 
> there a way with Osmosis that I can name just the parent relation and get all 
> of the child members as well?  In this case there are many children so it 
> would be much more efficient if I could do this.

Not sure about osmosis, but "osmium getid -r ..." does this.
See http://osmcode.org/osmium/
and http://docs.osmcode.org/osmium/master/osmium-getid.html .

Jochen
-- 
Jochen Topf  [email protected]  http://www.jochentopf.com/  +49-351-31778688

_______________________________________________
dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev

Reply via email to