Commit Graph

33 Commits

Author SHA1 Message Date
Sandboxed API Team
f086c39f42 Update clients of PolicyBuilder to support architectures other than x86_64.
PiperOrigin-RevId: 500181306
Change-Id: Ibf3e5e3ac6214394f2d9ab10cf30de6d8396988d
2023-01-06 14:31:59 -08:00
Christian Blichmann
4c87556901 Use Abseil's log/flags instead of glog/gflags
Follow-up changes might be required to fully fix up the contrib sandboxes.

PiperOrigin-RevId: 482475998
Change-Id: Iff631eb838a024b2f047a1be61bb27e35a8ff2f4
2022-10-20 06:48:51 -07:00
Christian Blichmann
6cbde854d6 #Cleanup: Consistently use char* argv[] instead of char**
PiperOrigin-RevId: 444782296
Change-Id: If8e7647be28f794392675ae001abbe9b809da0ac
2022-04-27 00:43:51 -07:00
Christian Blichmann
839914d6dd cmake: Rename build options to follow Abseil naming
`BUILD_TESTING` is a CMake provided option and we should use similar naming,
just like how Abseil does it.

- `SAPI_ENABLE_TESTS` -> `SAPI_BUILD_TESTING`
- `SAPI_ENABLE_CONTRIB_TESTS` -> `SAPI_CONTRIB_BUILD_TESTING`
- `SAPI_ENABLE_EXAMPLES` -> `SAPI_BUILD_EXAMPLES`

Drive-by:
- Fix option name in GitHub action
PiperOrigin-RevId: 443305932
Change-Id: Ice2b42be1229a0f9ae7c2ceda9ce87187baf22c4
2022-04-21 01:17:39 -07:00
Christian Blichmann
d451478e26 Change license link to HTTPS URL
PiperOrigin-RevId: 424811734
Change-Id: If5ea692edc56ddc9c99fd478673df41c0246e9cc
2022-01-28 01:39:09 -08:00
Christian Blichmann
75bbd0e1c1 Internal change
Only externally visible changes should be a few changed includes as well as
some formatting changes.

PiperOrigin-RevId: 353226662
Change-Id: Iebf5be13774efcbd94c5d5a17b9b27e47275b229
2021-01-22 06:01:34 -08:00
Christian Blichmann
dbaf95c724 Move utility code into sandboxed_api/util
This change should make it less confusing where utility code comes from.
Having it in two places made sense when we were debating whether to publish
Sandbox2 separately, but not any longer.

Follow-up changes will move `sandbox2/util.h` and rename the remaining
`sandbox2/util` folder.

PiperOrigin-RevId: 351601640
Change-Id: I6256845261f610e590c25e2c59851cc51da2d778
2021-01-13 09:25:52 -08:00
Copybara-Service
cba334a9d1 Merge pull request #64 from bohdanty:gdal_sandbox
PiperOrigin-RevId: 337856019
Change-Id: Ib1d9c5614f02da4df8d624f006f31ea09bb5c560
2020-10-19 08:08:03 -07:00
Bohdan Tyshchenko
5159b67d7d Moved test data to paths to environment variables
Added environment variables to remove relative paths from the code
2020-10-16 09:15:11 -07:00
Bohdan Tyshchenko
5711a66d77 Comments fix, code update to correspond latest SAPI version
Comments fix
Changed sapi::StatusOr to absl::StatusOr
Code changes according to new CStr(absl::string_view) constructor
2020-10-15 08:13:11 -07:00
Bohdan Tyshchenko
b1a1aef39e Project architecture redesign, coding style update
Put duplicated code inside the transaction, which is used by both tests and raster_to_gtiff
Removed <filesystem> header, reimplemented one of its utilities for file checking
Code style changes
Replaced .data() with .c_str() for std::string
Updated README to show how to build both GDAL and PROJ inside the build folder and how to link them to the sandbox
2020-10-13 13:03:04 -07:00
Bohdan Tyshchenko
48348d6aa5 Headers order fix, NOLINT project headers 2020-10-07 01:33:20 -07:00
Bohdan Tyshchenko
19612c642f Removed unnecessary code 2020-10-06 04:21:29 -07:00
Bohdan Tyshchenko
8e0141cc9a Readme fix 2020-10-06 04:12:50 -07:00
Bohdan Tyshchenko
22a8cee4ea Updated CMake and tests, wrote README
Added instructions on how to build GDAL Sandbox using GDAL and PROJ build from sources
Updated test data
2020-10-06 04:06:54 -07:00
Bohdan Tyshchenko
5442d8c6e0 Updated sandbox construction logic and CMakeLists
More flexible CMake file with variables
Added logic to check whether proj.db exists and fetch it from the environment variable
2020-10-05 11:01:15 -07:00
Bohdan Tyshchenko
b06d020f32 Raster to GTiff workflow implementation
Implemented simple GTiff file parser to test sandboxed part of code on a real data, added unit tests.
Need to improve the CMake file to make it work without specifying the absolute paths to libraries.
2020-10-01 03:59:18 -07:00
Copybara-Service
73be2c4212 Merge pull request #57 from doinachiroiu:master
PiperOrigin-RevId: 333529053
Change-Id: I6e2b7b31ecaa4f7ef11fc7b1260d441d897dd41a
2020-09-24 09:22:44 -07:00
doinachiroiu
e0624f7220 Clang-format 2020-09-24 14:42:23 +00:00
doinachiroiu
61e8274954 Coding style fixed 2020-09-24 14:40:01 +00:00
doinachiroiu
29310a2305 Required changes resolved 2020-09-24 14:38:52 +00:00
doinachiroiu
3db70e6bea Changed name of variable 2020-09-24 14:36:30 +00:00
doinachiroiu
56649c5513 Resolving returning error for Transform and RasterIO functions 2020-09-24 14:16:33 +00:00
Copybara-Service
5604c85129 Merge pull request #53 from doinachiroiu:master
PiperOrigin-RevId: 333505714
Change-Id: I719108c1e7df20185a8ba5dcf3906821c47a9ee3
2020-09-24 06:57:28 -07:00
doinachiroiu
db7fc0aa53 Removing trailing whitespace 2020-09-24 10:12:30 +00:00
doinachiroiu
08d570a02c Small README update 2020-09-24 09:41:50 +00:00
doinachiroiu
a84fbbac62 Required changed resolved 2020-09-24 09:40:30 +00:00
doinachiroiu
257de22805 Update README with static build info 2020-09-23 18:43:21 +00:00
doinachiroiu
7c52e77c85 Updated README 2020-09-23 18:35:19 +00:00
doinachiroiu
0639b18cba Added license 2020-09-23 15:49:44 +00:00
doinachiroiu
2da83c2afa GDAL good version 2020-09-23 15:39:49 +00:00
doinachiroiu
da81ea096e Empty gdal 2020-09-23 15:37:14 +00:00
doinachiroiu
93e30c724b Initial version of raster GeoTIFF workflow 2020-09-23 15:34:26 +00:00