You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented a simple service with some points and specified an UTFGrid. Problem is, the output-format "application/json" is not specified in the Capabilities. A client can not determine if the service supports UTFGrid or not. I can send a WMS Request with FORMAT="application/json" although it's like a shot in the dark. My proposal: If I define a driver UTFGrid in my mapfile, the corresponding mimetype should be placed in the GetMap Formats section of the capabilities.
Steps to reproduce
I have defined a service with a UTF-Grid output.
OUTPUTFORMAT
NAME 'UTFGrid'
DRIVER 'UTFGrid'
FORMATOPTION "UTFRESOLUTION=4"
FORMATOPTION "DUPLICATES=false"
END
[...]
LAYER
NAME "Kundenpunkte"
[...]
UTFITEM "id"
UTFDATA "{\"id\":\"[id]\",\"name\":\"[name_k]\"}"
[...]
I expect it to happen automatically if I define the driver. You can even define the mimetype for yourself. Which could be also part of the Capabilities.
The text was updated successfully, but these errors were encountered:
I have implemented a simple service with some points and specified an UTFGrid. Problem is, the output-format "application/json" is not specified in the Capabilities. A client can not determine if the service supports UTFGrid or not. I can send a WMS Request with FORMAT="application/json" although it's like a shot in the dark. My proposal: If I define a driver UTFGrid in my mapfile, the corresponding mimetype should be placed in the GetMap Formats section of the capabilities.
Steps to reproduce
I have defined a service with a UTF-Grid output.
Works, if I use my internal example request. I get an UTF-Grid and everythings fine.
Observed problem
This outputformat
application/json
is not part of the WMS Capabilities:Therefore I can't determine if a service supports UTFGrid or not and if I can ask as a client for the format application/json.
What I expect to happen and how I workaround at it
I expect to have this definition of the output-format
application/json
in the GetMap section of my Capabilities:Right now I get this by defining the output-formats by hand in the WEB-METADATA section of my mapfile:
Proposal
I expect it to happen automatically if I define the driver. You can even define the mimetype for yourself. Which could be also part of the Capabilities.
The text was updated successfully, but these errors were encountered: