[postgis-users] View Problem

David Blasby dblasby at refractions.net
Thu Nov 28 13:48:11 PST 2002


Joao Brezolin wrote:

> I'm tried to create a view as this:
>
>  LAYER
>   CONNECTIONTYPE postgis
>   NAME ruas
>   CONNECTION "user=postgres dbname=cadastro"
>   DATA "geometry from area_log USING UNIQUE cod_log
> USING SRID=-1"
>   FILTER "cod_sec=1"
>   STATUS  ON
>   TYPE LINE
> ....
>
> but it is not working at all. What could be wrong?

Make sure you are using a recent version of the mapserver-postgis connector.
One of the old connectors had a problem with using SRID=-1.

dave




More information about the postgis-users mailing list