[Liblas-commits] hg: test wkt, not base_table_boundary_wkt for emptiness

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Mar 28 11:52:46 EDT 2011


details:   http://hg.liblas.orghg/rev/5584bb0f50ef
changeset: 2911:5584bb0f50ef
user:      Howard Butler <hobu.inc at gmail.com>
date:      Mon Mar 28 10:52:41 2011 -0500
description:
test wkt, not base_table_boundary_wkt for emptiness

diffstat:

 apps/las2oci.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7298fce2605b -r 5584bb0f50ef apps/las2oci.cpp
--- a/apps/las2oci.cpp	Mon Mar 28 10:45:08 2011 -0500
+++ b/apps/las2oci.cpp	Mon Mar 28 10:52:41 2011 -0500
@@ -822,7 +822,7 @@
             base_table_boundary_column = vm["base-table-boundary-column"].as< string >();
             std::string wkt = vm["base-table-boundary-wkt"].as< string >();
             // base_table_boundary_wkt
-            if (base_table_boundary_wkt.size() == 0)
+            if (wkt.size() == 0)
             {
                 std::cerr << "base-table-boundary-column specified, but no wkt given with base-table-boundary-wkt!\n";
                 return 1;                


More information about the Liblas-commits mailing list