[osmosis-dev] Using Osmosis for non OSM data and in other projections - remove validation checks?

Jochen Topf jochen at remote.org
Sat Dec 8 11:57:56 GMT 2012


Hi!

There is a whole world of Open Source tools out there that deal with any kind
of GIS data in any projection which allows you to do all sorts of things. I
suggest you use those true and testes libaries and programs for all your
non-OSM needs. That seems like much less work than adding all this
functionality to Osmosis.

For a start look at OGR (www.gdal.org/ogr) and all the stuff you'll find from
http://www.osgeo.org/ .

Jochen

On Sat, Dec 08, 2012 at 11:29:39AM +0000, Nick Whitelegg wrote:
> Date: Sat, 8 Dec 2012 11:29:39 +0000
> From: Nick Whitelegg <Nick.Whitelegg at solent.ac.uk>
> To: osmosis-dev at openstreetmap.org
> Subject: [osmosis-dev] Using Osmosis for non OSM data and in other
>  projections - remove validation checks?
> 
> Hi,
> 
> As part of preparing data for a England-and-Wales wide Android walking app (opentrail) which uses the mapsforge library, I am making extensive use of Osmosis to select the OSM data I need and to merge OSM data with Ordnance Survey LandForm Panorama contours, converted to OSM format. Because OS data is supplied as British National Grid (BNG) tiles, I need to prepare BNG tiles of OSM data so I can easily combine the OSM data with the OS contours.
> 
> However, osmosis rejects coordinates outside of the range -180 to 180. I can get round this by using units of tens of thousands of metres rather than metres, but I still think that osmosis has a lot of potential uses with data in other projections. What would people's attitudes be to removing the restriction that lat/lon has to be between -180 and 180, due to the possibility that the data is in another projection?
> 
> Another validation that could be removed is the check on the timestamp and version. Again as part of the above process, I prepare OSM files of the OS LandForm Panorama data and have to give them a fake timestamp and version but it would be nice not to have to do this. Opinions on this?
> 
> Thanks,
> Nick

> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osmosis-dev


-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298



More information about the osmosis-dev mailing list