Skip to content

Commit

Permalink
Update doc for spatialreference option.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Aug 10, 2017
1 parent 9136d28 commit 424d77c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions doc/stages/readers.las.rst
Expand Up @@ -97,3 +97,8 @@ _`compression`
support for the decompressor being requested. The LazPerf decompressor
doesn't support version 1 LAZ files or version 1.4 of LAS.
[Default: "laszip"]

_`spatialreference`
Sets the spatial reference for the file data. Overrides any spatial
reference information in the file itself. Most text-based formats of
SRS information are accepted, including WKT and proj.4.
5 changes: 4 additions & 1 deletion doc/stages/readers.oci.rst
Expand Up @@ -41,7 +41,10 @@ query
SELECT statement that returns an SDO_PC object as its first and only queried item [Required]

spatialreference
Spatial reference system of the data being read. E.g. "EPSG:26910".
_`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.
Expand Down
6 changes: 4 additions & 2 deletions doc/stages/readers.pgpointcloud.rst
Expand Up @@ -52,7 +52,9 @@ column
Table column to read patches from. [Default: **pa**]

spatialreference
The spatial reference to use for the points. Over-rides the value read from the database.

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

.. _PostgreSQL Pointcloud: https://github.com/pramsey/pointcloud
1 change: 1 addition & 0 deletions pdal/Stage.cpp
Expand Up @@ -448,6 +448,7 @@ void Stage::l_initialize(PointTableRef table)
}


// This function allows m_spatialReference to remain private.
void Stage::addSpatialReferenceArg(ProgramArgs& args)
{
args.add("spatialreference", "Spatial reference to apply to data",
Expand Down

0 comments on commit 424d77c

Please sign in to comment.