<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=570184421-15022007><FONT face=Arial color=#0000ff 
size=2>Agustina, </FONT></SPAN></DIV>
<DIV><SPAN class=570184421-15022007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=570184421-15022007><FONT face=Arial color=#0000ff 
size=2>Multipolygon is not a valid layer type in MapServer.&nbsp; Take a look at 
the mapfile reference document.&nbsp; <A 
href="http://mapserver.gis.umn.edu/docs/reference/mapfile/layer">http://mapserver.gis.umn.edu/docs/reference/mapfile/layer</A></FONT></SPAN></DIV>
<DIV><SPAN class=570184421-15022007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=570184421-15022007><FONT face=Arial color=#0000ff size=2>In the 
LAYER section, look at TYPE.&nbsp; I am guessing that you might want to try 
POLYGON.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=570184421-15022007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=570184421-15022007>TYPE 
[point|line|polygon|circle|annotation|raster|query]</SPAN></DIV>
<DIV><SPAN class=570184421-15022007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=570184421-15022007><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer 
  Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Agustina 
  Buccella<BR><B>Sent:</B> Thursday, February 15, 2007 3:04 PM<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] 
  mapserver with postgis<BR><BR></FONT></DIV>
  <DIV>I have installed Mapserver and Postgis in Fedora Core 4. </DIV>
  <DIV>&nbsp;</DIV>
  <DIV>My .map file has the following lines:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>LAYER&nbsp;<BR>CONNECTIONTYPE postgis<BR>NAME "test"<BR>CONNECTION 
  "user=xxx password=xxx dbname=XX host=localhost port=5432"<BR>DATA "the_geom 
  from argentina"<BR>TYPE MULTIPOLYGON<BR>END <BR>END </DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>But when I try to use mapserver the&nbsp; web server (apache) gives me 
  the following error:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>getSymbol():Symbol definition <B>error</B>. (MULTIPOLYGON)</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>The .map file is called by using the following link in the web 
  browser:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><A 
  href="http://localhost/cgi-bin/mapserv?map=/data/test.map&amp;mode=map">http://localhost/cgi-bin/mapserv?map=/data/test.map&amp;mode=map</A></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I have tried with other source data (sql table) and other symbols like 
  MULTILINESTRING, etc. but I always receive the same error.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>What am I doing wrong?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks!</DIV>
  <DIV>Agustina</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <P>
  <HR SIZE=1>
  <B>Preguntá. Respondé. Descubrí.</B><BR>Todo lo que querías saber, y lo que ni 
  imaginabas,<BR>está en <B>Yahoo! Respuestas</B> (Beta).<BR><B><A 
  href="http://ar.answers.yahoo.com">Probalo ya!</A></B> 
</BLOCKQUOTE></BODY></HTML>