Am 18.05.2010 15:18, schrieb Brett Henderson: > To summarise, if you can draw a graph of the data flows in Osmosis, ensure > that you never have data being split then recombined at a later point. > > In your case the only option is to split it into two steps using temporary > XML files as you already appear to be doing. > > It would be nice if Osmosis could detect this situation and throw an error, > but it would take a lot of effort and add a lot of complexity that I don't > really wish to attempt.
Ok, thanks for your reply. I think now I understand the situation better. While reading your answer I got an idea to solve the problem without writing to disk. I use a very big buffer now: osmosis-0.35.1/bin/osmosis --rx input.osm --t outPipe.1=points \ --wk keyList="addr:interpolation,addr:housenumber" --un --s --b 100000000 \ --nk inPipe.0=points keyList="addr:housenumber" --s --b 100000000 \ --m --wx addr.osm This works very well if you have enough RAM and set the bufferCapacity high enough. Another possibility would be a better tagfilter that allows me to filter POIs and ways at once. The task would be for example: "Give me all ways that match this way-filter and all nodes that match this node-filter or are part of the way that matches the way-filter" I don't know if this is difficult to implement but I think this would be usefull. Thanks Christoph
signature.asc
Description: OpenPGP digital signature
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
