<html><div style='background-color:'><DIV class=RTE>
<P>I checked with ogrinfo and the shapefile is a <3D POLYGON>. </P>
<P>Other shape files I have show up simply as <POLYGON> when checked with ogrinfo. </P>
<P>Is there anything i can do to show this polygon in mapserver?<BR><BR></P></DIV>
<DIV></DIV>>From: Bart van den Eijnden <bartvde@XS4ALL.NL>
<DIV></DIV>>Reply-To: Bart van den Eijnden <bartvde@XS4ALL.NL>
<DIV></DIV>>To: MAPSERVER-USERS@LISTS.UMN.EDU
<DIV></DIV>>Subject: Re: [UMN_MAPSERVER-USERS] shapefile polygon opens in arcgis but not mapserver
<DIV></DIV>>Date: Wed, 13 Apr 2005 20:32:42 +0200
<DIV></DIV>>
<DIV></DIV>>Hi,
<DIV></DIV>>
<DIV></DIV>>are you sure it is not a polyline shape? Did you try TYPE LINE?
<DIV></DIV>>
<DIV></DIV>>Otherwise open it up with ogrinfo and see what it says
<DIV></DIV>>(http://fwtools.maptools.org).
<DIV></DIV>>
<DIV></DIV>>Best regards,
<DIV></DIV>>Bart
<DIV></DIV>>
<DIV></DIV>>On Wed, 13 Apr 2005 16:04:39 -0230, gerard barrington
<DIV></DIV>><gerard_b_18@HOTMAIL.COM> wrote:
<DIV></DIV>>
<DIV></DIV>>>Hi list, I have a polygon shapefile which I can open and view in
<DIV></DIV>>>ArcExplorer and everything looks perfect. However, when I try to
<DIV></DIV>>>use the
<DIV></DIV>>>same shapefile as data for a LAYER of TYPE POLYGON, I get the
<DIV></DIV>>>following
<DIV></DIV>>>exception: msDrawMap(): Image handling error. Failed to draw layer
<DIV></DIV>>>named
<DIV></DIV>>>'aal135'. msDrawShape(): General error message. Only polygon shapes
<DIV></DIV>>>can
<DIV></DIV>>>be drawn using a POLYGON layer definition. So I tried switching the
<DIV></DIV>>>TYPE
<DIV></DIV>>>in my layer to POINT and a couple of points along the border of the
<DIV></DIV>>>polygon showed up. I know the shapefile is a polygon though because
<DIV></DIV>>>it
<DIV></DIV>>>displays as the correct shape in arcExplorer. Can someone tell me
<DIV></DIV>>>why
<DIV></DIV>>>the polygon will show up in ArcExplorer but not in mapserver? Is
<DIV></DIV>>>there
<DIV></DIV>>>anything I can do to fix this problem?? I am at real loss here for
<DIV></DIV>>>why
<DIV></DIV>>>this happens and would really appreciate any help.... Thanks Gerard
<DIV></DIV>>>B
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>--
<DIV></DIV>>Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
<DIV></DIV></div></html>