PROJ C++ API
|
Formatter to PROJ strings. More...
#include <io.hpp>
Public Types | |
enum | Convention { Convention::PROJ_5, Convention::PROJ_4 } |
Public Member Functions | |
void | setUseETMercForTMerc (bool flag) |
Set whether Extented Transverse Mercator (etmerc) should be used instead of tmerc. | |
const std::string & | toString () const |
Returns the PROJ string. | |
Static Public Member Functions | |
static PROJStringFormatterNNPtr | create (Convention conventionIn=Convention::PROJ_5, DatabaseContextPtr dbContext=nullptr) |
Constructs a new formatter. More... | |
Formatter to PROJ strings.
An instance of this class can only be used by a single thread at a time.
|
strong |
|
static |
Constructs a new formatter.
A formatter can be used only once (its internal state is mutated)
Its default behaviour can be adjusted with the different setters.
conventionIn | PROJ string flavor. Defaults to Convention::PROJ_5 |
dbContext | Database context (can help to find alternative grid names). May be nullptr |