[mapserver-users] Error parsing POSTGIS

gispmpf at zipmail.com.br gispmpf at zipmail.com.br
Mon Oct 15 22:53:23 EDT 2001


Hi,

Testing the definition of the layer below :
LAYER 
 CONNECTIONTYPE postgis 
 NAME 'Roads' 
 CONNECTION "user=postgres dbname=teste host=localhost"
  DATA "linha from teste"
  STATUS ON
  TYPE LINE
  CLASS
  EXPRESSION (id=1)
   COLOR 255 22 22
   SYMBOL 'line'
   SIZE 2
   END 
  CLASS 
    EXPRESSION (id=1)
    COLOR 205 92 82
   END 
END 

this returned the following error:

msPOSTGISLayerOpen(): Query error. Error parsing POSTGIS connection information.

anybody can help me to see what is wrong?

PS: the postgres database is already started.

Thanks
João.




___________________________________________________________

http://www.zipmail.com.br O e-mail que vai aonde você está.






More information about the mapserver-users mailing list