[mapserver-users] Pixmap problem
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Tue Feb 9 09:03:33 PST 2010
For point symbols I don't believe you can stop the cropping of the marker. To do so you'd need to probably switch to an annotation layer in which the markers are considered part of a label. Then you can set PARTIALS FALSE in the label object. The downside here is that the label processing will remove overlapping markers which may not be what you want. You can try setting LABELCACHE OFF (layer object) or even FORCE TRUE (label object) to get around that. Here's a sample layer definition (not tested):
LAYER
NAME 'markers'
DATA 'some point shapefile'
STATUS DEFAULT
TYPE ANNOTATION
CLASS
STYLE
SYMBOL 'marker.png'
END
LABEL
PARIALS FALSE
FORCE TRUE
END
TEXT ' ' # I think you have to draw some text for this to work
END
END
Something to try anyway...
Steve
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Eduardo de la Montaña
Sent: Tuesday, February 09, 2010 10:30 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Pixmap problem
Hi, I'm using pixmap (a PNG image) for my layer of points on Mapserver.
It works perfectly, but when the point is near of the edge of the tile, the symbol appeared cutted, only part of the symbol is visible. How can I solve this problem? Any suggestion is welcome,
Thanks in advance
More information about the MapServer-users
mailing list