Hi, I suppose you want the output to be in some OSM format but GDAL OSM driver is read only so I fear it is not your tool. You may want to compare the speed of what ever solution you will finally use with GDAL. It reprojected yesterdays great_britain.osm.pbf (464 MB) into EPSG:27700 and saved the result into Spatialite database in 6 minutes and 3 seconds. I fooled a bit and saved several minutes by turning off the spatial index creation.
C:\GDAL_dev>time Nykyinen aika: 11:28:16,44 Anna uusi aika: C:\GDAL_dev>ogr2ogr -f SQLite -t_srs epsg:27700 -dsco spatialite=yes great_britain.sqlite great_britain.osm.pbf -gt 20000 -progress --config OGR_SQLITE_SYNCHRONOUS OFF --config OSM_COMPRESS_NODES YES -lco SPATIAL_INDEX=NO 0...10...20...30...40...50...60...70...80...90...100 - done. C:\GDAL_dev>time Nykyinen aika: 11:34:19,50 -Jukka Rahkonen- Nick Whitelegg wrote: > Hi, > > I'd like to reproject the whole of the England OSM file into BNG > (EPSG:27700). It appears there is an experimental GDAL driver for OSM, or > alternatively I could code a simple utility to do it using Osmium and > proj.4, but, to save time, is there a pre-existing tool to do this very > job? I can find a number of tools which go via intermediate steps e.g. > shapefiles but no specific tool to convert the OSM data directly. > > Thanks, > Nick > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev > _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

