You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was able to reproduce, this is probably due to the GD coordinate transformer that is allowed to create degenerate polygons (i.e. a polygon with a single vertice is considered to be a single pixel) which don't play nicely with the clipper used to clip hatch lines.
The HATCH fill pattern extends beyond polygon boundaries in seemingly random directions. Depending on zoom and window size the "extra" hatching will appear in different areas. The problem occurs with 8 bit PC256 output but not RGB output formats, e.g. GIF but not PNG using default 6.03 outputformat options. The issue does not occur in MapServer 5.6. An example map file and shapefile are here:
http://www.greenwoodmap.com/hatch_bug.zip
Using the above files the following URL will illustrate the issue:
http://localhost/cgi-bin/mapserv?map=/temp/hatch_bug/hatch_bug.map&map_imagetype=gif&mode=map&mapext=1435458+1718624+1511913+1757913&map_size=792+407
And switching map_imagetype above to png will eliminate the problem.
Thanks,
Rich
The text was updated successfully, but these errors were encountered: