SIZEITEM howto ?
Steve Lime
Steve.Lime at DNR.STATE.MN.US
Fri Nov 3 12:40:08 PST 2006
Would you be so kind as to file a quick bug about this? It should work with annotation
as well...
Steve
>>> Stéphane COLZY <stephane.colzy at MAGELLIUM.FR> 11/03/06 2:42 AM >>>
That's it !!
Thank you, I didn't notice it was an annotation layer (I got it from another
mapfile...)
-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Steve Lime
Envoyé : jeudi 2 novembre 2006 22:36
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : Re: [UMN_MAPSERVER-USERS] SIZEITEM howto ?
This could be a bug specific to annotation layers. If you turn your layer
type to POINT does it work?
Steve
>>> Stéphane COLZY <stephane.colzy at MAGELLIUM.FR> 11/2/2006 10:27:56 AM >>>
Nope ;)
Already tried this*(I think that for shapefiles you have to use uppercase
but for postgis it doesn’t seem to matter)
_____
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Fawcett, David
Envoyé : jeudi 2 novembre 2006 17:00
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : Re: [UMN_MAPSERVER-USERS] SIZEITEM howto ?
You may want to try 'ONU_ID', I notice that for the label text you use
uppercase for the field name. I am not sure if case sensitivity is an issue
in this case with PostGIS.
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Stéphane COLZY
Sent: Thursday, November 02, 2006 9:51 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] SIZEITEM howto ?
Ok, but the problem is that when I do this nothing happens (the map doesn’t
change)
So I thought may be I’m missing something*
Here’s the layer definition : onu_id is an int4 ranging from 1 to 900
LAYER
CONNECTION "user=scy password=scy dbname=vmap host=localhost port=5432"
CONNECTIONTYPE POSTGIS
DATA "the_geom from join_onu_wc USING UNIQUE ogc_fid using srid=4326"
MAXSCALE 500
METADATA
END
NAME "Cities"
PROJECTION
"init=EPSG:4326"
END
SIZEUNITS PIXELS
STATUS ON
TOLERANCEUNITS PIXELS
TYPE ANNOTATION
UNITS METERS
CLASS
NAME "DEFAULT"
LABEL
ANGLE 0.000000
ANTIALIAS TRUE
FONT "verdana"
MAXSIZE 256
MINSIZE 4
SIZE 8
TYPE TRUETYPE
BUFFER 0
COLOR 104 104 104
FORCE FALSE
MINDISTANCE -1
MINFEATURESIZE 35
OFFSET 0 0
PARTIALS TRUE
POSITION AUTO
END
METADATA
END
STYLE
ANGLE 360
COLOR 255 30 0
SIZEITEM onu_id
SYMBOL 7
END
TEXT ([ONU_CITY_NAME])
END
END
_____
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Fawcett, David
Envoyé : jeudi 2 novembre 2006 15:26
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : Re: [UMN_MAPSERVER-USERS] SIZEITEM howto ?
Stephane,
To use this, you would add a column to your shapefile or dataset that
contained an integer value for how large you would like the symbol for that
feature to be drawn.
This allows you to set different symbol sizes for each feature as opposed to
setting up separate classes with distinctive styles in the layer in the map
file.
http://mapserver.gis.umn.edu/docs/reference/mapfile/style
David.
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Stéphane COLZY
Sent: Thursday, November 02, 2006 8:16 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] SIZEITEM howto ?
Hi,
Could someone give us a brief description on how to use the STYLE / SIZEITEM
property on points data ?
Like: what are the other related properties, what kind of attributes/fields
are supported ?
It would b
More information about the MapServer-users
mailing list