[postgis-tickets] [PostGIS] #4277: ST_GeomFromGeoJSON: default SRID to 4326

PostGIS trac at osgeo.org
Wed Dec 19 22:51:15 PST 2018


#4277: ST_GeomFromGeoJSON: default SRID to 4326
---------------------+---------------------------
 Reporter:  komzpa   |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.5.2
Component:  postgis  |    Version:  2.4.x
 Keywords:           |
---------------------+---------------------------
 We're only setting SRID on parse if it's specified in GeoJSON. It is
 implied to be what we call EPSG:4326 by RFC7946:

 https://tools.ietf.org/html/rfc7946


 ```
  The coordinate reference system for all GeoJSON coordinates is a
    geographic coordinate reference system, using the World Geodetic
    System 1984 (WGS 84) [WGS84] datum, with longitude and latitude units
    of decimal degrees.  This is equivalent to the coordinate reference
    system identified by the Open Geospatial Consortium (OGC) URN
    urn:ogc:def:crs:OGC::CRS84.
 ```

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4277>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list