On Wed, 6 Jul 2016 at 12:34 Jochen Topf <[email protected]> wrote: > 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 . >
Nice! I don't think Osmosis can do this. It does have some recursive inclusion logic in the bounding-xxx tasks (completeWays and completeRelations options), but that can't be triggered by requesting a single relation by id. And those options are very slow because they use temporary storage.
_______________________________________________ dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/dev

