Opened 10 years ago

Closed 10 years ago

#2116 closed defect (fixed)

problems with diff import for multipolygons

Reported by: schuetzm@… Owned by: jburgess777@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: multipolygon, diff, mapnik Cc:


osm2pgsql doesn't seem to correctly handle diffs affecting multipolygons:

The building called "Angewandte Informatik" is a multipolygon, which has been moved one and a half weeks ago. Both the old and the new shape are rendered now, and the hole is filled too.

See also the attached screenshot.

Attachments (1)

ai.png (22.9 KB) - added by schuetzm@… 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by schuetzm@…

Attachment: ai.png added

comment:1 Changed 10 years ago by jburgess777@…

Owner: changed from steve8@… to jburgess777@…

comment:2 Changed 10 years ago by jburgess777@…

Status: newassigned

The data in the Mapnik rendering DB shows that it currently has two entries, the second one is causing the problem:

gis=> select osm_id,name,building,NumInteriorRings(way),astext(way) from planet_osm_polygon where osm_id in (8629,-8629,23482307,23482308);
  osm_id  |         name          | building | numinteriorrings |                                                                                                                  astext
    -8629 | Angewandte Informatik | yes      |                1 | POLYGON((1289716.68 6433574.35,1289787.21 6433574.35,1289787.26 6433483.45,1289716.89 6433483.42,1289716.68 6433574.35),(1289740.55 6433547.14,1289740.77 6433504.37,1289765.15 6433504.37,1289765.06 6433547.31,1289740.55 6433547.14))
 23482307 | Angewandte Informatik | yes      |                0 | POLYGON((1289711.93 6433568.51,1289781.82 6433568.53,1289781.85 6433482.45,1289711.95 6433482.43,1289711.93 6433568.51))

I'll try to recreate the sequence of diffs which occurred to see if I can trigger this to happen again.

comment:3 Changed 10 years ago by jburgess777@…

Resolution: fixed
Status: assignedclosed

The full import last week has fixed this. Is rendering OK now.

Note: See TracTickets for help on using tickets.