[postgis] Error parsing POSTGIS

gispmpf gispmpf at yahoo.com.br
Tue Oct 16 14:20:03 PDT 2001


Anybody could help me?
i have written the following mapfile layer on mapserver  
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 

but it is returning this error:
   msPOSTGISLayerOpen(): Query error. Error parsing POSTGIS 
connection information.
what could be wrong?
PS: the postgres server is already started

thanks
Joao.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE VeriSign guide to security solutions for your web site: encrypting transactions, securing intranets, and more!
http://us.click.yahoo.com/UnN2wB/m5_CAA/yigFAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the postgis-users mailing list