We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3d869d commit 942ea1fCopy full SHA for 942ea1f
src/geointerface.jl
@@ -26,6 +26,7 @@ GeoInterface.getgeom(::MultiPointTrait, ds::Dataset, i) = ds[i]
26
27
# GeoInterface.crs(geomtrait(geom), geom::customgeom)::GeoFormatTypes.GeoFormat
28
GeoInterface.extent(::MultiPointTrait, ds::Dataset) = Extent(X=(ds.header.min_x, ds.header.max_x), Y=(ds.header.min_y, ds.header.max_y), Z=(ds.header.min_z, ds.header.max_z))
29
+GeoInterface.extent(::FeatureCollectionTrait, ds::Dataset) = Extent(X=(ds.header.min_x, ds.header.max_x), Y=(ds.header.min_y, ds.header.max_y), Z=(ds.header.min_z, ds.header.max_z))
30
31
GeoInterface.isfeaturecollection(::Type{Dataset}) = true
32
GeoInterface.nfeature(::FeatureCollectionTrait, ds::Dataset) = length(ds)
0 commit comments