[OpenLayers-Dev] osm2pgsql wont work with planet
David William Bitner
bitner at gyttja.org
Fri Jul 10 11:30:03 EDT 2009
Matthias,
What does this have to do with OpenLayers?
On Fri, Jul 10, 2009 at 9:33 AM, Matthias Sala <matthias at gbanga.com> wrote:
> Hello there
>
> Lately, I have set up a new tile server at Hetzner to mapnik-render the
> whole planet.
>
> I use:
> * postgres 8.3
> * Ubuntu 8.10 minimal
> * self-compiled osm2pgsql
>
> When using the osm2pgsql command to import the planet file, the following
> occurs:
>
> $ time ./osm2pgsql --slim -m -d gis planet-090708.osm.bz2
>
> StartElement: Unknown element name: changeset
> EndElement: Unknown element name: changeset
> .
> . // several screens full of this
> .
> StartElement: Unknown element name: changeset
> EndElement: Unknown element name: changeset
> Entity: line 4315: parser error : AttValue: ' expected
> "4312" created_at="2008-04-01T13:19:11Z" closed_at="2008-04-01T14:19:11Z"
> open="
>
> ^
> Entity: line 4315: parser error : attributes construct error
> "4312" created_at="2008-04-01T13:19:11Z" closed_at="2008-04-01T14:19:11Z"
> open="
>
> ^
> Entity: line 4315: parser error : Couldn't find end of Start Tag changeset
> "4312" created_at="2008-04-01T13:19:11Z" closed_at="2008-04-01T14:19:11Z"
> open="
>
> ^
> ../../planet-090708.osm.bz2 : failed to parse
> Error occurred, cleaning up
>
> Why is that?
>
> The planet file is md5sum checked, downloaded from
> http://planet.openstreetmap.org/planet-latest.osm.bz2
> I also switched off autovacuum.
> The whole process works completely fine with the switzerland.osm.bz2
>
> Is the 1 GB RAM on the server insufficient?
>
> Many thanks for your help!!
>
> Matthias
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
--
************************************
David William Bitner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20090710/2d25f181/attachment.html
More information about the Dev
mailing list