[mapserver-users] Polygon hatch mismatch at tile borders.
Ausderau Larissa LT
Larissa.Ausderau at swisstopo.ch
Fri Oct 29 04:37:51 PDT 2010
Thanks for the help guys!
I've open a bug with that problem: http://trac.osgeo.org/mapserver/ticket/3592
------------------------------
Subject:
Polygon hatch mismatch at tiles borders
Content:
MapServer 5.4.2
The hatches of hatch filled polygons are not matching at tile borders.
Example: hatch_mismatch.jpg
It looks that the problem was already known, , it's already mentioned in MapServer RFC Documentation
http://mapserver.org/development/rfc/ms-rfc-45.html:
---
Polygon fill symbols
Give hatches and vector fills a stable geographical coordinate origin (0,0) to better support tiling and continuous rendering of neighboring polygons
---
---CODE---
Mapfile:
LAYER
...
CONNECTIONTYPE POSTGIS
NAME "eau_vie_poire"
STATUS OFF
TEMPLATE "ttt"
TYPE POLYGON
CLASS
NAME "Eau-de-vie de poire du Valais (AOC)"
EXPRESSION ([eig_code] = 2)
STYLE
ANGLE 360
COLOR 0 0 255
OUTLINECOLOR 0 0 255
SIZE 10
SYMBOL "downwarddiagonalfill"
WIDTH 1
END
END
END
Symbol file:
SYMBOL
NAME "downwarddiagonalfill"
TYPE vector
TRANSPARENT 0
POINTS
0 3
3 0
END
END
---CODE---
------------------------------
Cheers,
Larissa
More information about the MapServer-users
mailing list