[mapserver-users] WFS Layer + C# map script
Murty Maganti
MMaganti at oriongis.com
Thu Feb 26 08:00:28 PST 2009
Hi
I am trying load a WFS layer and getting the following error calling
mapObj.draw(). Is WFS layer handled by OGR or is it handled directly by
map server. When I ran 'orginfo -formats', it does not show WFS as
supported format by OGR. WFS URL in map file is correct and I can see
the capabilities xml in browser using the url.
Here is the error
msDrawMap(): Image handling error. Failed to draw layer named
'Municipality (id=0)'.;msOGRFileOpen(): OGR error. Open failed for OGR
connection in layer ` Municipality (id=0)'. File not found or
unsupported format.
Layer entry in the map file
LAYER
CONNECTION "http://vmonp03/wfsconnector/com.esri.wfs.Esrimap/ MS01?"
CONNECTIONTYPE WFS
METADATA
"wfs_srs" "EPSG:26917"
"wfs_request_method" "GET"
"wfs_typename" "Municipality-0"
"wfs_service" "WFS"
"wfs_version" "1.0.0"
END
NAME "Municipality (id=0)"
STATUS ON
TYPE POLYGON
UNITS METERS
CLASS
NAME "Municipality (id=0)"
STYLE
COLOR 184 155 225
OPACITY 100
OUTLINECOLOR 0 0 0
SYMBOL 0
END
END
END
Thanks
Murty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090226/0cf0cbb7/attachment.htm>
More information about the MapServer-users
mailing list