[mapserver-users] Problem with postgis layer

Paul Ramsey pramsey at refractions.net
Tue Jun 4 10:59:15 EDT 2002


What you are doing wrong is inferring from the SQL-like syntax of the
DATA parameter that the values are actually being passed verbatim to the
SQL parser. They are not. They are being parsed by the postgis map
layer, and then used in SQL appropriately. So, your SQL riff on the
standard layout actually breaks the system.

Twan Kogels wrote:

>    DATA "p.the_geom from pc6punten p"

> The layer doesn't return any results. Does anyone know what i'm doing wrong?

-- 
      __
     /
     | Paul Ramsey
     | Refractions Research
     | Email: pramsey at refractions.net
     | Phone: (250) 885-0632
     \_



More information about the mapserver-users mailing list