File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ GeoInterface.isgeometry(::Type{<:AbstractGeometry}) = true
44GeoInterface. isgeometry (:: Type{<:AbstractFace} ) = true
55GeoInterface. isgeometry (:: Type{<:AbstractPoint} ) = true
66GeoInterface. isgeometry (:: Type{<:AbstractMesh} ) = true
7+ GeoInterface. isgeometry (:: Type{<:AbstractLineString} ) = true
8+ GeoInterface. isgeometry (:: Type{<:AbstractPolygon} ) = true
9+ GeoInterface. isgeometry (:: Type{<:MultiPoint} ) = true
10+ GeoInterface. isgeometry (:: Type{<:MultiLineString} ) = true
11+ GeoInterface. isgeometry (:: Type{<:MultiPolygon} ) = true
12+ GeoInterface. isgeometry (:: Type{<:Mesh} ) = true
713
814GeoInterface. geomtrait (:: Point ) = PointTrait ()
915GeoInterface. geomtrait (:: Line ) = LineTrait ()
@@ -18,6 +24,7 @@ GeoInterface.geomtrait(::AbstractMesh) = PolyhedralSurfaceTrait()
1824# GeoInterface calls this method in `GeoInterface.convert(GeometryBasics, ...)`
1925geointerface_geomtype (:: GeoInterface.PointTrait ) = Point
2026geointerface_geomtype (:: GeoInterface.MultiPointTrait ) = MultiPoint
27+ geointerface_geomtype (:: GeoInterface.LineTrait ) = Line
2128geointerface_geomtype (:: GeoInterface.LineStringTrait ) = LineString
2229geointerface_geomtype (:: GeoInterface.MultiLineStringTrait ) = MultiLineString
2330geointerface_geomtype (:: GeoInterface.PolygonTrait ) = Polygon
You can’t perform that action at this time.
0 commit comments