[OSM-dev] Osmosis Replication Statistics

Brett Henderson brett at bretth.com
Wed Aug 29 01:20:43 BST 2007


Tom Hughes wrote:
> Yep - they originally gave me a complex polygon. I'm now using a set
> of six rectangles that approximate the border instead.
>
> Assuming a vaguely sane border the algorithm is OK I think. I'm sure
> it's in my copy of Foley, Feiner, van Damn and Hughes somewhere...
>   
I'll hit the library (ie. google) ;-)

My current bounding box task modifies ways that extend past the box to 
only include nodes and segments that are fully contained within the 
box.  It's probably not ideal but the simplest approach in a streaming 
filter.  For what you're looking for that should be okay.
>>>   - A task to report the which users were involved in creating/editing
>>>     a given set of objects
>>>       
>> I don't currently handle a user name field but it shouldn't be difficult
>> to add.  Is this available from planet files?
>>     
>
> Planet could have the display name where people have made their edits
> public, but currently doesn't. If you're reading the database then
> obviously you can get it (or the numeric user id).
>
> Tom
>   
Okay.  I'll try to get the user name and add it to the various tasks 
already existing.  I'll make sure I check the public edit flag before 
reading it from the database.  Hopefully this doesn't slow down queries 
too much more :-)






More information about the dev mailing list