[mapserver-users] Filter Point features from PostGIS Layer

Julien Cigar jcigar at ulb.ac.be
Fri Sep 2 08:02:21 EDT 2011


couldn't you use WHERE ST_GeometryType(col) = "ST_Point" ?

On 09/02/2011 13:50, kaipi wrote:
> I have a PostGIS database with polygon, line and point features. I want to
> make a Mapserver layer, that only displays the point features. AFAIK without
> such filtering Mapserver would render in a Point-Type-Layer also the polygon
> features as points.
> How would a FILTER or EXPRESSION look like to tell Mapserver to only query
> for point features ?
>
> Thanks,
>
> Harry
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Filter-Point-features-from-PostGIS-Layer-tp6753585p6753585.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jcigar.vcf
Type: text/x-vcard
Size: 292 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110902/6969ca6b/jcigar.vcf


More information about the mapserver-users mailing list