Changeset 1597:859b71bc722c
- Timestamp:
- 03/01/10 07:43:01 (5 months ago)
- Branch:
- default
- File:
-
- 1 edited
-
apps/las2oci.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
apps/las2oci.cpp
r1596 r1597 683 683 long* p_srid = 0; 684 684 685 if (srid) { 685 686 if (srid != 0) { 686 687 p_srid = (long*) malloc (1 * sizeof(long)); 687 688 p_srid[0] = srid; 689 printf("srid: %d", p_srid[0]); 688 690 } 689 691 statement->Bind(p_srid); … … 1078 1080 double tolerance = 0.05; 1079 1081 1080 // if (bSetExtents){ 1081 // x0 = xmin; x1 = xmax; 1082 // y0 = ymin; y1 = ymax; 1083 // z0 = zmin; z1 = zmax; 1084 // } else { 1082 // Nuke our extents of we're overridding them 1083 if (bSetExtents){ 1084 e->x0 = xmin; e->x1 = xmax; 1085 e->y0 = ymin; e->y1 = ymax; 1086 e->z0 = zmin; e->z1 = zmax; 1087 } 1085 1088 // x0 = query->bounds.getLow(0); 1086 1089 // x1 = query->bounds.getHigh(0); … … 1410 1413 bSetExtents = true; 1411 1414 } 1412 else if ( strcmp(argv[i],"--xmin") == 0 ||1413 strcmp(argv[i],"-xmin") == 01414 )1415 {1416 i++;1417 xmin = atof(argv[i]);1418 printf("xmin: %.3f", xmin);1419 bSetExtents = true;1420 }1421 1415 1422 1416 else if ( strcmp(argv[i],"--xmax") == 0 ||
Note: See TracChangeset
for help on using the changeset viewer.
