Hi Murty,
MapServer does a request to the WFS server to get the GML file. This
GML file is saved locally and rendered by OGR as a vector layer.
You might want to check the file you got from the server (should be
inside web.imagepath (xxxx.tmp.gml) and see if it is valid or/if can be
opened with ogr.
Best Regards
Murty Maganti wrote:
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
------------------------------------------------------------------------
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: [email protected]
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users