Changeset 1595:b013f17b94d1
- Timestamp:
- 02/25/10 11:43:48 (5 months ago)
- Branch:
- default
- File:
-
- 1 edited
-
apps/las2oci.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
apps/las2oci.cpp
r1594 r1595 408 408 double x0, x1, y0, y1, z0, z1; 409 409 // const SpatialIndex::Region* b = result.GetBounds(); 410 411 x0 = b->getLow(0); 412 x1 = b->getHigh(0); 413 y0 = b->getLow(1); 414 y1 = b->getHigh(1); 415 410 416 if (bUse3d) { 411 417 try { … … 647 653 648 654 long* p_num_points = (long*) malloc (1 * sizeof(long)); 649 p_num_points[0] = num_points; 655 p_num_points[0] = (long)num_points; 656 657 printf("num points: %d", *p_num_points); 650 658 651 659 // :1 … … 653 661 654 662 // :2 655 statement->Bind( &n_results);663 statement->Bind( p_result_id ); 656 664 657 665 // :3 658 statement->Bind( (long*)&num_points); 666 statement->Bind( p_num_points ); 667 printf("num poitns: %d", num_points); 659 668 660 669 // :4 … … 1677 1686 } 1678 1687 1688 con->Commit(); 1679 1689 } 1680 1690 //
Note: See TracChangeset
for help on using the changeset viewer.
