MapServer as WMS - GetFeatureInfo
Eijnden, Bart van den (AGI)
b.vdeijnden at AGI.RWS.MINVENW.NL
Thu Aug 24 05:57:19 PDT 2006
Hi Robert,
you need to specify the info_format parameter in the request, and set it to:
application/vnd.ogc.gml
Best thing to do is check the requests these clients are sending in your webserver access log. I know ArcMap has a problem with not sending the required LAYERS parameter.
Best regards,
Bart
-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens robert fritz
Verzonden: donderdag 24 augustus 2006 14:52
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: [UMN_MAPSERVER-USERS] MapServer as WMS - GetFeatureInfo
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
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
More information about the MapServer-users
mailing list