You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/transformations/correction/geometry_correction.jl
+15-8Lines changed: 15 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,13 @@ This abstract type represents a geometry correction.
33
33
## Interface
34
34
35
35
Any `GeometryCorrection` must implement two functions:
36
-
* `application_level(::GeometryCorrection)::AbstractGeometryTrait`: This function should return the `GeoInterface` trait that the correction is intended to be applied to, like `PointTrait` or `LineStringTrait` or `PolygonTrait`.
37
-
* `(::GeometryCorrection)(::AbstractGeometryTrait, geometry)::(some_geometry)`: This function should apply the correction to the given geometry, and return a new geometry.
36
+
- `application_level(::GeometryCorrection)::TraitTarget`: This function should
37
+
return the `GeoInterface` trait that the correction is intended to be applied to,
38
+
like `PointTrait` or `LineStringTrait` or `PolygonTrait`. It can also return a
39
+
union of traits via `TraitTarget`, but that behaviour is a bit tricky...
0 commit comments