Guest User

Untitled

a guest
Jan 22nd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. Opening pointcloud/fixtures/test.las to fetch header
  2. Setting output base table to: lidar_base_pc
  3. Setting output block table to: lidar_block
  4. Setting output point cloud column to: pc
  5. Setting output base-table-boundary-wkt to: pointcloud/fixtures/test.las.wkt
  6. Inserting boundary into column: coverage_geometry
  7. Setting header blob column to: header
  8. Setting base-table-aux-columns to: system_identifier,file_signature,generating_software,min_x,min_y,min_z,version_major,global_encoding,file_creation_date,num_points_by_return,z_offset,max_z,max_x,max_y,x_scale_factor,z_scale_factor,original_file_size_bytes,pt_data_record_length,guid_data,file_source_id,path,version_minor,product_id,num_variable_length_records,pt_data_format_id,y_scale_factor,y_offset,x_offset,date_loaded,number_of_point_records
  9. Setting base-table-aux-values to: 'MODIFICATION','LASF','TerraScan','289814.15','4320978.61','170.58','1','0',to_date('19000101','YYYYMMDD'),'10-0-0-0-0-0-0-0','-0.0','170.76','289818.5','4320980.59','0.01','0.01','1039','28','00000000-0000-0000-0000-000000000000','0','pointcloud/fixtures/test.las','2','1','3','1','0.01','-0.0','-0.0',to_date('20110330','YYYYMMDD'),'10'
  10. Setting block capacity to: 5000
  11. Setting precision to: 8
  12. Setting output Oracle SRID to: 4326
  13. Setting output post-sql to: begin execute immediate 'alter procedure build_max_density compile'; build_max_density; end;
  14. Setting offsets to: 0 0 0
  15. Setting scales to: 1e-07 1e-07 0.0001
  16. Setting input SRS to 'EPSG:32617+4326'
  17. Setting output SRS to EPSG:4326+4326
  18. GDAL Debug: OGRCT: Source: +proj=utm +zone=17 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
  19. GDAL Debug: OGRCT: Target: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
  20. GDAL Debug: OGRCT: Source: +proj=utm +zone=17 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
  21. GDAL Debug: OGRCT: Target: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
  22. Connecting with username: test_lidar password: Im_a_lumberjack instance: 10.211.55.13/dev.localdomain
  23. Base table name lidar_base_pc cloud column: pc block table: lidar_block
  24. Oracle connection succeded
  25. GDAL Debug: PL/SQL:
  26. select table_name from user_tables where table_name like upper('%%lidar_block%%')
  27.  
  28. GDAL Debug: PL/SQL:
  29. CREATE TABLE lidar_block AS SELECT * FROM MDSYS.SDO_PC_BLK_TABLE
  30.  
  31. Chipping data for loading into Oracle with 5000 block capacity
  32. GDAL Debug: PL/SQL:
  33. SELECT COORD_REF_SYS_KIND from MDSYS.SDO_COORD_REF_SYSTEM WHERE SRID = :1
  34.  
  35. GDAL Debug: PL/SQL:
  36. declare
  37. pc_id NUMBER := :1;
  38. pc sdo_pc;
  39. begin
  40. -- Initialize the Point Cloud object.
  41. pc := sdo_pc_pkg.init(
  42. 'LIDAR_BASE_PC', -- Table that has the SDO_POINT_CLOUD column defined
  43. 'PC', -- Column name of the SDO_POINT_CLOUD object
  44. 'LIDAR_BLOCK', -- Table to store blocks of the point cloud
  45. 'blk_capacity=5000', -- max # of points per block
  46. mdsys.sdo_geometry(2003, 4326, null,
  47. mdsys.sdo_elem_info_array(1,1003,3),
  48. mdsys.sdo_ordinate_array(
  49. -83.4276,39.0126,-83.4275,39.0126)), -- Extent
  50. 0.5, -- Tolerance for point cloud
  51. 5, -- Total number of dimensions
  52. null);
  53. :1 := pc.pc_id;
  54. -- Insert the Point Cloud object into the "base" table.
  55. insert into LIDAR_BASE_PC ( ID, PC,SYSTEM_IDENTIFIER,FILE_SIGNATURE,GENERATING_SOFTWARE,MIN_X,MIN_Y,MIN_Z,VERSION_MAJOR,GLOBAL_ENCODING,FILE_CREATION_DATE,NUM_POINTS_BY_RETURN,Z_OFFSET,MAX_Z,MAX_X,MAX_Y,X_SCALE_FACTOR,Z_SCALE_FACTOR,ORIGINAL_FILE_SIZE_BYTES,PT_DATA_RECORD_LENGTH,GUID_DATA,FILE_SOURCE_ID,PATH,VERSION_MINOR,PRODUCT_ID,NUM_VARIABLE_LENGTH_RECORDS,PT_DATA_FORMAT_ID,Y_SCALE_FACTOR,Y_OFFSET,X_OFFSET,DATE_LOADED,NUMBER_OF_POINT_RECORDS,HEADER,COVERAGE_GEOMETRY) values ( pc.pc_id, pc,'MODIFICATION','LASF','TerraScan','289814.15','4320978.61','170.58','1','0',to_date('19000101','YYYYMMDD'),'10-0-0-0-0-0-0-0','-0.0','170.76','289818.5','4320980.59','0.01','0.01','1039','28','00000000-0000-0000-0000-000000000000','0','pointcloud/fixtures/test.las','2','1','3','1','0.01','-0.0','-0.0',to_date('20110330','YYYYMMDD'),'10', :2, SDO_GEOMETRY(:3, :4));
  56. end;
Add Comment
Please, Sign In to add comment