[osmosis-dev] bound/bounds element in OSM XML

Tobias Knerr osm at tobias-knerr.de
Wed Dec 14 17:22:25 GMT 2011


Brett Henderson wrote:
> I'm not sure of the exact history here, but I think bound existed before
> bounds.  bounds is a newer concept with different attributes that has
> never been implemented in Osmosis.  I'm not sure what would be involved
> in updating Osmosis to support it, but perhaps it's just a matter of
> updating the XML tasks to use the different element and attributes.

As far as I can tell, only changes to the XML reading and writing
functionality would be necessary. The Bound class already represents the
bounds as 4 separate values, so I expect that other parts of the code
using it could remain unchanged.

If patches are welcome, I think I'd be able to modify the code to use
the bounds element. Should support for reading the bound element remain
intact for compatibility with old files?

Tobias



More information about the osmosis-dev mailing list