Re: [mapserver-users] Label polygons outside [SEC=UNCLASSIFIED]

2017-12-13 Thread SerGP
Same problem. I can not add a label outside the polygon. Offset is not
suitable, because polygons have different sizes.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Label polygons outside [SEC=UNCLASSIFIED]

2016-11-11 Thread Stephen Woodbridge

On 11/11/2016 1:46 AM, Inna Nogeste wrote:

I need to position the polygon label outside the polygon.
Do I have to use OFFSET for this or is there another parameter I can use?

Is there a way to label polygons so that they don’t collide with an 
overlaying/underlaying point symbol which is positioned in the centre of the 
polygon?


Use POSITION AUTO on you LABEL definition might help, but you might have 
better luck if you only have two layers colliding by setting


POSITION UC
OFFSET 0 -10

on one layer an then:

POSITION LC
OFFSET 0 10

on the second layer. This will raise the first label and lower the 
second label.



label1
  +  <-- label point
label2


For labels outside the polygon or to avoid collision with other labels 
by using a leader line look at:

http://mapserver.org/mapfile/leader.html

-Steve W

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

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Label polygons outside [SEC=UNCLASSIFIED]

2016-11-10 Thread Inna Nogeste
I need to position the polygon label outside the polygon.
Do I have to use OFFSET for this or is there another parameter I can use?

Is there a way to label polygons so that they don’t collide with an 
overlaying/underlaying point symbol which is positioned in the centre of the 
polygon?

Regards,
Inna Nogeste | Spatial Information Specialist

Geospatial Data and Services
Information Systems and Services Division 
Bureau of Meteorology
www.bom.gov.au

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users