-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into issue-3242
- Loading branch information
Showing
101 changed files
with
4,471 additions
and
887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
option(WITH_DRACO "Choose if Draco support should be built" TRUE) | ||
find_package(Draco EXACT 1.3.6) | ||
|
||
if (WITH_DRACO) | ||
set_package_properties(Draco PROPERTIES TYPE RECOMMENDED | ||
PURPOSE "Provides Draco compression") | ||
if(Draco_FOUND) | ||
include_directories(${draco_INCLUDE_DIR}) | ||
set(CMAKE_REQUIRED_LIBRARIES ${draco_LIBRARIES}) | ||
set(PDAL_HAVE_DRACO 1) | ||
set(BUILD_PLUGIN_DRACO 1) | ||
set(DRACO_LIBRARY "draco") | ||
else() | ||
set(WITH_DRACO FALSE) | ||
endif() | ||
else() | ||
set(WITH_DRACO FALSE) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# | ||
# Unwind | ||
# | ||
set(FPHSA_NAME_MISMATCHED 1) # Suppress warnings, see https://cmake.org/cmake/help/v3.17/module/FindPackageHandleStandardArgs.html | ||
find_package(Libexecinfo QUIET) | ||
set(FPHSA_NAME_MISMATCHED 0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# | ||
# Unwind | ||
# | ||
|
||
set(FPHSA_NAME_MISMATCHED 1) # Suppress warnings, see https://cmake.org/cmake/help/v3.17/module/FindPackageHandleStandardArgs.html | ||
find_package(Libunwind QUIET) | ||
set(FPHSA_NAME_MISMATCHED 0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
.. _filters.gpstimeconvert: | ||
|
||
filters.gpstimeconvert | ||
====================== | ||
|
||
The **gpstimeconvert** filter converts between three GPS time standards found in | ||
lidar data: | ||
|
||
1. GPS time (gt) | ||
2. GPS standard time (gst), also known as GPS adjusted time | ||
3. GPS week seconds (gws) | ||
|
||
Since GPS week seconds are ambiguous (they reset to 0 at the start of each new | ||
GPS week), care must be taken when they are the source or destination of a | ||
conversion: | ||
|
||
* When converting from GPS week seconds, the GPS week number must be known. This | ||
is accomplished by specifying the start_date_ (in the GMT time zone) on which | ||
the data collection started. The filter will resolve the ambiguity using the | ||
supplied start date. | ||
* When converting from GPS week seconds and the times span a new GPS week, the | ||
presence or absence of week second wrapping must be specified with the | ||
wrapped_ option. Wrapped week seconds reset to 0 at the start of a new week; | ||
unwrapped week seconds are allowed to exceed 604800 (60x60x24x7) seconds. | ||
* When converting to GPS week seconds, the week second wrapping preference | ||
should be specified with the wrap_ option. | ||
|
||
.. note:: | ||
|
||
The filter assumes points are ordered by ascending time, which can be | ||
accomplished by running :ref:`filters.sort` prior to | ||
``filters.gpstimeconvert``. Note that GPS week second times that span a new | ||
GPS week should not be sorted unless they are unwrapped. | ||
|
||
Example #1 | ||
---------- | ||
Convert from GPS time to GPS standard time. | ||
|
||
.. code-block:: json | ||
[ | ||
"input.las", | ||
{ | ||
"type":"filters.gpstimeconvert", | ||
"conversion":"gt2gst" | ||
}, | ||
"output.las" | ||
] | ||
Example #2 | ||
---------- | ||
Convert from GPS standard time to unwrapped GPS week seconds. | ||
|
||
.. code-block:: json | ||
[ | ||
"input.las", | ||
{ | ||
"type":"filters.sort", | ||
"dimension":"GpsTime", | ||
"order":"ASC" | ||
}, | ||
{ | ||
"type":"filters.gpstimeconvert", | ||
"conversion":"gst2gws", | ||
"wrap":false | ||
} | ||
] | ||
Example #3 | ||
---------- | ||
Convert from wrapped GPS week seconds to GPS time. | ||
|
||
.. code-block:: json | ||
[ | ||
"input.las", | ||
{ | ||
"type":"filters.gpstimeconvert", | ||
"conversion":"gws2gt", | ||
"start_date":"2020-12-12", | ||
"wrapped":true | ||
}, | ||
"output.las" | ||
] | ||
Options | ||
------- | ||
|
||
conversion | ||
The time conversion. Must be one of the following: "gst2gt", "gst2gws", | ||
"gt2gst", "gt2gws", "gws2gst", or "gws2gt". [Required] | ||
|
||
_`start_date` | ||
When the input times are in GPS week seconds, the date on which the data | ||
collection started must be supplied in the GMT time zone. Must be in | ||
"YYYY-MM-DD" format. [Required for the "gws2gt" and "gws2gst" conversions] | ||
|
||
_`wrap` | ||
Whether to output wrapped (true) or unwrapped (false) GPS week seconds. | ||
[Default: false] | ||
|
||
_`wrapped` | ||
Specifies whether input GPS week seconds are wrapped (true) or unwrapped | ||
(false). [Default: false] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.