Re: LABEL_NO_CLIP

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: LABEL_NO_CLIP

T_Junky

Good morning!!

 

Mapserver is drawing some pretty big polygons for me and a lot of the time the label, because I have LABEL_NO_CLIP=true, is drawn in the center of the

Polygon and falls off the map until I zoom out or pan over.

 

If I set LABEL_NO_CLIP to false then the label shows in each tile which I don’t want…I really just want the label to show up at the center of the visible area and move to the center of the

polygon as I pan or zoom out.

 

Is there a way to accomplish this with MapServer?


******************* PLEASE NOTE *******************
This message, along with any attachments, is for the designated recipient(s) only and may contain privileged, proprietary, or otherwise confidential information. If this message has reached you in error, kindly destroy it without review and notify the sender immediately. Any other use of such misdirected e-mail by you is prohibited. Where allowed by local law, electronic communications with Zurich and its affiliates, including e-mail and instant messaging (including content), may be scanned for the purposes of information security and assessment of internal compliance with company policy.
_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: LABEL_NO_CLIP

Stephen Woodbridge-4
If you are using mapcache then the label should get drawn once per
metatile. So in a scene you might have the label more than once but not
in every tile.

When you are rendering tiles mapserver has no knowledge of what was
drawn in other requests or even if there were other request. so what you
are asking for is not possible. The best you can hope for is a strategy
like the LABEL_NO_CLIP=true or using something like mapcache and
metatiles. The other option is to draw the whole image as a single tile
rather than tiling the image.

-Steve W

On 7/3/2018 7:46 AM, Robert Vogt wrote:

>
> Good morning!!
>
> Mapserver is drawing some pretty big polygons for me and a lot of the
> time the label, because I have LABEL_NO_CLIP=true, is drawn in the
> center of the
>
> Polygon and falls off the map until I zoom out or pan over.
>
> If I set LABEL_NO_CLIP to false then the label shows in each tile
> which I don’t want…I really just want the label to show up at the
> center of the visible area and move to the center of the
>
> polygon as I pan or zoom out.
>
> Is there a way to accomplish this with MapServer?
>
>
> ******************* PLEASE NOTE *******************
> This message, along with any attachments, is for the designated
> recipient(s) only and may contain privileged, proprietary, or
> otherwise confidential information. If this message has reached you in
> error, kindly destroy it without review and notify the sender
> immediately. Any other use of such misdirected e-mail by you is
> prohibited. Where allowed by local law, electronic communications with
> Zurich and its affiliates, including e-mail and instant messaging
> (including content), may be scanned for the purposes of information
> security and assessment of internal compliance with company policy.
>
>
> _______________________________________________
> mapserver-users mailing list
> [hidden email]
> https://lists.osgeo.org/mailman/listinfo/mapserver-users



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users