While configuring osm2pgsql (OSM MAP) on ubuntu 9.10 all is done but when i am going to extract Planet in to database get some error. Executing command :
I GET ERROR AS :
Can anybody help to resolve this problem so that i can configure OSM successfully. I have 1 GB RAM on my system Thanks asked 21 Nov '11, 06:40 baban edited 23 Nov '11, 16:22 Harry Wood |
2 Answers:
To me this error suggests that your input XML file is damaged part way through, probably truncated. Check that you downloaded the full planet file. It should be about 18Gb. You could also run a command : answered 23 Nov '11, 16:46 Harry Wood |
Can you unzip the file and just try the same command with the .osm file ? I presume you've done that. If not, it's a formatting issue. Depending on the size of the file, open the file in a browser and check for formats. Hope this helps. answered 28 Nov '11, 11:32 deepGem |
Thanks Harry Sir,
I checked md5 it shows differences then, I download some other planet.osm.bz2 file with checking md5 and it works !!! now I am generate_tiles