[mapserver-users] symbolunits meters doesn't work

2011-10-17 Thread knasia
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] symbolunits meters doesn't work

2011-10-17 Thread thomas bonfort
make sure your map UNIT is correctly set (meters or dd depending on
the projection).

On Mon, Oct 17, 2011 at 08:56, knasia kna...@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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

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