[MAPSERVER-USERS] Display of polygon in map
S.Reena
reena at indiamail.com
Mon Jul 28 23:44:05 PDT 2008
here it is..I have tried using gid ,srid etc..n its still not working :(
LAYER
NAME gps_polygon
STATUS on
TYPE polygon
CONNECTIONTYPE POSTGIS
CONNECTION "host=localhost dbname=gps_data user=abc password=xyz
port=5432"
DATA "newgeom FROM gps_polygon USING UNIQUE gid"
LABELCACHE on
#LABELITEM 'name'
HEADER 'templates/header.html'
FOOTER 'templates/footer.html'
TOLERANCE 3
STYLE
#COLOR 212 192 100
# OUTLINECOLOR 200 100 200
OUTLINECOLOR 0 0 255
END
LABEL
COLOR 255 0 0
POSITION ul
SIZE large
END # label
END # class
END # layer
pag66 wrote:
>
> Hi friend post the connection that you're using maybe it a problem with
> the select statement, try "the_geom from table using unique gid" if you
> have and gid field
>
>
--
View this message in context: http://www.nabble.com/Display-of-polygon-in-map-tp18674352p18706384.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list