[Liblas-commits] hg: don't override pc_extent

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Nov 25 11:21:24 EST 2009


changeset 76503b6450f9 in /home/www/liblas.org/hg
details: http://hg.liblas.org/main/hg?cmd=changeset;node=76503b6450f9
summary: don't override pc_extent

diffstat:

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

diffs (29 lines):

diff -r c58362f937df -r 76503b6450f9 apps/las2oci.cpp
--- a/apps/las2oci.cpp	Tue Nov 24 12:03:11 2009 -0600
+++ b/apps/las2oci.cpp	Wed Nov 25 10:17:50 2009 -0600
@@ -776,11 +776,11 @@
     double x0, x1, y0, y1, z0, z1;
     double tolerance = 0.05;
     
-    if (bSetExtents){
-        x0 = xmin; x1 = xmax;
-        y0 = ymin; y1 = ymax;
-        z0 = zmin; z1 = zmax;
-    } else {
+    // if (bSetExtents){
+    //     x0 = xmin; x1 = xmax;
+    //     y0 = ymin; y1 = ymax;
+    //     z0 = zmin; z1 = zmax;
+    // } else {
         x0 = query->bounds.getLow(0);
         x1 = query->bounds.getHigh(0);
         y0 = query->bounds.getLow(1);
@@ -806,7 +806,7 @@
             z0 = 0.0;
             z1 = 20000.0;            
         }
-    }    
+    // }    
 
     s_geom << "           mdsys.sdo_geometry("<<s_gtype.str() <<", "<<s_srid.str()<<", null,\n"
 "              mdsys.sdo_elem_info_array"<< s_eleminfo.str() <<",\n"


More information about the Liblas-commits mailing list