diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-02-23 19:45:20 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-02-24 10:32:24 +0100 |
| commit | 25f8c03774bd639af9e07f616211caada9d307f0 (patch) | |
| tree | 84d8bf3644da6398cd0abeed0a5435f9863d727c /src/4D_api.cpp | |
| parent | 57595327b253f23ba4330fb1cda3d7bb66bbc81d (diff) | |
| download | PROJ-25f8c03774bd639af9e07f616211caada9d307f0.tar.gz PROJ-25f8c03774bd639af9e07f616211caada9d307f0.zip | |
Expose proj_context_is_network_enabled() in C API
Diffstat (limited to 'src/4D_api.cpp')
| -rw-r--r-- | src/4D_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
