[OSM-dev] Fetch child relations by naming parent with Osmosis
jochen at remote.org
Wed Jul 6 02:32:29 UTC 2016
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.
and http://docs.osmcode.org/osmium/master/osmium-getid.html .
Jochen Topf jochen at remote.org http://www.jochentopf.com/ +49-351-31778688
More information about the dev