Hi - I'm trying to use osm2pgsql to extract a subset area of OSM, but the --bbox option does not appear to be working.  I downloaded planet-090617.osm.bz2 and then issued the following command:<br><br><pre>osm2pgsql --bbox -0.5,51.25,0.5,51.75 -m -d gis planet-090617.osm.bz2<br>
<br>At first it appears to be working producing the following output:<br><br>planet-090617.osm.bz2<br>osm2pgsql SVN version 0.66-16084<br><br>Using projection SRS 900913 (Spherical Mercator)<br>Applying Bounding box: -0.500000,51.250000 to 0.500000,51.750000<br>
Setting up table: planet_osm_point<br>Setting up table: planet_osm_line<br>Setting up table: planet_osm_polygon<br>Setting up table: planet_osm_roads<br>Mid: Ram, scale=100<br><br>Reading in file: planet-090617.osm.bz2<br>
Processing: Node(1400k) Way(0k) Relation(0k)<br><br>But it runs for hours and uses up all of my RAM.  I eventually have to kill it. <br>How long should it take to subset a small area such as this?<br><br>Thanks<br>Jim<br>
</pre>