mapserver with postgis

Agustina Buccella agustina_buccella at YAHOO.COM.AR
Thu Feb 15 13:03:52 PST 2007


I have installed Mapserver and Postgis in Fedora Core 4. 
   
  My .map file has the following lines:
   
   
  LAYER 
 CONNECTIONTYPE postgis
NAME "test"
CONNECTION "user=xxx password=xxx dbname=XX host=localhost port=5432"
DATA "the_geom from argentina"
TYPE MULTIPOLYGON
END 
END 
   
   
  But when I try to use mapserver the  web server (apache) gives me the following error:
   
  getSymbol():Symbol definition error. (MULTIPOLYGON)
   
  The .map file is called by using the following link in the web browser:
   
  http://localhost/cgi-bin/mapserv?map=/data/test.map&mode=map
   
  I have tried with other source data (sql table) and other symbols like MULTILINESTRING, etc. but I always receive the same error.
   
  What am I doing wrong?
   
  Thanks!
  Agustina
   
   
   
   
   

 		
---------------------------------
 Preguntá. Respondé. Descubrí.
 Todo lo que querías saber, y lo que ni imaginabas,
 está en Yahoo! Respuestas (Beta).
 Probalo ya! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070215/8375a8e7/attachment.htm>


More information about the MapServer-users mailing list