[mapserver-users] Symbols.

Martin, Daniel DMartin at erac.com
Thu Oct 24 14:31:35 EDT 2002


Size is defined in the class using the symbol.  Although there are multiple
ways to do this, the basic way is:

CLASS
    NAME "City"
    EXPRESSION /A1[1-4]/
    COLOR 255 255 0
    SYMBOL 'star'
    SIZE 5
END

-Dan

> -----Original Message-----
> From: Armando Scalise [mailto:AScalise at geovue.com]
> Sent: Thursday, October 24, 2002 9:43 AM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [mapserver-users] Symbols.
> 
> 
> 
> Hi.
> 
> How shpould symbols size be defined in MS?  Vector type 
> symbols appear as
> little tiny dots in my map.  How can I change their display size?
> 
> Here is my symbol defintion:
> 
> Symbol
> 	Name 'triangle'
> 	Type VECTOR
> 	Filled true
> 	Points
> 	 0 1
> 	 .5 0
> 	 1 1
> 	 0 1
> 	END
> END
> 
> 
> And this is the the layer definition:
> 
> LAYER #
> Centers 
> --------------------------------------------------------------------
> ----------------------Centers
>   NAME Centers
>   TYPE point
>   DATA "c:\MapServerData\Testing\centers2"
>   STATUS ON
>   CLASSITEM 'name'
>   CLASS
>     NAME "Centers"
>     COLOR 0 0 0
>     SYMBOL "triangle"
>   END
> END
> 
> 
> 
> Armando Scalise
> geoVue
> 200 Lincoln Street  5th Floor
> Boston, Massachusetts  02111  USA
> p  617.451.2520 x122
> f  617.486.3066
> www.geoVue.com
> LOCATION INTELLIGENCE
> ascalise at geovue.com
> 
> 
> 
> -----Original Message-----
> From: owner-mapserver-users at lists.gis.umn.edu
> [mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of 
> Sven Jacobi
> Sent: Thursday, October 24, 2002 6:07 AM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [mapserver-users] Identifying ogbjects!
> 
> 
> Hello,
> 
> can any body tell me whether it is possible to identify a 
> certain object
> 
> like a town on a map while crossing over it with the mouse?
> 
> And if it is possible, how does it work? Has it to be defined in
> the shapefiles or has it something to do with my templatefile?
> 
> Hope to hear from you mapservers!
> 
> Thanks and cheers,
> 
> Sven
> 
> 



More information about the mapserver-users mailing list