From 87cde49072b55c220f0ad10fa997fe9a584d1df1 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 8 Jan 2019 17:32:03 +0100 Subject: Fix export of BoundCRS as with PROJ_5 convention --- src/iso19111/crs.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') 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(d->baseCRS_.get()); if (!crs_exportable) { -- cgit v1.2.3