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/projects.h | |
| 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/projects.h')
| -rw-r--r-- | src/projects.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/projects.h b/src/projects.h index e34fc9e0..8ab6f478 100644 --- a/src/projects.h +++ b/src/projects.h @@ -224,10 +224,11 @@ struct PJ_REGION_S { }; struct PJ_AREA { - int id; /* Area ID in the EPSG database */ - LP ll; /* Lower left corner of bounding box */ - LP ur; /* Upper right corner of bounding box */ - char descr[64]; /* text representation of area */ + int bbox_set; + double west_lon_degree; + double south_lat_degree; + double east_lon_degree; + double north_lat_degree; }; struct projCtx_t; @@ -596,6 +597,7 @@ struct projCtx_t { void *app_data; struct projFileAPI_t *fileapi; struct projCppContext* cpp_context; /* internal context for C++ code */ + int use_proj4_init_rules; }; /* classic public API */ |
