diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/crs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp index a12c6aa0..7c42c18c 100644 --- a/src/iso19111/crs.cpp +++ b/src/iso19111/crs.cpp @@ -201,6 +201,10 @@ const GeodeticCRS *CRS::extractGeodeticCRSRaw() const { if (boundCRS) { return boundCRS->baseCRS()->extractGeodeticCRSRaw(); } + auto derivedProjectedCRS = dynamic_cast<const DerivedProjectedCRS *>(this); + if (derivedProjectedCRS) { + return derivedProjectedCRS->baseCRS()->extractGeodeticCRSRaw(); + } return nullptr; } //! @endcond |
