line-size in pendency of metadata 2

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Wed Sep 14 09:25:46 EDT 2005


Bart is correct that arithmetic ops are not allowed but relational ops 
are. You can do comparisions like:

EXPRESSION ([Belfzgiv1] < 7614)

-Steve W.

Bart van den Eijnden wrote:
> ·			SIZEITEM is at the STYLE level not at the CLASS level.
> 
> So:
> 
>   CLASS
>        NAME "Stra?e unter 7614 KFZ/Tag"
>        EXPRESSION    "<7614"
>           STYLE
>              COLOR         255 227 231
>              SIZEITEM 	 'Belfzgiv1'
>              SYMBOL "circle"
>         END
>      END
> 
> I don't think arithmetic operations are allowed, try preprocessing your data.
> 
> Best regards,
> Bart
> 
> Bart van den Eijnden
> Syncera IT Solutions
> Postbus 270
> 2600 AG  DELFT
> 
> tel.nr.: 015-7512436
> email: BEN at Syncera-ITSolutions.nl
> 
> 
>>>>"Leopold Schefcik (MULTIMEDIAPLAN.AT)" <leopold.schefcik at multimediaplan.at> 14-9-2005 8:59 >>>
> 
> 
> like this?
> 
>     	STATUS    DEFAULT
>    	CLASSITEM 'Belfzgiv1'
> 
> 	CLASS
>        NAME "Stra?e unter 7614 KFZ/Tag"
>        EXPRESSION    "<7614"
>        COLOR         255 227 231
> 	 SIZEITEM 	 '(Belfzgiv1/1000)'
>     	END
> 
> Are arithmetic operations like >, <, (xy/1000), and, or,... allowed?
> Leop.
> 
> 
> -----Ursprungliche Nachricht-----
> Von: Bart van den Eijnden [mailto:BEN at Syncera-ITSolutions.NL] 
> Gesendet: Dienstag, 13. September 2005 14:13
> An: MAPSERVER-USERS at LISTS.UMN.EDU; leopold.schefcik at MULTIMEDIAPLAN.AT 
> Betreff: Re: [UMN_MAPSERVER-USERS] line-size in pendency of metadata
> 
> 
> Leopold,
> 
> SIZEITEM [attribute]
> 
>     Item name in attribute table to use for size lookups.
> 
> http://mapserver.gis.umn.edu/doc46/mapfile-reference.html 
> 
> Best regards,
> Bart
> 
> Bart van den Eijnden
> Syncera IT Solutions
> Postbus 270
> 2600 AG  DELFT
> 
> tel.nr.: 015-7512436
> email: BEN at Syncera-ITSolutions.nl 
> 
> 
>>>>"Leopold Schefcik (MULTIMEDIAPLAN.AT)"
> 
> <leopold.schefcik at MULTIMEDIAPLAN.AT> 13-9-2005 13:59:35 >>>
> hi list,
> 
> I want to make the size of a line in pendency of metadata in the column
> 'Belfzgiv1'.
> 
> So can I write it like this? (with   SIZE  'Belfzgiv1' ) or e.g. SIZE
> 'Belfzgiv1/100'
> 
> 
>     STATUS    DEFAULT
>     CLASSITEM 'Belfzgiv1'
> 
>      CLASS
>        NAME "streets under 7614 KFZ/day"
>        EXPRESSION    "<7614"
>        COLOR         255 227 231
>        SIZE          'Belfzgiv1'
>      END
> 
> Or does anyone have an other idea?
> 
> Best regards,
> Leopold
> 



More information about the mapserver-users mailing list