diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-11-14 17:40:42 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-11-14 22:48:29 +0100 |
| commit | d928db15d53805d9b728b440079756081961c536 (patch) | |
| tree | e862a961d26bedb34c58e4f28ef0bdeedb5f3225 /test/unit/main.cpp | |
| parent | 330e8bf686f9c4524075ca1ff50cbca6c9e091da (diff) | |
| download | PROJ-d928db15d53805d9b728b440079756081961c536.tar.gz PROJ-d928db15d53805d9b728b440079756081961c536.zip | |
Implement RFC 2: Initial integration of "GDAL SRS barn" work
This work mostly consists of:
- a C++ implementation of the ISO-19111:2018 / OGC Topic 2
"Referencing by coordinates" classes to represent Datums,
Coordinate systems, CRSs (Coordinate Reference Systems) and
Coordinate Operations.
- methods to convert between this C++ modeling and WKT1, WKT2
and PROJ string representations of those objects
- management and query of a SQLite3 database of CRS and Coordinate Operation definition
- a C API binding part of those capabilities
This is all-in-one squashed commit of the work of
https://github.com/OSGeo/proj.4/pull/1040
Diffstat (limited to 'test/unit/main.cpp')
| -rw-r--r-- | test/unit/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/main.cpp b/test/unit/main.cpp index ffa95e03..f24a7aa6 100644 --- a/test/unit/main.cpp +++ b/test/unit/main.cpp @@ -26,9 +26,14 @@ * DEALINGS IN THE SOFTWARE. ****************************************************************************/ +#include <locale> + #include "gtest_include.h" GTEST_API_ int main(int argc, char **argv) { + // Use a potentially non-C locale to make sure we are robust + setlocale(LC_ALL, ""); + testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } |
