From 25f8c03774bd639af9e07f616211caada9d307f0 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 23 Feb 2020 19:45:20 +0100 Subject: Expose proj_context_is_network_enabled() in C API --- src/4D_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/4D_api.cpp') diff --git a/src/4D_api.cpp b/src/4D_api.cpp index 91510c35..88a0ed14 100644 --- a/src/4D_api.cpp +++ b/src/4D_api.cpp @@ -1152,7 +1152,7 @@ PJ *proj_create_crs_to_crs_from_pj (PJ_CONTEXT *ctx, const PJ *source_crs, cons ctx, operation_ctx, PROJ_SPATIAL_CRITERION_PARTIAL_INTERSECTION); proj_operation_factory_context_set_grid_availability_use( ctx, operation_ctx, - pj_context_is_network_enabled(ctx) ? + proj_context_is_network_enabled(ctx) ? PROJ_GRID_AVAILABILITY_KNOWN_AVAILABLE: PROJ_GRID_AVAILABILITY_DISCARD_OPERATION_IF_MISSING_GRID); -- cgit v1.2.3