diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-04-21 20:45:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-21 20:45:49 +0200 |
| commit | e493a5c17b2ebebb687b1758c0a10c418ffd49d3 (patch) | |
| tree | d6f5bc7ad7d86c8af0e49675490b9195212042a8 /src/apps/projinfo.cpp | |
| parent | ea18e39b3b4905b7e6087d1683f62f843cde5564 (diff) | |
| download | PROJ-e493a5c17b2ebebb687b1758c0a10c418ffd49d3.tar.gz PROJ-e493a5c17b2ebebb687b1758c0a10c418ffd49d3.zip | |
Add limited support for non-conformant WKT1 LAS COMPD_CS[] (#2171)
* Allow importing EPSG:{horizontal_code}+{geographic_code} and
turn it into valid Geographic 3D or Projected 3D CRS internally
* Allow importing WKT1 COMPD_CS[] with above structure
* On an object imported that way, allow exporting to WKT1_GDAL,
with this non-standard structure of a horizontal CRS + geographic CRS
Diffstat (limited to 'src/apps/projinfo.cpp')
| -rw-r--r-- | src/apps/projinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apps/projinfo.cpp b/src/apps/projinfo.cpp index ed732aaa..cd04433d 100644 --- a/src/apps/projinfo.cpp +++ b/src/apps/projinfo.cpp @@ -479,8 +479,8 @@ static void outputObject( std::cout << "WKT1:GDAL string:" << std::endl; } - auto formatter = - WKTFormatter::create(WKTFormatter::Convention::WKT1_GDAL); + auto formatter = WKTFormatter::create( + WKTFormatter::Convention::WKT1_GDAL, dbContext); if (outputOpt.singleLine) { formatter->setMultiLine(false); } |
