@@ -32,7 +32,7 @@ GI.getpoint(::GI.LineStringTrait, g::LineString, i::Int) = Point(coordinates = g
3232# TODO should this be an approximate equals for floating point?
3333GI. isclosed (:: GI.LineStringTrait , g:: LineString ) = first (g) == last (g)
3434GI. convert (:: Type{<:LineString} , :: GI.LineStringTrait , geom) =
35- LineString (; coordinates= coordinates (geom))
35+ LineString (; coordinates= GI . coordinates (geom))
3636
3737GI. ngeom (:: GI.PolygonTrait , g:: Polygon ) = length (g)
3838GI. getgeom (:: GI.PolygonTrait , g:: Polygon , i:: Integer ) = LineString (coordinates = g[i])
@@ -41,26 +41,26 @@ GI.getexterior(::GI.PolygonTrait, g::Polygon) = LineString(coordinates = first(g
4141GI. nhole (:: GI.PolygonTrait , g:: Polygon ) = length (g) - 1
4242GI. gethole (:: GI.PolygonTrait , g:: Polygon , i:: Int ) = LineString (coordinates = g[i+ 1 ])
4343GI. convert (:: Type{<:Polygon} , :: GI.PolygonTrait , geom) =
44- Polygon (; coordinates= coordinates (geom))
44+ Polygon (; coordinates= GI . coordinates (geom))
4545
4646GI. ncoord (:: GI.MultiPointTrait , g:: MultiPoint ) = length (first (g))
4747GI. ngeom (:: GI.MultiPointTrait , g:: MultiPoint ) = length (g)
4848GI. getgeom (:: GI.MultiPointTrait , g:: MultiPoint , i:: Int ) = Point (coordinates = g[i])
4949GI. convert (:: Type{<:MultiPoint} , :: GI.MultiPointTrait , geom) =
50- MultiPoint (; coordinates= coordinates (geom))
50+ MultiPoint (; coordinates= GI . coordinates (geom))
5151
5252GI. ncoord (:: GI.MultiLineStringTrait , g:: MultiLineString ) = length (first (first (g)))
5353GI. ngeom (:: GI.MultiLineStringTrait , g:: MultiLineString ) = length (g)
5454GI. getgeom (:: GI.MultiLineStringTrait , g:: MultiLineString , i:: Int ) =
5555 LineString (coordinates = g[i])
5656GI. convert (:: Type{<:MultiLineString} , :: GI.MultiLineStringTrait , geom) =
57- MultiLineString (; coordinates= coordinates (geom))
57+ MultiLineString (; coordinates= GI . coordinates (geom))
5858
5959GI. ncoord (:: GI.MultiPolygonTrait , g:: MultiPolygon ) = length (first (first (first (g))))
6060GI. ngeom (:: GI.MultiPolygonTrait , g:: MultiPolygon ) = length (g)
6161GI. getgeom (:: GI.MultiPolygonTrait , g:: MultiPolygon , i:: Int ) = Polygon (coordinates = g[i])
6262GI. convert (:: Type{<:MultiPolygon} , :: GI.MultiPolygonTrait , geom) =
63- MultiLineString (; coordinates= coordinates (geom))
63+ MultiLineString (; coordinates= GI . coordinates (geom))
6464
6565GI. ncoord (:: GI.GeometryCollectionTrait , g:: GeometryCollection ) = GI. ncoord (first (g))
6666GI. ngeom (:: GI.GeometryCollectionTrait , g:: GeometryCollection ) = length (g)
0 commit comments