-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from JuliaGeo/check
some editing of #33
- Loading branch information
Showing
11 changed files
with
183 additions
and
149 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 |
---|---|---|
|
@@ -4,4 +4,3 @@ | |
/docs/build/ | ||
.DS_Store | ||
docs/src/reference/integrations.md | ||
|
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
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,19 +1,49 @@ | ||
module GeoInterface | ||
|
||
using Base.Iterators | ||
using Base.Iterators: flatten | ||
|
||
export testgeometry, isgeometry, geomtype, ncoord, getcoord, ngeom, getgeom | ||
|
||
# traits | ||
export AbstractGeometryTrait, | ||
AbstractGeometryCollectionTrait, | ||
GeometryCollectionTrait, | ||
AbstractPointTrait, | ||
PointTrait, | ||
AbstractCurveTrait, | ||
AbstractLineStringTrait, | ||
LineStringTrait, | ||
LineTrait, | ||
LinearRingTrait, | ||
CircularStringTrait, | ||
CompoundCurveTrait, | ||
AbstractSurfaceTrait, | ||
AbstractCurvePolygonTrait, | ||
CurvePolygonTrait, | ||
AbstractPolygonTrait, | ||
PolygonTrait, | ||
TriangleTrait, | ||
RectangleTrait, | ||
QuadTrait, | ||
PentagonTrait, | ||
HexagonTrait, | ||
AbstractPolyHedralSurfaceTrait, | ||
PolyHedralSurfaceTrait, | ||
TINTrait, | ||
AbstractMultiPointTrait, | ||
MultiPointTrait, | ||
AbstractMultiCurveTrait, | ||
MultiCurveTrait, | ||
AbstractMultiLineStringTrait, | ||
MultiLineStringTrait, | ||
AbstractMultiSurfaceTrait, | ||
MultiSurfaceTrait, | ||
AbstractMultiPolygonTrait, | ||
MultiPolygonTrait | ||
|
||
include("types.jl") | ||
include("interface.jl") | ||
include("defaults.jl") | ||
include("fallbacks.jl") | ||
include("utils.jl") | ||
|
||
export testgeometry | ||
export isgeometry | ||
|
||
export geomtype | ||
export ncoord | ||
export getcoord | ||
export ngeom | ||
export getgeom | ||
|
||
end # module |
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
Oops, something went wrong.