Changes between Version 4 and Version 5 of rfc73_proj6_wkt2_srsbarn


Ignore:
Timestamp:
Jan 25, 2019, 11:25:42 AM (5 years ago)
Author:
Even Rouault
Comment:

Update to reflect the changes of WKT version

Legend:

Unmodified
Added
Removed
Modified
  • rfc73_proj6_wkt2_srsbarn

    v4 v5  
    200200OGRSpatialReference::exportToWkt() without options will report WKT 1 (with
    201201explicit AXIS nodes. See below "Axis order issues" paragraph) for CRS
    202 compatibles of this representation, and otherwise use WKT 2:2015 (typically for
    203 Geographic 3D CRS)
     202compatibles of this representation, and otherwise use WKT2:2018 (typically for
     203Geographic 3D CRS).
    204204
    205205An enhanced version of exportToWkt() accepts options to specify the exact WKT
    206206version used, if multi-line or single-line output must be used, etc.
     207
     208Alternatively the OSR_WKT_FORMAT configuration option can be used to modify the
     209WKT version used by exportToWk() (when no explicit version is passed in the
     210options of exportToWkt())
     211
     212The gdalinfo, ogrinfo and gdalsrsinfo utililies will default to outputing
     213WKT2:2018
    207214
    208215=== Axis order issues ===
     
    343350
    344351* gdalinfo and ogrinfo reports the data axis to CRS axis mapping whenever a
    345   CRS is reported. For example:
     352  CRS is reported. They will also output WKT2_2018 by default, unless "-wkt_format wkt1" is specified.
    346353
    347354{{{
     
    350357Size is 20, 20
    351358Coordinate System is:
    352 GEOGCS["WGS 84",
    353     DATUM["WGS_1984",
    354         SPHEROID["WGS 84",6378137,298.257223563,
    355             AUTHORITY["EPSG","7030"]],
    356         AUTHORITY["EPSG","6326"]],
    357     PRIMEM["Greenwich",0],
    358     UNIT["degree",0.0174532925199433,
    359         AUTHORITY["EPSG","9122"]],
    360     AXIS["Latitude",NORTH],
    361     AXIS["Longitude",EAST],
    362     AUTHORITY["EPSG","4326"]]
     359GEOGCRS["WGS 84",
     360    DATUM["World Geodetic System 1984",
     361        ELLIPSOID["WGS 84",6378137,298.257223563,
     362            LENGTHUNIT["metre",1]]],
     363    PRIMEM["Greenwich",0,
     364        ANGLEUNIT["degree",0.0174532925199433]],
     365    CS[ellipsoidal,2],
     366        AXIS["geodetic latitude (Lat)",north,
     367            ORDER[1],
     368            ANGLEUNIT["degree",0.0174532925199433]],
     369        AXIS["geodetic longitude (Lon)",east,
     370            ORDER[2],
     371            ANGLEUNIT["degree",0.0174532925199433]],
     372    USAGE[
     373        SCOPE["unknown"],
     374        AREA["World"],
     375        BBOX[-90,-180,90,180]],
     376    ID["EPSG",4326]]
    363377Data axis to CRS axis mapping: 2,1 <-- here
    364378Origin = (2.000000000000000,49.000000000000000)
     
    375389  when transforming from EPSG:4326 to EPSG:32631.
    376390
    377 * gdalsrsinfo is enhanced to be able to specify the 2 new supported WKT variants: WKT2_2015 and WKT2_2018
     391* gdalsrsinfo is enhanced to be able to specify the 2 new supported WKT variants: WKT2_2015 and WKT2_2018.
     392  It will default to outputing WKT2_2018
    378393
    379394=== SWIG binding changes ===