aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 61457cb6..b45c1128 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -589,6 +589,9 @@ pj_init_ctx_with_allow_init_epsg(PJ_CONTEXT *ctx, int argc, char **argv, int all
/* Over-ranging flag */
PIN->over = pj_param(ctx, start, "bover").i;
+ if (ctx->forceOver) {
+ PIN->over = ctx->forceOver;
+ }
/* Vertical datum geoid grids */
PIN->has_geoid_vgrids = pj_param(ctx, start, "tgeoidgrids").i;