|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
osm2pgsql usage Hello,
First of all sorry if this is not the right place for those kind of issues. In this case please point me to where I should go. I was in the process of setting up Mapnik and as a start I was using an OSM file from around my area to test with "small" data. I get stuck with an error message in osm2pgsql: osm2pgsql SVN version 0.67-18179 Using projection SRS 900913 (Spherical Mercator) Setting up table: planet_osm_point Setting up table: planet_osm_line Setting up table: planet_osm_polygon Setting up table: planet_osm_roads Mid: Ram, scale=100 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. Any help would be appreciated. Thanks, N. _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: osm2pgsql usageOn Thu, Oct 15, 2009 at 9:54 PM, Nakor <nakor.wp@...> wrote:
> Hello, > > First of all sorry if this is not the right place for those kind of issues. > In this case please point me to where I should go. On the OSM lists you'll find people more knownledgable about osm2pgsql. But it seems like a problem with the data. The error literally means: a member of a relation is missing a role tag. Are you sure the data file is complete? Have a nice day, -- Martijn van Oosterhout <kleptog@...> http://svana.org/kleptog/ _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: osm2pgsql usageOn 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 Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
| Free embeddable forum powered by Nabble | Forum Help |