PROJ C++ API
|
Interface for an object that can be exported to a PROJ string. More...
#include <io.hpp>
Public Member Functions | |
std::string | exportToPROJString (PROJStringFormatter *formatter) const |
Builds a PROJ string representation. More... | |
Interface for an object that can be exported to a PROJ string.
std::string osgeo::proj::io::IPROJStringExportable::exportToPROJString | ( | PROJStringFormatter * | formatter | ) | const |
Builds a PROJ string representation.
For PROJStringFormatter::Convention::PROJ_5 (the default), return strings that generally express PROJ.5 pipelines.
For PROJStringFormatter::Convention::PROJ_4, format a string compatible with the OGRSpatialReference::exportToProj4() of GDAL <=2.3.
formatter | PROJ string formatter. |
FormattingException |