[mapserver-users] queryByPoint + PostGIS layers + USING statement

Stefan Schwarzer stefan.schwarzer at grid.unep.ch
Mon Jul 21 06:00:01 PDT 2008


Hi there,

it seems that it's mandatory for postgis layers to use the "USING"  
statement in the query.

My layer parameters look a bit like this:

	DATA 'the_geom FROM ( SELECT xxxx FROM xxx LEFT JOIN xxxx WHERE xxx)  
AS foo USING UNIQUE uid USING srid=4326) '

But nevertheless, mapserver doesn't like it...

Can anyone give me a hint what is wrong with that?

Thanks for any advice,

Stef



More information about the MapServer-users mailing list