[gdal-dev] OSM Driver and World Planet file (pbf format)

Even Rouault even.rouault at mines-paris.org
Mon Jul 23 04:05:02 PDT 2012

Le lundi 23 juillet 2012 12:56:12, Smith, Michael ERDC-RDE-CRREL-NH a écrit :
> I'm finding that the new OSM Driver (I tested again with r24699) has a
> problem when working with the whole planet file. When I tried with the US
> Northeast subset, I got multipolygons and multilinestring entries. When
> reading the whole planet file, I did not. It gets to 70% and then ends
> (but without an error message). I also got fewer polygons than I was
> expecting. It seems like the reading got interrupted by some non reported
> error.
> I was writing to Oracle for this importing but got the same results writing
> to sqlite. It seems that smaller extracts work fine but the are some
> reading issues with the whole planet file (in pbf format). I can try with
> the .osm format.

I didn't try yet with whole planet files. Takes too much time :-)

Which command line did you use exactly ?

Did it stop cleanly or with a segfault ? In the latter case, (assuming you are 
on Linux), running under gdb might be useful.

What is your OS, 32/64 bit ? Perhaps, you could add --debug on. I'd suggest 
redirecting standard error file to a file because the log file can be huge.

More information about the gdal-dev mailing list