Changes between Version 4 and Version 5 of rfc73_proj6_wkt2_srsbarn
- Timestamp:
- Jan 25, 2019, 11:25:42 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rfc73_proj6_wkt2_srsbarn
v4 v5 200 200 OGRSpatialReference::exportToWkt() without options will report WKT 1 (with 201 201 explicit AXIS nodes. See below "Axis order issues" paragraph) for CRS 202 compatibles of this representation, and otherwise use WKT 2:2015(typically for203 Geographic 3D CRS) 202 compatibles of this representation, and otherwise use WKT2:2018 (typically for 203 Geographic 3D CRS). 204 204 205 205 An enhanced version of exportToWkt() accepts options to specify the exact WKT 206 206 version used, if multi-line or single-line output must be used, etc. 207 208 Alternatively the OSR_WKT_FORMAT configuration option can be used to modify the 209 WKT version used by exportToWk() (when no explicit version is passed in the 210 options of exportToWkt()) 211 212 The gdalinfo, ogrinfo and gdalsrsinfo utililies will default to outputing 213 WKT2:2018 207 214 208 215 === Axis order issues === … … 343 350 344 351 * 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. 346 353 347 354 {{{ … … 350 357 Size is 20, 20 351 358 Coordinate 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"]] 359 GEOGCRS["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]] 363 377 Data axis to CRS axis mapping: 2,1 <-- here 364 378 Origin = (2.000000000000000,49.000000000000000) … … 375 389 when transforming from EPSG:4326 to EPSG:32631. 376 390 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 378 393 379 394 === SWIG binding changes ===