Opened 9 years ago

Closed 5 years ago

#3143 closed defect (worksforme)

[water] group of lakes (within a relation) mislabeled, all with the same name

Reported by: fredb Owned by: jburgess777@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc: sly, fredb219

Description

When looking in OSM for lakes of « 7 laux » (group of lakes in French Alps), I see all the lakes labeled with the same name ("Lac de la Motte") : http://www.openstreetmap.org/?lat=45.2415&lon=6.0863&zoom=14&layers=B000FTF Whereas when looking at the OSM data in JOSM, each lake is correctly labeled with its different name.

Change History (5)

comment:1 Changed 9 years ago by Ldp

Owner: changed from mapnik-team@… to jburgess777@…

This is most likely caused because each multipolygon member has their own name, and the relation itself also has a name. Somewhere during the import of the data, one of the members' names is selected and applied to them all.

comment:2 Changed 9 years ago by sly

Cc: sly added

In case this might be usefull to track the problem, the osm2pgsql version I downloaded from the 6 April 2010 did not have this issue.

Every lake was inserted in the polygon table with it's own name, and then the multipolygon of the relation was also inserted.

The new osm2pgsql I'm using now (downloaded the 17 july 2010) does only insert one polygon with osm_id of the relation.

The name appears to be the one of the last member lake having a name in the relation.

In case someone wants to test : 331364 = id of the relation

comment:3 Changed 7 years ago by fredb219

Cc: fredb219 added

comment:4 Changed 5 years ago by math1985

Summary: group of lakes (within a relation) mislabeled, all with the same name[water] group of lakes (within a relation) mislabeled, all with the same name

comment:5 Changed 5 years ago by math1985

Resolution: worksforme
Status: newclosed

Seems to be solved now.

Note: See TracTickets for help on using tickets.