diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-12 22:43:42 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-03-15 16:16:31 +0100 |
| commit | 5ddddfac622f40a4de920460b64e88e7b9cb5b68 (patch) | |
| tree | 9474e0fc32b5ab2360c048190f06453350ac3d12 /include | |
| parent | 1b07ef00c55525420cfbc9467016959e709e6862 (diff) | |
| download | PROJ-5ddddfac622f40a4de920460b64e88e7b9cb5b68.tar.gz PROJ-5ddddfac622f40a4de920460b64e88e7b9cb5b68.zip | |
Add C/C++ API to get SQL statements to insert a CRS into database
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/io.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp index 2f935a0c..5f0dd475 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -838,6 +838,19 @@ class PROJ_GCC_DLL DatabaseContext { PROJ_DLL std::vector<std::string> getDatabaseStructure() const; + PROJ_DLL void startInsertStatementsSession(); + + PROJ_DLL std::string + suggestsCodeFor(const common::IdentifiedObjectNNPtr &object, + const std::string &authName, bool numericCode); + + PROJ_DLL std::vector<std::string> + getInsertStatementsFor(const common::IdentifiedObjectNNPtr &object, + const std::string &authName, const std::string &code, + bool numericCode); + + PROJ_DLL void stopInsertStatementsSession(); + PROJ_PRIVATE : //! @cond Doxygen_Suppress PROJ_DLL void * |
