[mapserver-users] Rendering TrueType labels.
Marek Bąk
rainy3 at poczta.onet.pl
Thu Feb 28 08:26:24 PST 2019
W dniu 2019-02-27 o 21:14, Lime, Steve D (MNIT) pisze:
> Can you post some visuals (and/or layer snippets) that demonstrate each case? That would help... It's not clear if this a result of layer compositing or strictly related to label matching/caching.
>
> -----Original Message-----
> From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Marek Bak
> Sent: Wednesday, February 27, 2019 10:01 AM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] Rendering TrueType labels.
>
> Hello All,
>
> Can anyone explain how the rendering engine works? For example I have
> four layers:
>
> case1. Polygon
>
> case2. Point which is presented as symbol (circle) with truetype label
>
> case3. Polygon which is more detailed version of layers case1
>
> case4. Point which is presented as symbol (circle) with truetype label
> which is more detailed version of layers case2
>
> The problem is that composition (shadownig) during rendering (default
> src-over compop) works only for Polygon and Symbol. The label is
> preserved and final tile has one Symbol but with two labels. Is there
> any way to disable that behaviour?
>
>
> Regards,
>
> Marek
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C72f1427468e142a36f7c08d69cce0cee%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636868806132112515&sdata=7k2h8mhQApfceAbqTKs5eCf7XS8Ms3GbBj7Jc0wrX68%3D&reserved=0
Hello All,
The parametr I've missed was:
LAYER
LABELCACHE off
Default value is 'on' and that causes the labels are always rendered
once at the very end of rendering process. With label cache disabled
everything looks perfect.
Regards,
Marek
More information about the MapServer-users
mailing list