hatch fill may not be drawn in multipolygons
|Reported by:||pgiraud||Owned by:||tbonfort|
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.