Strange GML-Output on GetFeatureInfo-Request
Björn Platzen
bjoern.platzen at MOMATEC.DE
Thu Nov 18 09:18:03 PST 2004
Hello List,
I have a WMS running with mapserver 4.2.5, OGR and Postgis on a SuSE
Linux 9.1 machine.
When I specify the INFO_FORMAT parameter in the GetFeatureInfo Request
as INFO_FORMAT=application/vnd.ogc.gml, I only get a part of what I
expected:
http://wms.essen123.server4you.de/cgi-bin/mapserv425.cgi?map=/srv/www/ht
docs/web7/html/geovip.map&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=Oe
PNVBus,OePNVSchiene,SPNV,FlughafenUmriss,FlughafenPunkt&STYLES=,,,,&SRS=
EPSG:31467&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&WIDTH=711
&HEIGHT=525&BBOX=3468378.433407,5543992.8501566,3471295.6965638,5546146.
9474243&QUERY_LAYERS=OePNVBusHaltestelle,OePNVSchieneHaltestelle,SPNVHal
testelle,FlughafenUmriss,FlughafenPunkt&INFO_FORMAT=application/vnd.ogc.
gml&X=279&Y=76&FEATURE_COUNT=10&EXCEPTIONS=application/vnd.ogc.se_xml&
<?xml version="1.0" encoding="ISO-8859-1"?>
<msGMLOutput
xmlns:gml="http://www.opengis.net/gml"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</msGMLOutput>
When I don't specify the INFO_FORMAT, I get, what I thought: about two
features...
http://wms.essen123.server4you.de/cgi-bin/mapserv425.cgi?map=/srv/www/ht
docs/web7/html/geovip.map&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=Oe
PNVBus,OePNVSchiene,SPNV,FlughafenUmriss,FlughafenPunkt&STYLES=,,,,&SRS=
EPSG:31467&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&WIDTH=711
&HEIGHT=525&BBOX=3468378.433407,5543992.8501566,3471295.6965638,5546146.
9474243&QUERY_LAYERS=OePNVBusHaltestelle,OePNVSchieneHaltestelle,SPNVHal
testelle,FlughafenUmriss,FlughafenPunkt&X=279&Y=76&FEATURE_COUNT=10&EXCE
PTIONS=application/vnd.ogc.se_xml&
GetFeatureInfo results:
Layer 'FlughafenUmriss'
Feature 95102:
oid = '95102'
flughafen_cat = '2'
Feature 95101:
oid = '95101'
flughafen_cat = '1'
In WEB-Section of the mapfile, I have:
METADATA
"wms_title" "GeoVip Mapserver"
"wms_onlineresource"
"http://wms.essen123.server4you.de/gevisWMS.py?"
"wms_srs" "EPSG:31467 EPSG:32623"
"wms_feature_mime_type" "application/vnd.ogc.gml"
"wms_extent" "3385300 5458000 3632300 5665500"
END
Do I have to specify something else in the mapfile to make it going??
Thanks in advance for any help!
Cheers,
Bjoern
More information about the MapServer-users
mailing list