#2857 closed defect (fixed)

WFS GeoJSON output does not have application/json mime type

Reported by: jng Owned by: jng
Priority: low Milestone: 4.0
Component: WFS Interface Version:
Severity: minor Keywords:
Cc: External ID:

Description

The mime type for such output is currently an empty string

Change History (1)

comment:1 by jng, 16 months ago

Resolution: fixed
Status: assignedclosed

In 10021:

When outputting GeoJSON from our mapagent, always try to write the "crs" property if the SRS of the feature source we're writing the GeoJSON from has an EPSG code representation

Also fix application/json mime type not being set for GeoJSON representations of WFS GetFeatures

Also make sure that the server implementation of MgFeatureService::GetWfsReader() applies coordsys transforms if one is constructed in the MgWfsQueryAdapter. This means that GeoJSON representations of WFS GetFeatures are properly transformed like the other supported formats.

Fixes #2809
Fixes #2857
Fixes #2856

Note: See TracTickets for help on using tickets.