Hello everyone,

I'm wondering if it is possible to retrieve relations with osmosis in the same way as it can be done through the XAPI. When I query data through the XAPI, based on relations (for example: http://xapi.openstreetmap.org/api/0.6/relation[bbox=6.50,52.62,7.00,52.84]), I get a list of all the relations that match the criteria, but also the ways and nodes that these relations reference.

When I try to do the same with osmosis (using --tag-filter accept-relations), I only get the relations, but not the referenced ways/nodes. I could add a --tag-filter accept-ways (and nodes), but that would include all the ways/nodes, not just the ones that the relations reference, making the resulting dataset too large.

Is there a way to accomplish this, or am I going about this the wrong way?

Thanks in advance,
Rudi

--
----------------------------------------------------------------------
Rudi Alberda                                                  Knowlogy
[email protected]           Helperpark 290 C, 9723 ZA Groningen
Tel. +31 6 44168743                                    www.knowlogy.nl
----------------------------------------------------------------------


_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to