[mapserver-users] MapServer and WMS question

Tweedy, Scott sctweedy at NRCan.gc.ca
Fri Sep 13 08:12:06 EDT 2002


The exact error message that appears when I use the polygonM file is:

msDrawShape(): Only polygon shapes can be drawn using a POLYGON layer
definition.

Thanks,
st

-----Original Message-----
From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca]
Sent: Thursday, September 12, 2002 6:02 PM
To: Tweedy, Scott
Subject: Re: [mapserver-users] MapServer and WMS question


Scott,

 What is the exact message, It will help to look into the code faster.

Later,

"Tweedy, Scott" wrote:

> I have a question about using MapServer.  I have a polygon layer that was
> created as a MIF file and converted to a SHP file using FME.  When this
> process was done FME created a layer of the type PolygonM (representation
of
> a set of parts (rings). Each part (ring) is a set of points connected by
> segments that close back to the first point.).  Using MapLab and MapServer
> directly on the Internet I've never had a problem displaying this layer.
> I've been experimenting with creating a WMS server.  When I use the GetMap
> request on that layer as part of the command:
>
>
http://<myserver>/cgi-bin/mapserv.exe?map=wms.map&VERSION=1.1.0&SERVICE=wms&
> REQUEST=GetMap
>
> I get an error saying that only a polygon layer can be created with a
> polygon request.  If I go back to ArcView and convert the PolygonM to a
> simple Polygon the request works fine.  Does anyone know anything about
> support for PolygonM in OGC?  I don't really want to go back and reconvert
> all the files.
>
> Thanks in advance,
> st

--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------





More information about the mapserver-users mailing list