[OSM-talk] Planet Dump

Artem Pavlenko artem at mapnik.org
Fri Mar 9 11:05:23 GMT 2007


On macos - 2.0GHz Intel Core 2 Duo , 1GB ram  I get :

macbook:~/projects/planet.osm artem$ time ../osm2pgsql/osm2pgsql  
planet-070307-utf8.osm > planet-070307-utf8.sqlProcessing: Node(8420k)
Processing: Segment(8830k)
Processing: Way(439k)
Node stats: out(92707), total(8423077), max(26390114)
Segment stats: out(8325691), total(8831307), max(22376860)
Way stats: out(471541), total(439146), max(4335934)
Way stats: duplicate segments in ways 123

real    14m39.727s
user    12m57.351s
sys     0m18.169s

Cheers,
Artem


On 9 Mar 2007, at 10:40, Keith Sharp wrote:

> On Fri, 2007-03-09 at 09:27 +0000, Artem Pavlenko wrote:
>>>
>>> I was about to try setting up PostGIS + Planet + Mapnik on my home
>>> system, how much memory does osm2pgsql need?
>>
>> I run osm2pgsql on my laptop with 512Mb of RAM.  It takes around
>> 20-40 min to convert the whole planet.
>> Don't forget to pipe planet.osm  through UTF8Sanitize.
>
> What impact do error reports from UTF8Sanitize have on the output XML
> file?  With the latest planet.osm I am getting:
>
> $ cat planet-070307.osm | ./svn/utils/planet.osm/C/UTF8sanitize >
> planet.osm
> Error at line 72505269
> Error at line 72583739
> Summary:
> chars1: 3301140876
> chars2: 139176
> chars3: 1589
> chars4: 0cc -L/usr/lib -lxml2 -lz -lpthread -liconv -lm  -L/usr/ 
> local/lib -lgeos   osm2pgsql.o build_geometry.o   -o osm2pgsql
> chars5: 0
> chars6: 1
> lines : 73468080
>
> Is it safe to continue or do I need to investigate these errors  
> further?
>
> Keith.
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>





More information about the talk mailing list