diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-11-22 21:56:33 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-11-22 22:02:19 +0100 |
| commit | 549268ff39d4ef614bc8a32d7bd735e87802d78b (patch) | |
| tree | f71ea9e98581da6443c2b343eb0d7523fc36a79c /src/pj_ctx.c | |
| parent | b9d50247190e7b9ecd849ab260eb45edca3236cb (diff) | |
| download | PROJ-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 'src/pj_ctx.c')
| -rw-r--r-- | src/pj_ctx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pj_ctx.c b/src/pj_ctx.c index 6626d5ee..54e2cfb7 100644 --- a/src/pj_ctx.c +++ b/src/pj_ctx.c @@ -85,6 +85,7 @@ projCtx pj_get_default_ctx() default_context.app_data = NULL; default_context.fileapi = pj_get_default_fileapi(); default_context.cpp_context = NULL; + default_context.use_proj4_init_rules = FALSE; if( getenv("PROJ_DEBUG") != NULL ) { @@ -114,6 +115,7 @@ projCtx pj_ctx_alloc() memcpy( ctx, pj_get_default_ctx(), sizeof(projCtx_t) ); ctx->last_errno = 0; ctx->cpp_context = NULL; + ctx->use_proj4_init_rules = FALSE; return ctx; } |
