-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add other formats than text/plain to QGIS WMS GetFeatureInfo requests #23839
Comments
Author Name: Jürgen Fischer (@jef-n) QGIS server also does "text/xml", "application/vnd.ogc.gml" and "text/html" (see https://github.com/qgis/QGIS/blob/release-2_18/src/server/qgshttprequesthandler.cpp#L332) |
Author Name: Jürgen Fischer (@jef-n) Sorry, this is about the client - that also support more than "text/plain". The note in the section "Using the Identify Tool" starts with selecting a format - gml does even highlight the selected feature. |
Author Name: Fabian Thalemann (Fabian Thalemann) Jürgen Fischer wrote:
Hey Jürgen, thanks for replying. So you are saying that the latest QGIS Desktop client should be able to make WMS requests in other formats than text/plain? Can you provide a link to the code? |
Author Name: Giovanni Manghi (@gioman)
|
As Jürgen already said, QGIS does support various formats for identify if server advertises them. Please reopen if still valid. |
Author Name: Fabian Thalemann (Fabian Thalemann)
Original Redmine Issue: 15922
Redmine category:web_services_clients/wms
Hello all,
I'm facing the same problem as the original poster of an old ticket from 2012 (#15340): QGIS still does not support GetFeatureInfo requests in any other format than text/plain. This is known and even highlighted in the most recent QGIS documentation (http://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/ogc_client_support.html#ogc-wms): "Identity Formats — The list of MIME-types the server can respond with when you use the Identify tool. Currently, QGIS supports the text-plain type."
This situation is very unfortunate: I would like to make use of several WMS right now which have text/xml as the only allowed request format. What aperi2007 wrote in the mentioned old ticket ("A server wms always add the text/plain as available format type. So is impossible to have a server wms with only the text/xml.") is apparently wrong.
I have contacted the persons who run the WMS of interest to ask them if they could be so kind to change their server configuration, but they are rather pointing back at the software I'm using. So if anyone is able to add a wider range of GetFeatureInfo request formats to the QGIS desktop software I would be very thankful!
Best regards
Fabian
The text was updated successfully, but these errors were encountered: