[gdal-dev] exportToPrettyWkt and simplify

Michael Smith michael.smith.erdc at gmail.com
Wed Apr 21 07:55:54 PDT 2021


A 3d srs would have to be demoted to 2d first before exporting to wkt1, correct?

sr.SetFromUserInput("epsg:4979")
sr.ExportToWkt(['FORMAT=WKT1_SIMPLE'])

RuntimeError: PROJ: proj_as_wkt: WKT1 does not support Geographic 3D CRS.

Mike


-- 
Michael Smith
US Army Corps of Engineers
Remote Sensing/GIS Center


On 4/21/21, 10:53 AM, "gdal-dev on behalf of Even Rouault" <gdal-dev-bounces at lists.osgeo.org on behalf of even.rouault at spatialys.com> wrote:


    > that contains a DATUM[] node 

    I meant a ENSEMBLE[] node

    -- 

    http://www.spatialys.com
    My software is free, but my time generally not.

    _______________________________________________
    gdal-dev mailing list
    gdal-dev at lists.osgeo.org
    https://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list