diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-13 11:46:08 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-03-15 16:16:31 +0100 |
| commit | 8a67a3fb96ffdb29887b2954dd4bb8af92f6960d (patch) | |
| tree | 11b712b6c4df671ae37377e66541939fef4ce799 /include | |
| parent | e33f6b5eccdb0c66f5ff81c07a619708ebf9ec31 (diff) | |
| download | PROJ-8a67a3fb96ffdb29887b2954dd4bb8af92f6960d.tar.gz PROJ-8a67a3fb96ffdb29887b2954dd4bb8af92f6960d.zip | |
SQL output: add capability to restrict the authorities into which to look for intermediate objects
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/io.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp index 5f0dd475..96a97142 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -844,10 +844,10 @@ class PROJ_GCC_DLL DatabaseContext { 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 std::vector<std::string> getInsertStatementsFor( + const common::IdentifiedObjectNNPtr &object, + const std::string &authName, const std::string &code, bool numericCode, + const std::vector<std::string> &allowedAuthorities = {"EPSG", "PROJ"}); PROJ_DLL void stopInsertStatementsSession(); |
