[OSM-dev] osm2pgsql: junctions (closed ways) imported as polygon?

Stefan Keller sfkeller at gmail.com
Mon Feb 16 23:07:21 UTC 2015


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)!

-S.

2015-02-16 2:20 GMT+01:00 Stefan Keller <sfkeller at gmail.com>:
>> 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 <sfkeller at gmail.com>:
>> 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



More information about the dev mailing list