Re: (Angular/Linear/Scale) speed in C++ API

Even Rouault <[email protected]> Mon, 02 Dec 2019 19:42:19 +0100
Newsgroups gmane.comp.gis.proj-4.devel
Message-ID <1905644.ArKLy7sufd@even-i700>
Martin,

> But anyway this email is for another question. In the C++ API, class
> WKTParser provides a guessDialect(string) method. But I do not see a way
> to tell WKTParser::createFromWKT(string) that the given string is known
> to be a GDAL flavor of WKT 1, or the OGC 01-009 standard WKT 1. Both of
> them differ in the interpretation of unit of measurement in PRIMEM and
> PARAMETER elements, and it seems to me hazardous to guess the flavor
> automatically (I realize that it the case of PRIMEM we may rely on the
> prime meridian name, but it is not guaranteed to work and it may not
> solve the PARAMETER case). Did I missed something?

No, you didn't miss anything. Only the GDAL flavor/interpretation of WKT1 has 
been implemented in createFromWKT()

(For readers not familar with the issue discussed, historical considerations 
can be found in https://gdal.org/tutorials/wktproblems.html )

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj