MapServer with MapInfo (WFS)
Léveillé, James
James.Leveille at MTQ.GOUV.QC.CA
Wed Apr 26 12:49:01 PDT 2006
Hi all,
I'm trying to test MapServer (v 4.8.3), the WFS service, with MapInfo (v
8.0) and keep having this error message:
"The WFS Server returned data which was neither in the requested format nor
a recognized WFS service exception : POST body is short.
In response to a DescribeFeatureType request, the WFS Server returned an
invalid feature type."
The GetCapabilities looks fine, and the GetFeature works fine with IE ...
Here is my (simple) MapFile.
THANKS A LOT !!!
MAP
NAME "Prototype_WFS_MTQ" # Project name
PROJECTION
"init=epsg:42105"
END
WEB
IMAGEPATH "/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
METADATA
"wfs_title" "Prototype WFS"
"wfs_onlineresource"
"http://mdrim00-000251/cgi-bin/mapserv.exe?map=/ms4w/apps/dm_128/wfs_mapfile
.map
<http://mdrim00-000251/cgi-bin/mapserv.exe?map=/ms4w/apps/dm_128/wfs_mapfile
.map> &"
"wfs_srs" "EPSG:42105"
"wfs_abstract" "Ceci est un prototype WFS."
"wfs_geometry_element_name" "MS_GEOMETRY"
END
END
STATUS ON
EXTENT 30000 75000 1700000 2120000
SHAPEPATH "/ms4w/apps/dm_128/data"
UNITS METERS
# ==================================================
LAYER
NAME "RRNI"
PROJECTION
"init=epsg:42105"
END
METADATA
"wfs_title" "RRNI"
"wfs_name" "RRNI"
"wfs_abstract" "RRNI"
# "wfs_srs" "EPSG:42105"
"id_attribute_string" "ide_sous_route|integer"
"wfs_geometry_element_name" "MS_GEOMETRY"
"wfs_version" "1.0.0"
"wfs_request_method" "GET"
"wfs_connectiontimeout" "120"
"wfs_maxfeatures" "1000000"
"gml_exclude_items" "all"
"gml_include_items" "ide_sous_route,num_utils_cretn"
END
STATUS ON
DUMP TRUE
EXTENT 30000 75000 1700000 2120000
MAXSCALE 250000
MINSCALE 1
CONNECTIONTYPE oraclespatial
CONNECTION "xxxxxx/yyyyyy at d001 <mailto:xxxxxx/yyyyyy at d001> "
PROCESSING "CLOSE_CONNECTION=DEFER"
DATA "geo_sous_route_2d FROM bgr_v_srte_res_mtq_2d_act
USING UNIQUE ide_sous_route SRID 1557057 "
TYPE LINE
MAXFEATURES 1000000
END
END
__________________________________________
James Léveillé
Intélec Géomatique
420, boul. Charest Est
Bureau 400
Québec (QC), Canada
G1K 8M4
Intélec Géomatique: 418.687.5000
MTQ: 418.380.2005 (#227)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060426/ce0f1c5b/attachment.htm>
More information about the MapServer-users
mailing list