[OSM-talk] Issues with OSM import to postgis

Zolt Egete xphreakster at gmail.com
Mon Jun 13 11:08:53 BST 2011


Thanks

Will give it a try and will let you know about the results I have got
thanks one more for the quick reply

On 6/13/2011 12:07 PM, M∡rtin Koppenhoefer wrote:
> 2011/6/13 Zolt Egete<xphreakster at gmail.com>:
>> Hello
>>
>> Thank you for the quick reply
>> I will give it a try without the -u option not to use the UTF-8 sanitize and
>> will let you know the results as soon as I have some
>>
>> As far as other map files are concerned I have downloaded a few ones but
>> this is the only one which I could unpack (have used pbzunzip2, bzip2,
>> bunzip2) but all the time I have got corrupt archive messages.
>> Also the MD5 sum of the downloaded file where not consistent with the md5
>> hash sum from the servers (I do not yet know the reason why)
>>
>> I have downloaded the other day the latest planet file which is almost 17GB
>> large and have started to unpack this morning with the following command
>>   pbunzip2 -d -k planet-latest.osm.bz2
>> pbzip2: *ERROR during decompression: -4
>>
>> and the error have shown after 200GB is unpacked, but I can still see the
>> process going on, despite for the error and now it is on 227 GB
>> Do you think this can impose a problem with the unpacked OSM file ?
>
> yes, the md5 check should pass OK, otherwise I suspect there is a
> problem with your download. I suggest you try first a smaller extract
> to test your setup, e.g. one of geofabrik. You also don't have to
> unpack the file, you can pipe it with bzcat to osm2pgsql. See the wiki
> for details. Another option is using pbf files (binary), see the wiki.
>
> cheers,
> Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20110613/72396aa1/attachment.html>


More information about the talk mailing list