Skip to content

Commit

Permalink
Add text/html to advertised GetFeatureInfo formats
Browse files Browse the repository at this point in the history
  • Loading branch information
hugcis authored Aug 25, 2023
1 parent 0b85061 commit b4b5cde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/service_wms.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ void _create_capabilities_wms(mapcache_context *ctx, mapcache_request_get_capabi
/*
"<GetFeatureInfo>\n"
"<Format>text/plain</Format>\n"
"<Format>text/html</Format>\n"
"<Format>application/vnd.ogc.gml</Format>\n"
"<DCPType>\n"
"<HTTP>\n"
Expand All @@ -158,6 +159,7 @@ void _create_capabilities_wms(mapcache_context *ctx, mapcache_request_get_capabi
*/
tmpxml = ezxml_add_child(reqxml,"GetFeatureInfo",0);
ezxml_set_txt(ezxml_add_child(tmpxml,"Format",0),"text/plain");
ezxml_set_txt(ezxml_add_child(tmpxml,"Format",0),"text/html");
ezxml_set_txt(ezxml_add_child(tmpxml,"Format",0),"application/vnd.ogc.gml");
tmpxml = ezxml_add_child(tmpxml,"DCPType",0);
tmpxml = ezxml_add_child(tmpxml,"HTTP",0);
Expand Down

0 comments on commit b4b5cde

Please sign in to comment.