[OSM-talk] Osmosis error with multiple bouding boxes

Brett Henderson brett at bretth.com
Thu Oct 25 13:50:00 BST 2007


osmosis version 0.21 is now available with -tee and -tee-change tasks.  
Usage is documented on the wiki.
http://wiki.openstreetmap.org/index.php/Osmosis

Brett Henderson wrote:
> Lambertus wrote:
>> Thanks for answering so quickly. I have had some advice on the IRC 
>> from TomH and Bobkare and others to use the tee utility with an 
>> adapted version of the planetosm-excerpt-area.pl script (that can 
>> handle stdin data). So far that seems to work alright (haven't seen 
>> the actual results yet though) but it looks promising. However, let 
>> that not stop you from implementing the tee functionality in Osmosis, 
>> because that would e.g. allow Windows users to have the same 
>> functionality. I might also change back to Osmosis when tee-ing is 
>> possible.
>>   
> No worries, I think I'll get it working soon but I had to add support 
> for tasks with multiple outputs.  Not a big deal but required some 
> additional plumbing.
>
> I'm actually a bit confused over how using the tee utility with 
> planetosm-excerpt-area.pl helps you.  Are you piping the output of a 
> big box into the smaller boxes to reduce parsing overhead?
>
> As an aside, osmosis can also read/write from/to stdin/stdout if 
> necessary by using the /dev/stdin and /dev/stdout "files".
>> If you implement the tee functionality please allow for an 
>> 'unlimited' number of consumers as in my current setup I need already 
>> 150+ and that number can easilly grow :)
>>   
> Okay, shouldn't be too difficult.
>
> Cheers,
> Brett
>
>





More information about the talk mailing list