Dear List, I have a issue between Mapproxy 1.12.0 and Mapserver 7.4.3 with GetFeatureInfo (GFI) restful requests I don´t know if this ist a Mapproxy or Mapserver problem, maybe has someone a solution for this issue.
When I use the WMS(?) KVP Capabilities from Mapproxy (http://localhost/mapproxy/service?REQUEST=GetCapabilities) in e.g. QGIS, everything works fine. The GetFeatureInfo (GFI) is available and working for the WMTS Layer. The KVP GFI request is similar as in Mapserver WMS, http://localhost/mapproxy/service?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=359590.9848198993713595,5668915.14138658251613379,361421.80612308223498985,5670043.28831636067479849&CRS=EPSG:25832&WIDTH=568&HEIGHT=350&LAYERS=verkehrsweg_wmts&STYLES=&FORMAT=image/png&QUERY_LAYERS=verkehrsweg_wmts&INFO_FORMAT=text/html&I=268&J=176&FEATURE_COUNT=10 http://localhost/cgi-bin/mapserv64/mapserv.fcgi?map=c:/srv/mapfiles/verkehrswege.map&language=ger&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=359590.9848198993713595,5668915.14138658251613379,361421.80612308223498985,5670043.28831636067479849&SRS=EPSG:25832&WIDTH=568&HEIGHT=350&LAYERS=Verkehrsweg&STYLES=&FORMAT=image/png&QUERY_LAYERS=Verkehrsweg&INFO_FORMAT=text/html&X=266&Y=176&FEATURE_COUNT=10 When I use the restful Mapproxy Service ( from http://localhost/mapproxy/wmts/1.0.0/WMTSCapabilities.xml or http://localhost/mapproxy/service?REQUEST=GetCapabilities&SERVICE=WMTS ), no GFI works When I request the restful service, the restful tile request works http://localhost/mapproxy/wmts/verkehrsweg_wmts/wmtsgrid/09/146/324.png but the GFI request on the same tile not http://localhost/mapproxy/wmts/verkehrsweg_wmts/wmtsgrid/09/146/324/38/142.html restful_template: '/{Layer}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.{Format}' restful_fi_template: '/{Layer}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}/{I}/{J}.{Format}' Mapserver says: msQueryByPoint(): Search returned no results. No matching record(s) found. Either the Request http://localhost/mapproxy/service?SERVICE=WMTS&REQUEST=GetFeatureInfo&VERSION=1.0.0&LAYER=verkehrsweg_wmts&STYLE=default&INFOFORMAT=text/html&FORMAT=image/png&TILEMATRIXSET=wmtsgrid&TILEMATRIX=10&TILEROW=511&TILECOL=171&I=168&J=214 earn the same Mapserver error. Unfortunally I can´t see the request from Mapproxy to Mapserver in my logs. Does Mapserver support this restful request format? Any ideas? My Mapproxy yaml configuration: services: wmts: restful: true # with or without both templates the same behavior restful_template: '/{Layer}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.{Format}' restful_fi_template: '/{Layer}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}/{I}/{J}.{Format}' featureinfo_formats: - mimetype: application/gml+xml; version=3.1 suffix: gml - mimetype: text/html suffix: html kvp: true md: title: mytitle access_constraints: "GeoNutzV" fees: keine contact: organization: myorg position: owner wms: srs: ['EPSG:4258','EPSG:4326','EPSG:31466','EPSG:31467','EPSG:31468','EPSG:31469','EPSG:25831','EPSG:25832','EPSG:25833'] image_formats: ['image/png', 'image/jpeg'] max_output_pixels: [5000, 5000] md: title: mytitle fees: keine contact: organization: myorg position: owner sources: verkehrsweg_source: type: wms wms_opts: featureinfo: true version: 1.1.1 legendgraphic: true legendurl: 'http://localhost/cgi-bin/mapserv64/mapserv.fcgi?map=c:/srv/mapfiles/verkehrswege.map&language=ger&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=Verkehrsweg&format=image/png&STYLE=default' supported_srs: ['EPSG:25832'] concurrent_requests: 4 ##seed_only: true coverage: bbox: [204485, 5204122, 1008600, 6134557] srs: 'EPSG:25832' req: url: http://localhost/cgi-bin/mapserv64/mapserv.fcgi?map=c:/srv/mapfiles/verkehrswege.map layers: Verkehrsweg format: image/png In Mapserver Layer Metadata ist anything enabled in my opinion "wms_enable_request" "*" "ows_enable_request" "*" "WMS_FEATURE_INFO_MIME_TYPE" "text/html" "WMS_FEATURE_INFO_MIME_TYPE" "application/gml+xml; version=3.1" "WMS_FEATURE_INFO_MIME_TYPE" "application/vnd.ogc.gml" #or "wms_getfeatureinfo_formatlist" "text/html,application/gml+xml; version=3.1,application/vnd.ogc.gml" "gml_include_items" "all" "ows_include_items" "all" "wms_include_items" "all" "WMS_EXTENT" "204485 5204122.33 1008600.36 6134557.66" "WMS_SRS" "EPSG:25832 EPSG:3857 EPSG:25831 EPSG:25833 EPSG:4326 EPSG:31466 EPSG:31467 EPSG:31468 EPSG:31469 EPSG:4258 EPSG:3038 EPSG:3039 EPSG:3040 EPSG:3041 EPSG:3042 EPSG:3043 EPSG:3044 EPSG:3045 EPSG:3046 EPSG:3047 EPSG:3034 EPSG:3035" "wms_inspire_metadataurl_format" "application/vnd.ogc.csw.capabilities.response_xml" "wms_metadataurl_format" "text/xml" "wms_metadataurl_type" "TC211" (***) Thanks in advance, Robert
_______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
