aboutsummaryrefslogtreecommitdiff
path: root/src/projects.h
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2017-10-20 22:11:18 +0200
committerGitHub <noreply@github.com>2017-10-20 22:11:18 +0200
commit9311b85611ad78158dfc62098e96e45930b5d825 (patch)
tree65b9d31d9870b7fa37bdb47f41feff3cc2ccfd10 /src/projects.h
parent95d51f1df697d0ab3367ee92af40c1494878ca92 (diff)
downloadPROJ-9311b85611ad78158dfc62098e96e45930b5d825.tar.gz
PROJ-9311b85611ad78158dfc62098e96e45930b5d825.zip
Addition of an "area of use" argument to proj_transform_crs_to_crs (#565)
In anticipation of a late-binding implementation of the proj_transform_crs_to_crs function an area argument is added to the function prototype. The PJ_AREA struct is not in use yet, but will be when the function is more tightly coupled to the EPSG database in the future.
Diffstat (limited to 'src/projects.h')
-rw-r--r--src/projects.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/projects.h b/src/projects.h
index 2af382e5..cbb980ca 100644
--- a/src/projects.h
+++ b/src/projects.h
@@ -200,6 +200,12 @@ struct PJ_REGION_S {
double ur_lat;
};
+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 */
+};
struct projCtx_t;
typedef struct projCtx_t projCtx_t;