[OSM-talk] Osmconvert problems

Frederik Ramm frederik at remote.org
Mon Dec 26 21:38:44 GMT 2011


john whelan <jwhelan0112 at gmail.com> wrote:
> I'm trying to cut out a bounds area out of ontario.osm. bz2 from
> http://downloads.cloudmade.com there doesn't seem to be a .pbf file
> available.

http://download.geofabrik.de/osm/north-america/canada/ontario.osm.pbf ?

> I've inflated it to ontario.osm which is over 4 gigs in size.  Osmconvert
> will strip out the author tags for me leaving a file of 2.46 gigs for what
> I'm doing I don't need the author tags.  Both files appear to be too large
> to load into JOSM.

They certainly are.

> osmconvert ont.osm -b=45.19,-75.70,45.23,-75.63 >ott.osm

It is confusing how different programs want their coordinates in different 
ways but *most* programs that simply take four values expect them in a 
counterclockwise fashion from the left - east, south, west, north.

That would make -75.70,45.19,-75.73,45.23 for your application.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49?00'09" E008?23'33"




More information about the talk mailing list