Re: Rendering TrueType labels.

Marek Bąk <[email protected]>
Newsgroups gmane.comp.gis.mapserver.user
Message-ID <[email protected]>
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:[email protected]] On Behalf Of Marek Bak
> Sent: Wednesday, February 27, 2019 10:01 AM
> To: [email protected]
> 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
> [email protected]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&amp;data=02%7C01%7Csteve.lime%40state.mn.us%7C72f1427468e142a36f7c08d69cce0cee%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636868806132112515&amp;sdata=7k2h8mhQApfceAbqTKs5eCf7XS8Ms3GbBj7Jc0wrX68%3D&amp;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


_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.