Re: [OSM-dev] 'holes' in buildings

2008-11-26 Thread Brian Quinion
 I'm running my own mapnik server and have noticed a strange problem
 with the rendering.  I don't seem to be getting the holes in buildings
 You need to use osm2pgsql slim mode (-s), apparently relation parsing
 is broken in the in-memory mode, since it can't decide which ways are
 valuable enough to keep before parsing the relation. (Or something
 similar)

Running the current SVN version of osm2pgsql in slim mode does fixed
the problem.  Many thanks!

--
 Brian

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 'holes' in buildings

2008-11-24 Thread Dave Stubbs
2008/11/21 Thomas Wood [EMAIL PROTECTED]:
 2008/11/21 Brian Quinion [EMAIL PROTECTED]:
 Hi,

 I'm running my own mapnik server and have noticed a strange problem
 with the rendering.  I don't seem to be getting the holes in buildings
 (i.e. 
 http://www.openstreetmap.org/?lat=52.212704lon=0.102523zoom=18layers=B000FTF
 ) instead I get 2 seperate polygons, both filled.  This is using the
 standard OSM style sheet so I'm assuming I must be missing something
 to do with relations when doing the osm2pgsql conversion.

 At the moment I'm simply running:

 ./osm2pgsql -d osm uk-081119.osm.bz2

 The OSM file from here:
 http://nick.dev.openstreetmap.org/downloads/planet/ although I've also
 tried the uk cloudmade file with the same results.

 Any suggestions?
 --
  Brian

 You need to use osm2pgsql slim mode (-s), apparently relation parsing
 is broken in the in-memory mode, since it can't decide which ways are
 valuable enough to keep before parsing the relation. (Or something
 similar)


Or just the wrong osm2pgsql version... the cycle map doesn't use slim
mode, and yet has polygons with holes OK for the area given.
But then the cycle map's osm2pgsql is frozen on svn r7719, and has
other problems all of it's own.

Latest version and slim mode would be the best bet I'm guessing.

Dave

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 'holes' in buildings

2008-11-21 Thread Thomas Wood
2008/11/21 Brian Quinion [EMAIL PROTECTED]:
 Hi,

 I'm running my own mapnik server and have noticed a strange problem
 with the rendering.  I don't seem to be getting the holes in buildings
 (i.e. 
 http://www.openstreetmap.org/?lat=52.212704lon=0.102523zoom=18layers=B000FTF
 ) instead I get 2 seperate polygons, both filled.  This is using the
 standard OSM style sheet so I'm assuming I must be missing something
 to do with relations when doing the osm2pgsql conversion.

 At the moment I'm simply running:

 ./osm2pgsql -d osm uk-081119.osm.bz2

 The OSM file from here:
 http://nick.dev.openstreetmap.org/downloads/planet/ although I've also
 tried the uk cloudmade file with the same results.

 Any suggestions?
 --
  Brian

You need to use osm2pgsql slim mode (-s), apparently relation parsing
is broken in the in-memory mode, since it can't decide which ways are
valuable enough to keep before parsing the relation. (Or something
similar)

-- 
Regards,
Thomas Wood
(Edgemaster)

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev