diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-08 17:32:03 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-08 21:25:08 +0100 |
| commit | 87cde49072b55c220f0ad10fa997fe9a584d1df1 (patch) | |
| tree | 3ff97c08350adaa997e00eced120010fd0bfdc4c /src | |
| parent | f5e5435fd5071d550e0d13f7a5d71e09c1fab2c0 (diff) | |
| download | PROJ-87cde49072b55c220f0ad10fa997fe9a584d1df1.tar.gz PROJ-87cde49072b55c220f0ad10fa997fe9a584d1df1.zip | |
Fix export of BoundCRS as with PROJ_5 convention
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/crs.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp index 7ee1b46c..6776093a 100644 --- a/src/iso19111/crs.cpp +++ b/src/iso19111/crs.cpp @@ -3757,13 +3757,6 @@ void BoundCRS::_exportToWKT(io::WKTFormatter *formatter) const { void BoundCRS::_exportToPROJString( io::PROJStringFormatter *formatter) const // throw(io::FormattingException) { - if (formatter->convention() == - io::PROJStringFormatter::Convention::PROJ_5) { - io::FormattingException::Throw( - "BoundCRS cannot be exported as a PROJ.5 string, but its baseCRS " - "might"); - } - auto crs_exportable = dynamic_cast<const io::IPROJStringExportable *>(d->baseCRS_.get()); if (!crs_exportable) { |
