[Mapguide-trac] [mapguide-trac] #2809: GeoJSON output should try to set the "crs" property if possible

MapGuide Open Source trac_mapguide at osgeo.org
Tue Dec 13 01:05:57 PST 2022


#2809: GeoJSON output should try to set the "crs" property if possible
-------------------------+----------------------
 Reporter:  jng          |        Owner:  jng
     Type:  enhancement  |       Status:  closed
 Priority:  low          |    Milestone:  4.0
Component:  General      |      Version:
 Severity:  trivial      |   Resolution:  fixed
 Keywords:               |  External ID:
-------------------------+----------------------
Changes (by jng):

 * status:  assigned => closed
 * resolution:   => fixed

Comment:

 In [changeset:"10021" 10021]:
 {{{#!CommitTicketReference repository="" revision="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
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2809#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list