Thanks Sarah! I'm stll stuck with the observation that roundabouts mapped as one single closed way (like http://www.openstreetmap.org/way/24932843 ) are imported as polygons into planet_osm_polygon by osm2pgsql whatever style file I use...
-S. 2015-02-18 0:15 GMT+01:00 Sarah Hoffmann <[email protected]>: > On Tue, Feb 17, 2015 at 12:07:21AM +0100, Stefan Keller wrote: >> Now I found a pattern: osm2pgsql imports junction=roundabouts >> incorrectly into table planet_osm_polygon (instead of planet_osm_line) >> if they are mapped as one single closed way (like >> http://www.openstreetmap.org/way/24932843)! > > Works fine with the default style for me. If you are using a modified > version make sure that 'junction' and 'highway' are set to 'linear', > not 'polygon'. osm2pgsql will put closed ways into the polygon table > as soon as any of its tags is marked as polygon in the style file. > > Sarah > > >> >> -S. >> >> 2015-02-16 2:20 GMT+01:00 Stefan Keller <[email protected]>: >> >> I observed, that many junctions (mapped as closed ways, see e.g. [1]) >> >> but not all are imported as polygons (into table planet_osm_polygon) >> >> by osm2pgsql. I'd prefer to keep them as ways/roads. >> > >> > I meant roundabouts (junction=roundabout). >> > >> > -S. >> > >> > 2015-02-15 13:28 GMT+01:00 Stefan Keller <[email protected]>: >> >> Hi, >> >> >> >> I observed, that many junctions (mapped as closed ways, see e.g. [1]) >> >> but not all are imported as polygons (into table planet_osm_polygon) >> >> by osm2pgsql. I'd prefer to keep them as ways/roads. >> >> >> >> Any ideas? >> >> >> >> -S. >> >> >> >> [1] http://www.openstreetmap.org/way/24932843 >> >> _______________________________________________ >> dev mailing list >> [email protected] >> https://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/dev

