aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-11-26 15:47:57 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-11-29 00:35:25 +0100
commit67758b2c67ea329116b59818c038797667c4e1d1 (patch)
tree7e6b4ead6cbe9251ea5ef64d6c45179287597b2e /src/proj.h
parent7e05bd0ff52fe3ba78dfd75f9ebebe3dfe715bca (diff)
downloadPROJ-67758b2c67ea329116b59818c038797667c4e1d1.tar.gz
PROJ-67758b2c67ea329116b59818c038797667c4e1d1.zip
Redirect epsg:XXXX and IGNF:XXXX CRS expansions to the database, and remove the data/epsg and data/IGNF files
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/proj.h b/src/proj.h
index 31cd730c..711f8f66 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -336,7 +336,7 @@ PJ_CONTEXT PROJ_DLL *proj_context_create (void);
PJ_CONTEXT PROJ_DLL *proj_context_destroy (PJ_CONTEXT *ctx);
void PROJ_DLL proj_context_use_proj4_init_rules(PJ_CONTEXT *ctx, int enable);
-int PROJ_DLL proj_context_get_use_proj4_init_rules(PJ_CONTEXT *ctx);
+int PROJ_DLL proj_context_get_use_proj4_init_rules(PJ_CONTEXT *ctx, int from_legacy_code_path);
/* Manage the transformation definition object PJ */
PJ PROJ_DLL *proj_create (PJ_CONTEXT *ctx, const char *definition);
@@ -458,6 +458,9 @@ int PROJ_DLL proj_context_set_database_path(PJ_CONTEXT *ctx,
const char PROJ_DLL *proj_context_get_database_path(PJ_CONTEXT *ctx);
+const char PROJ_DLL *proj_context_get_database_metadata(PJ_CONTEXT* ctx,
+ const char* key);
+
/** \brief Guessed WKT "dialect". */
typedef enum
{