[Mapserver-users] PostGIS/Mapserv problem with type MULTIPOLYGON.

Vinko Vrsalovic vinko at cprsig.cl
Tue Sep 9 12:41:48 EDT 2003


On Tue, Sep 09, 2003 at 04:45:38PM +0200, Thierry Lombardot wrote:
 
> LAYER
>   NAME Lakes_quality
>   CONNECTIONTYPE postgis
>   CONNECTION "user=mapserver password='XXX' dbname=mm host=localhost"
>   DATA "the_geom from lake_quality_po"
> #  FILTER "_labelid < 1500"
> #  DEBUG
>   TYPE POLYGON
>   STATUS ON
> 
>   CLASS
>     NAME 'Lakes_quality'
> #    TEMPLATE "lakespy2.html"
> #    EXPRESSION ([_polygonid] <= 500)
>     COLOR 0 0 255
> #    SYMBOL "disk"
> #    SIZE 2
>   END

This seems correct to me, are the_geom and lake_quality_po in geometry_columns?
To test, uncomment the symbol and size parameters, or you won't get
anything rendered.

-- 
Vinko Vrsalovic <el[|- at -|]vinko.cl>
http://www.cprsig.cl



More information about the mapserver-users mailing list