[postgis] label
gispmpf
gispmpf at yahoo.com.br
Wed Nov 28 04:05:07 PST 2001
Hello,
I have a table witch is declared as this:
Create Table Roads(id int4,kind int4,roadname varchar(30), roads
geom);
and i m using mapserver to show it , something like:
LAYER
CONNECTIONTYPE postgis
NAME ruas
CONNECTION "user=postgres dbname=cadastro"
DATA "roads from roads"
FILTER "id < 6"
STATUS ON
TYPE LINE
CLASS
NAME "Roads"
EXPRESSION ([kind]=2)
COLOR 51 51 51
SYMBOL 'line'
SIZE 10
MINSIZE 3
MAXSIZE 15
OVERLAYCOLOR 255 255 0
OVERLAYSYMBOL 0
OVERLAYSIZE 3
OVERLAYMINSIZE 1
OVERLAYMAXSIZE 2
SIZE 15
END
END
and i want to show the name of the roads in the map. Should i add a
line with something like this:
LABELITEM "roadname"?
this is the correct way to do it?
Thanks
João
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Universal Inkjet Refill Kit $29.95
Refill any ink cartridge for less!
Includes black and color ink.
http://us.click.yahoo.com/3FDzZA/MkNDAA/ySSFAA/PhFolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the postgis-users
mailing list