LAYER
        NAME gps_polygon
        STATUS on
        TYPE polygon
        CONNECTIONTYPE POSTGIS
        CONNECTION "host=localhost dbname=gps_data  user=postgres
password=postgres 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-tp18674352p18706320.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to