From 126384854bf8e1b7461aebcc28966a6559971de1 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 4 Dec 2019 18:56:15 +0100 Subject: vertical grid shift: rework to no longer load whole grid into memory --- src/init.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index 1ed46e5a..69b4ec5f 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -649,9 +649,6 @@ pj_init_ctx_with_allow_init_epsg(projCtx ctx, int argc, char **argv, int allow_i PIN->gridlist = nullptr; PIN->gridlist_count = 0; - PIN->vgridlist_geoid = nullptr; - PIN->vgridlist_geoid_count = 0; - /* Set datum parameters. Similarly to +init parameters we want to expand */ /* +datum parameters as late as possible when dealing with pipelines. */ /* otherwise only the first occurrence of +datum will be expanded and that */ -- cgit v1.2.3 From 6875ef7116b9dab4021afeb06e2b79cd5679743b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 5 Dec 2019 01:03:46 +0100 Subject: horizontal grid shift: rework to no longer load whole grid into memory --- src/init.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index 69b4ec5f..19fcf47b 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -646,9 +646,6 @@ pj_init_ctx_with_allow_init_epsg(projCtx ctx, int argc, char **argv, int allow_i PIN->long_wrap_center = 0.0; strcpy( PIN->axis, "enu" ); - PIN->gridlist = nullptr; - PIN->gridlist_count = 0; - /* Set datum parameters. Similarly to +init parameters we want to expand */ /* +datum parameters as late as possible when dealing with pipelines. */ /* otherwise only the first occurrence of +datum will be expanded and that */ -- cgit v1.2.3