Skip to content
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 GeoJSON as new output format for WMS GetFeatureInfo (3.5) #1622

Merged

Conversation

lgoltz
Copy link
Contributor

@lgoltz lgoltz commented Jan 9, 2024

Example configuration:

<wms:GetFeatureInfoFormat>
  <wms:GeoJSON allowOtherCrsThanWGS84="true" allowExportOfGeometries="true" />
  <wms:Format>application/geojson</wms:Format>
 </wms:GetFeatureInfoFormat>

Query Parameters:

  • GEOMETRIES=true to export geometries (if allowExportOfGeometries="true")
  • INFO_CRS=EPSG:25832 to set the CRS of the geometries in the response (if allowOtherCrsThanWGS84="true")

Fixes #1582

@lgoltz lgoltz added the WMS deegree Web Map Service label Jan 9, 2024
@tfr42 tfr42 added the feature feature label Jan 9, 2024
@tfr42 tfr42 added this to the 3.5.6 milestone Jan 9, 2024
@lgoltz lgoltz changed the title Add GeoJSON as GetFeatureInfoFormat Add GeoJSON as GetFeatureInfoFormat (deegree 3.5) Jan 9, 2024
@stephanr stephanr added the needs rebase PR is not up to date and needs rebase label Jan 24, 2024
Copy link
Member

@stephanr stephanr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like a commit of the 3.6 line (jakarta upgrade) was included so that this PR now needs a rebase to only include the GeoJSON changes.

@tfr42 tfr42 linked an issue Jan 25, 2024 that may be closed by this pull request
@lgoltz lgoltz force-pushed the feature/geoJsonFeatureInfoFormat-9399-1582 branch from 39e39c1 to 41ff110 Compare February 7, 2024 07:14
@lgoltz lgoltz removed the needs rebase PR is not up to date and needs rebase label Feb 7, 2024
@stephanr stephanr merged commit 20e2c6b into deegree:3.5-main Feb 7, 2024
1 check passed
@tfr42 tfr42 changed the title Add GeoJSON as GetFeatureInfoFormat (deegree 3.5) Add GeoJSON as new output format for WMS GetFeatureInfo (deegree 3.5) Mar 27, 2024
@tfr42 tfr42 changed the title Add GeoJSON as new output format for WMS GetFeatureInfo (deegree 3.5) Add GeoJSON as new output format for WMS GetFeatureInfo (3.5) Mar 27, 2024
@tfr42 tfr42 deleted the feature/geoJsonFeatureInfoFormat-9399-1582 branch March 27, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature feature WMS deegree Web Map Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Json output format to WMS GetFeatureInfo
4 participants