Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.62 KB

readers.oci.rst

File metadata and controls

55 lines (37 loc) · 1.62 KB

readers.oci

The OCI reader is used to read data from Oracle point cloud databases.

Example

{
  "pipeline":[
    {
      "type":"readers.oci",
      "query":"SELECT \r\n            l.\"OBJ_ID\", l.\"BLK_ID\", l.\"BLK_EXTENT\", \r\n            l.\"BLK_DOMAIN\", l.\"PCBLK_MIN_RES\", \r\n            l.\"PCBLK_MAX_RES\", l.\"NUM_POINTS\",\r\n            l.\"NUM_UNSORTED_POINTS\", l.\"PT_SORT_DIM\", \r\n            l.\"POINTS\", b.cloud\r\n          FROM AUTZEN_BLOCKS l, AUTZEN_CLOUD b\r\n          WHERE l.obj_id = b.id and l.obj_id in (1,2)\r\n          ORDER BY l.obj_id",
      "connection":"grid/grid@localhost/orcl",
      "populate_pointsourceid":"true"
    },
    {
      "type":"writers.las",
      "filename":"outputfile.las"
    }
  ]
}

Options

connection

Oracle connection string to connect to database, in the form "user/pass@host/instance" [Required]

query

SELECT statement that returns an SDO_PC object as its first and only queried item [Required]

spatialreference
_spatialreference

Sets the spatial reference for the point ata. Overrides any spatial reference information read from the database. Most text-based formats of SRS information are accepted, including WKT and proj.4.

xml_schema_dump

Filename to dump the XML schema to.

populate_pointsourceid

Boolean value. If true, then add in a point cloud to every point read on the PointSourceId dimension. [Default: false]