[gdal-dev] RFC 73 (aka gdalsrsbarn) available for review

Even Rouault even.rouault at spatialys.com
Mon Jan 14 03:42:08 PST 2019


On mercredi 9 janvier 2019 16:23:44 CET Even Rouault wrote:
> Hi,
> 
> RFC 73 "Integration of PROJ6 for WKT2, late binding capabilities,
> time-support and unified CRS database" is available for your review at:
> 
> https://trac.osgeo.org/gdal/wiki/rfc73_proj6_wkt2_srsbarn
> 

No remarks ? Do people need a bit more time to review ?

Actually I have a question on which I'd like to get some feedback. In the 
current state of the work, gdalinfo and ogrinfo will display the SRS in WKT1 
when possible (consequence of "OGRSpatialReference::exportToWkt() without 
options will report WKT 1 for CRS compatibles of this representation, and 
otherwise use WKT 2:2015 (typically for Geographic 3D CRS)" mentionned in 
"Default WKT version").
I was wondering if we couldn't default to WKT2:2015 in all cases for those 
utilities. One small benefit of this is that for SRS built from EPSG code, the 
WKT would include the area of use, which makes it easier to locate things., 
like

PROJCRS["RT38 5 gon O",
    BASEGEODCRS["RT38",
        DATUM["Stockholm 1938",
            ELLIPSOID["Bessel 1841",6377397.155,299.1528128,
                LENGTHUNIT["metre",1]]],
        PRIMEM["Greenwich",0,
            ANGLEUNIT["degree",0.0174532925199433]]],
    CONVERSION["Sweden zone 5 gon O",
        METHOD["Transverse Mercator",
            ID["EPSG",9807]],
        PARAMETER["Latitude of natural origin",0,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8801]],
        PARAMETER["Longitude of natural origin",22.5582777777778,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8802]],
        PARAMETER["Scale factor at natural origin",1,
            SCALEUNIT["unity",1],
            ID["EPSG",8805]],
        PARAMETER["False easting",1500000,
            LENGTHUNIT["metre",1],
            ID["EPSG",8806]],
        PARAMETER["False northing",0,
            LENGTHUNIT["metre",1],
            ID["EPSG",8807]]],
    CS[Cartesian,2],
        AXIS["northing (X)",north,
            ORDER[1],
            LENGTHUNIT["metre",1]],
        AXIS["easting (Y)",east,
            ORDER[2],
            LENGTHUNIT["metre",1]],
    AREA["Sweden - 5 gon E"],
    BBOX[65.24,21.34,68.58,24.17],
    ID["EPSG",3030]]
	
Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list