[mapserver-users] Re: Clipping returned WFS data to the requesting bounding box

2010-11-29 Thread mattmendick
Any takers? I was just thinking, is there a native way using filters to clip the returned data inside mapserver? I couldn't find any, but perhaps I was not looking in the right place. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Clipping-returned-WFS-data-to-the-reques

[mapserver-users] Re: Clipping returned WFS data to the requesting bounding box

2010-11-29 Thread mattmendick
I've actually now just discovered a way that works for me. I did forget to mention that we are using PostGIS. We now use the aforementioned: DATA "wkb_geometry FROM (SELECT ST_Intersection(f.wkb_geometry, !BOX!) AS wkb_geometry, column1, column2, column3 FROM flood as f) AS subquery USING UNIQ

RE: [mapserver-users] Re: Clipping returned WFS data to the requesting bounding box

2010-11-29 Thread Lime, Steve D (DNR)
Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of mattmendick Sent: Monday, November 29, 2010 12:14 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Re: Clipping returned WFS data to the requesting

Re: [mapserver-users] Re: Clipping returned WFS data to the requesting bounding box

2010-11-29 Thread Jan Hartmann
On 2010-11-29 22:11, Lime, Steve D (DNR) wrote: I'm not aware of any means to do this. If you're using PostGIS perhaps there's a way to use the !BOX! hack in conjunction with some of the analytical functions but it's a long shot... (see http://www.mail-archive.com/mapserver-us...@lists.umn.e

RE: [mapserver-users] Re: Clipping returned WFS data to the requesting bounding box

2010-12-01 Thread Lime, Steve D (DNR)
xpressions like this. Steve From: Jan Hartmann [j.l.h.hartm...@uva.nl] Sent: Tuesday, November 30, 2010 1:30 AM To: Lime, Steve D (DNR) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Re: Clipping returned WFS data to the requesting b

Re: [mapserver-users] Re: Clipping returned WFS data to the requesting bounding box

2010-12-02 Thread Jan Hartmann
On 2010-12-02 6:04, Lime, Steve D (DNR) wrote: I'd advocate binding a few variables like extent and scale to expressions with a special syntax. For example, [_minx] or something like that. RFC 64 makes it much easier to extend expressions like this. I would certainly like to have that. If