Chris Smith ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=6397c9e22aac389d02c1bca6
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMDNkOWQ3ODcwMzNkNGU4NThhMWVlYzBjYTc4NjE1OGUiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10789?atlOrigin=eyJpIjoiMDNkOWQ3ODcwMzNkNGU4NThhMWVlYzBjYTc4NjE1OGUiLCJwIjoiaiJ9
 ) GEOS-10789 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10789?atlOrigin=eyJpIjoiMDNkOWQ3ODcwMzNkNGU4NThhMWVlYzBjYTc4NjE1OGUiLCJwIjoiaiJ9
 ) WMS: support "application/geo+json" MIME type in GetFeatureInfo calls ( 
https://osgeo-org.atlassian.net/browse/GEOS-10789?atlOrigin=eyJpIjoiMDNkOWQ3ODcwMzNkNGU4NThhMWVlYzBjYTc4NjE1OGUiLCJwIjoiaiJ9
 )

Issue Type: Improvement Affects Versions: 2.22.0 Assignee: Unassigned 
Components: WMS Created: 13/Dec/22 2:21 AM Environment:

<all>

Priority: Medium Reporter: Chris Smith ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=6397c9e22aac389d02c1bca6
 )

As a GIS client which might be connecting to many different servers (eg ArcGis, 
QGIS Server, Geoserver, etc), I need to be able to auto-discover the formats 
that can be used in GetFeatureInfo requests so that I can parse the response 
appropriately and show a list of features to the user.

Currently Geoserver's WMS GetCapabilities announces the supported Formats for 
GetFeatureInfo as:

<Format>text/plain</Format>
<Format>application/vnd.ogc.gml</Format>
<Format>text/xml</Format>
<Format>application/vnd.ogc.gml/3.1.1</Format>
<Format>text/xml; subtype=gml/3.1.1</Format>
<Format>text/html</Format>
<Format>application/json</Format>

In the above "application/json" returns GeoJson however, because it only 
announces itself as "generic json", the client cannot assume that its GeoJson.

Geoserver should also announce "application/geo+json" as a supported 
GetFeatureInfo Format so that the client can specifically target GeoJson.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10789#add-comment?atlOrigin=eyJpIjoiMDNkOWQ3ODcwMzNkNGU4NThhMWVlYzBjYTc4NjE1OGUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10789#add-comment?atlOrigin=eyJpIjoiMDNkOWQ3ODcwMzNkNGU4NThhMWVlYzBjYTc4NjE1OGUiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100212- 
sha1:99773b8 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to