shapefile polygon opens in arcgis but not mapserver

Bart van den Eijnden bartvde at XS4ALL.NL
Wed Apr 13 11:32:42 PDT 2005


Hi,

are you sure it is not a polyline shape? Did you try TYPE LINE?

Otherwise open it up with ogrinfo and see what it says
(http://fwtools.maptools.org).

Best regards,
Bart

On Wed, 13 Apr 2005 16:04:39 -0230, gerard barrington
<gerard_b_18 at HOTMAIL.COM> wrote:

> Hi list, I have a polygon shapefile which I can open and view in
> ArcExplorer and everything looks perfect. However, when I try to use the
> same shapefile as data for a LAYER of TYPE POLYGON, I get the following
> exception: msDrawMap(): Image handling error. Failed to draw layer named
> 'aal135'. msDrawShape(): General error message. Only polygon shapes can
> be drawn using a POLYGON layer definition. So I tried switching the TYPE
> in my layer to POINT and a couple of points along the border of the
> polygon showed up. I know the shapefile is a polygon though because it
> displays as the correct shape in arcExplorer. Can someone tell me why
> the polygon will show up in ArcExplorer but not in mapserver? Is there
> anything I can do to fix this problem?? I am at real loss here for why
> this happens and would really appreciate any help.... Thanks Gerard B



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the MapServer-users mailing list