[OSM-dev] planet_osm2txt with planet-060818?

Gabriel Ebner ge at gabrielebner.at
Mon Aug 21 19:45:38 BST 2006


On Mon, Aug 21, 2006 at 04:47:37PM +0100, Nick Whitelegg wrote:
> Sorry - don't think the memory requirements would actually be that high, as 
> only those nodes from the bounding box really need to be read in, then their 
> *existence* could be checked when it comes to segment filtering. 

And you need to remember the segments in order to filter the ways.

I've attached a small hacky perl script to do that, we've already got 305M for
Europe, but that might be due to the timestamps.

  perl subset.pl -30 -90 180 90 planet-060818.osm >planet-060818-east.osm

  Gabriel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subset.pl
Type: application/x-perl
Size: 1607 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20060821/d07dc7ad/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20060821/d07dc7ad/attachment.pgp>


More information about the dev mailing list