-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,7 @@ xdem = | |
include = | ||
xdem | ||
xdem.coreg | ||
xdem.epc | ||
|
||
[options.extras_require] | ||
opt = | ||
|
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,5 @@ | ||
"""Test module for EPC class.""" | ||
|
||
class TestEPC: | ||
|
||
|
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,26 @@ | ||
"""Module for the ElevationPointCloud class.""" | ||
from __future__ import annotations | ||
|
||
from geoutils import PointCloud | ||
|
||
class EPC(PointCloud): | ||
""" | ||
The georeferenced elevation point cloud. | ||
An elevation point cloud is a vector of 3D point geometries, or a vector of 2D point geometries associated to | ||
an elevation value from a main data column, optionally with auxiliary data columns. | ||
Main attributes: | ||
ds: :class:`geopandas.GeoDataFrame` | ||
Geodataframe of the point cloud. | ||
data_column: str | ||
Name of point cloud data column. | ||
crs: :class:`pyproj.crs.CRS` | ||
Coordinate reference system of the point cloud. | ||
bounds: :class:`rio.coords.BoundingBox` | ||
Coordinate bounds of the point cloud. | ||
All other attributes are derivatives of those attributes, or read from the file on disk. | ||
See the API for more details. | ||
""" |