MapServer as WMS - GetFeatureInfo
robert fritz
robert-fritz at WEB.DE
Thu Aug 24 05:52:02 PDT 2006
Hello,
i configured my mapserver as a WMS server. UDIG or ArcGIS are showing the layers from the wms server but I do not get any results using the UDIG / ArcGIS info-tool.
I prepared an GetFeatureInfo Request as URL and as a result I get the attribute information. But it seems, that the result is send as plain text and not as GML. Maybe the WMS Client expects GML/XML data instead of plain text?
The map-file layers definition contains the "DUMP true" parameter the "wms_feature_info_mime_type" is not set. I thought, that the attribute data of the GetFeatureInfo Request is send as GML?
My GetFeatureInfo Request:
http://192.168.20.39/scripts/mapserv.exe?map=test.map&&VERSION=1.1.1&REQUEST=GetFeatureInfo&SERVICE=wms&SRS=EPSG:31466&BBOX=2568327,5680307,2576827,5688446&WIDTH=500&HEIGHT=520&LAYERS=fs&FORMAT=image/gif&FEATURE_COUNT=1&QUERY_LAYERS=fs&X=250&Y=260&
and the result is:
GetFeatureInfo results:
Layer 'FS'
Feature 3911:
OBJEKTNUMM = 'W0010RU'
FOLIENCODE = '001'
FOLIENNAME = 'Flurstücke'
OBJEKTARTC = '0233'
OBJEKTARTN = 'Flurstück, - Flurstücksgrenze, - Flurstücksnummer'
OBJEKTPUNK = '2572585.327,5684357.866,0'
OBJEKTTYP = 'F'
MODELLTYP = ''
ENTSTEHDAT = '26.09.01'
AKTUALITAE = ''
ALK_NR = 'FS00000000800024000'
GEMARKUNG = '2222'
FLUR = '008'
ZAEHLER = '24'
NENNER = '0'
DARSTELLUN = '24'
What can I do? I want to see the attribute data in UDIG or ArcGIS.
Regards,
Robert
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
More information about the MapServer-users
mailing list