Ticket #3383 (closed defect: duplicate)

Opened 23 months ago

Last modified 19 months ago

hatch fill may not be drawn in multipolygons

Reported by: pgiraud Owned by: tbonfort
Priority: normal Milestone:
Component: AGG Version: 5.6
Severity: normal Keywords:
Cc:

Description

I'm facing what seems to be a bug with the rendering engine.

In some case, rendering multipolygons using the HATCH type symbol shows an empty shape on the resulting image. It seems to happen when no simple geometry (polygon) in the multi-geometry (multipolygon) can be rendered completely, ie. when all simple geometries are cropped.

Attached, you'll find an archive with :

  • 2 shapefiles :
  • simple.shp only includes simple geometries,
  • multi.shp includes one multi geometries,
  • 1 mapfile with 2 layers, one for each shapefile,
  • 1 README.txt which contains urls to reproduce the bug.

In one case (simple), the rendered shapes have a green stroke and red hatches. In the other, the rendered shapes only have a green stroke.

This has been tested in Mapserver 5.2, 5.4, and 5.6 and there doesn't seem to be any problem in GD renderer.

Attachments

mapfiles.tar.gz Download (5.3 KB) - added by pgiraud 19 months ago.

Change History

Changed 19 months ago by tbonfort

Pierre,

could you attach the archive with the testcase to reproduce please?

Changed 19 months ago by pgiraud

Changed 19 months ago by tbonfort

  • status changed from new to closed
  • resolution set to duplicate

caused by #3119, closing as duplicate

Changed 19 months ago by tbonfort

FYI #3119 fixed in r10378, r10379, r10380 for 5.4, 5.6 and trunk

Note: See TracTickets for help on using tickets.