From 8a67a3fb96ffdb29887b2954dd4bb8af92f6960d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sat, 13 Mar 2021 11:46:08 +0100 Subject: SQL output: add capability to restrict the authorities into which to look for intermediate objects --- include/proj/io.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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 - getInsertStatementsFor(const common::IdentifiedObjectNNPtr &object, - const std::string &authName, const std::string &code, - bool numericCode); + PROJ_DLL std::vector getInsertStatementsFor( + const common::IdentifiedObjectNNPtr &object, + const std::string &authName, const std::string &code, bool numericCode, + const std::vector &allowedAuthorities = {"EPSG", "PROJ"}); PROJ_DLL void stopInsertStatementsSession(); -- cgit v1.2.3