[Liblas-commits] hg-main-tree: remove extra qualification
liblas-commits at liblas.org
liblas-commits at liblas.org
Mon Apr 25 11:49:40 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/cfe1c3ffaeb2
changeset: 636:cfe1c3ffaeb2
user: Howard Butler <hobu.inc at gmail.com>
date: Mon Apr 25 10:49:19 2011 -0500
description:
remove extra qualification
Subject: hg-main-tree: GDAL_DATA and PROJ_LIB aren't necessary on *nix
details: http://hg.libpc.orghg-main-tree/rev/7f1b39cf6d36
changeset: 637:7f1b39cf6d36
user: Howard Butler <hobu.inc at gmail.com>
date: Mon Apr 25 10:49:33 2011 -0500
description:
GDAL_DATA and PROJ_LIB aren't necessary on *nix
diffstat:
include/libpc/drivers/las/VariableLengthRecord.hpp | 2 +-
test/unit/SpatialReferenceTest.cpp | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r c9779003f5d4 -r 7f1b39cf6d36 include/libpc/drivers/las/VariableLengthRecord.hpp
--- a/include/libpc/drivers/las/VariableLengthRecord.hpp Fri Apr 22 16:34:38 2011 -0700
+++ b/include/libpc/drivers/las/VariableLengthRecord.hpp Mon Apr 25 10:49:33 2011 -0500
@@ -68,7 +68,7 @@
static void setSRSFromVLRs(const std::vector<VariableLengthRecord>& vlrs, SpatialReference& srs);
static void setVLRsFromSRS(const SpatialReference& srs, std::vector<VariableLengthRecord>& vlrs);
- bool VariableLengthRecord::isGeoVLR() const;
+ bool isGeoVLR() const;
enum GeoVLRType
{
eGeoTIFF = 1,
diff -r c9779003f5d4 -r 7f1b39cf6d36 test/unit/SpatialReferenceTest.cpp
--- a/test/unit/SpatialReferenceTest.cpp Fri Apr 22 16:34:38 2011 -0700
+++ b/test/unit/SpatialReferenceTest.cpp Mon Apr 25 10:49:33 2011 -0500
@@ -45,14 +45,16 @@
BOOST_AUTO_TEST_SUITE(SpatialReferenceTest)
- BOOST_AUTO_TEST_CASE(test_env_vars)
+BOOST_AUTO_TEST_CASE(test_env_vars)
{
+
+#ifdef _MSC_VER
const char* gdal_data = getenv("GDAL_DATA");
const char* proj_lib = getenv("PROJ_LIB");
BOOST_CHECK(libpc::Utils::fileExists(gdal_data));
BOOST_CHECK(libpc::Utils::fileExists(proj_lib));
-
+#endif
return;
}
More information about the Liblas-commits
mailing list