On Thu, 2009-10-15 at 15:54 -0400, Nakor wrote:
>
> Reading in file: ../maps/Detroit_091010.osm
> Processing: Node(434k) Way(50k) Relation(0k)osm2pgsql:
> osm2pgsql.c:262: StartElement: Assertion `xrole' failed.
>
> I searched the web a bit but did not find much, except from some
> memories issues. I monitored the memory during the process and had at
> least 1Gb free, so I guess this is not the issue.
That assertion will trigger if you have a relation member without a
role= attribute. Normally all members in a relation have this even if
the string is empty.
There has been a suggestion that Xapi might return results without a
specified role[1]. I'll take a look at updating the osm2pgsql code to
cope with this.
Alternatively you might try downloading a data extract from somewhere
else like the CloudMade or Geofrabrik servers[2].
Jon
1: http://lists.openstreetmap.org/pipermail/dev/2009-May/015710.html
2: http://wiki.openstreetmap.org/wiki/Planet.osm#Extracts
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users