[mapserver-users] symbolunits meters doesn't work

thomas bonfort thomas.bonfort at gmail.com
Mon Oct 17 04:24:33 EDT 2011


make sure your map UNIT is correctly set (meters or dd depending on
the projection).

On Mon, Oct 17, 2011 at 08:56, knasia <knasia at poczta.fm> wrote:
> Hi,
> I am trying to put symbols on the map giving their size in meters, but I
> didn't manage. Here is my code.
>
> LAYER
>        NAME queue
>                PROJECTION "init=epsg:4326"
>                END
>
>                CONNECTIONTYPE postgis
>                CONNECTION 'user=  password=  dbname=  host=  port='
>                TRANSPARENCY 95
>                STATUS ON
>                DATA 'coor FROM nodes using unique id using srid=4326'
>                TYPE POINT
>                SIZEUNITS meters
>
>                #I have also tried:
>                #UNITS meters
>                #SYMBOLSCALE 35000
>
>                CLASS
>                        STYLE
>                        COLOR 102 102 102
>                        SYMBOL "cross"
>                        SIZE 10
>                        #WIDTH 2
>                        END
>                END
>        END
>
> Could somebody please help?
>
> KN
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/symbolunits-meters-doesn-t-work-tp6899443p6899443.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> 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