[mapserver-users] Square Edges Using labelpoly

Zach Chehayeb zach.chehayeb at airborne.aero
Wed Oct 22 11:38:25 PDT 2014


Håvard,

Thanks for your help. Unfortunately, the polygon did not change when specifying "LINEJOIN miter" (see below) and still has curved edges. Any other ideas?
        STYLE
          ANGLE 0
          COLOR 149 149 149
          GEOMTRANSFORM "labelpoly"
          OFFSET 0 0
          OUTLINECOLOR 149 149 149
          WIDTH 22
          LINEJOIN miter
        END # STYLE

Regards,

Zach 



-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Håvard Tveite
Sent: Wednesday, October 22, 2014 12:17 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Square Edges Using labelpoly

LINEJOIN miter
in the STYLE element should work also for labelpoly see http://mapserver.org/mapfile/style.html

LABEL
   STYLE
     GEOMTRANSFORM labelpoly
     OUTLINECOLOR 255 0 0
     WIDTH 4
     LINEJOIN miter
   END # Style
...
END # Label

Håvard

On 2014-10-21 23:37, Zach Chehayeb wrote:
> Hi All,
>
> Does anyone know if it possible to create a labelpoly (as in GEOTRANSFORM labelpoly) with straight edges instead of curved edges?
>
> Regards,
>
> Zach
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>

--
Håvard Tveite
Department of Mathematical Sciences and Technology, NMBU Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.nmbu.no/imt/ _______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list