GetFeatureInfo from Oracle: no coordinates
Arjen de Korte
arjendk at GMX.NET
Wed Jul 12 05:20:55 PDT 2006
Hello Mapserver users,
I'm trying to get Mapserver to give me a GetFeatureInfo result from
Oracle. I do get an XML document back, with the attributes and bounding
box in it, but *without* the coordinates!
So I do get a valid XML response, starting with <msGMLOutput> and
followed by the bounding box (<gml:Box>) and the attributes, but it does
not contain feature coordinates like <gml:MultiPolygon>.
We are using MS4W 1.5.3 and Oracle 9i Locator (no Spatial extensions).
In the mapfile the layer is defined by:
LAYER
NAME test1
METADATA
"ows_title" "Test 1"
"gml_include_items" "all"
"wms_extent" "0 300000 300000 600000"
END
PROJECTION
"init=epsg:28992"
END
STATUS ON
TYPE POLYGON
MAXSCALE 50000
CONNECTIONTYPE oraclespatial
CONNECTION "adk/adk at domain"
DATA "geometry from test1 using unique ID srid 90112 relate version
9i"
DUMP true
TEMPLATE "../templates/rivers_query_header.html"
TRANSPARENCY 50
CLASS
NAME "Test 1"
COLOR 0 100 0
END
END
This is the URL I use for the request:
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/geolocator/service/out.map&service=WMS&version=1.1.1&request=GetFeatureInfo&srs=EPSG:28992&bbox=174800,604995,178736,607363&info_format=application/vnd.ogc.gml&layers=bebgeb,water,test1&query_layers=test1&x=280.999999999999&y=70&width=615&height=370
Does anybody have a suggestion how to fix this?
Regards,
Arjen.
More information about the MapServer-users
mailing list