aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-11-22 21:56:33 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-11-22 22:02:19 +0100
commit549268ff39d4ef614bc8a32d7bd735e87802d78b (patch)
treef71ea9e98581da6443c2b343eb0d7523fc36a79c /include
parentb9d50247190e7b9ecd849ab260eb45edca3236cb (diff)
downloadPROJ-549268ff39d4ef614bc8a32d7bd735e87802d78b.tar.gz
PROJ-549268ff39d4ef614bc8a32d7bd735e87802d78b.zip
Make proj_create_crs_to_crs() use proj_obj_create_operations() and use area of use argument, and make createFromUserInput() recognize init=epsg: / init=IGNF: in legacy mode, that is when proj_context_get_use_proj4_init_rules() is used
Diffstat (limited to 'include')
-rw-r--r--include/proj/io.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp
index c649fa9f..3b5019c1 100644
--- a/include/proj/io.hpp
+++ b/include/proj/io.hpp
@@ -597,7 +597,8 @@ class PROJ_GCC_DLL WKTNode {
PROJ_DLL util::BaseObjectNNPtr
createFromUserInput(const std::string &text,
- const DatabaseContextPtr &dbContext);
+ const DatabaseContextPtr &dbContext,
+ bool usePROJ4InitRules = false);
// ---------------------------------------------------------------------------
@@ -654,6 +655,8 @@ class PROJ_GCC_DLL PROJStringParser {
PROJ_DLL PROJStringParser &
attachDatabaseContext(const DatabaseContextPtr &dbContext);
+ PROJ_DLL PROJStringParser &setUsePROJ4InitRules(bool enable);
+
PROJ_DLL std::vector<std::string> warningList() const;
PROJ_DLL util::BaseObjectNNPtr createFromPROJString(