Skip to content

Commit

Permalink
set gdal aws default region to us-west-2
Browse files Browse the repository at this point in the history
  • Loading branch information
elidwa committed Oct 11, 2023
1 parent 52cfa45 commit 1c41114
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions packages/geo/geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,19 @@ void test_projlib(void)
static void configGDAL(void)
{
/*
* Very verbose GDAL and CURL tracing, works with release build (-03)
* Verbose GDAL debug messages
*/
#if 0
CPLSetConfigOption("CPL_DEBUG", "ON");
#endif
CPLSetConfigOption("CPL_DEBUG", "OFF");

/*
* Very, very verbose CURL tracing
*/
CPLSetConfigOption("CPL_CURL_VERBOSE", "NO");

/*
* AWS region, defaults to us-east-1
*/
CPLSetConfigOption("AWS_DEFAULT_REGION", "us-west-2");

/*
* When reading datasets with necessary external sidecar files, it's imperative to set FALSE.
Expand Down

0 comments on commit 1c41114

Please sign in to comment.