Skip to content

Commit bf9863a

Browse files
authored
Add metatype for MultiLineString(Polyline)
1 parent 0cc4a97 commit bf9863a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/metadata.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,7 @@ Base.getindex(x::SimplexFaceMeta, idx::Int) = getindex(metafree(x), idx)
166166
@meta_type(MultiPoint, points, AbstractVector, P)
167167
Base.getindex(x::MultiPointMeta, idx::Int) = getindex(metafree(x), idx)
168168
Base.size(x::MultiPointMeta) = size(metafree(x))
169+
170+
@meta_type(MultiLineString, linestrings, AbstractVector, P)
171+
Base.getindex(x::MultiLineStringMeta, idx::Int) = getindex(metafree(x), idx)
172+
Base.size(x::MultiLineStringMeta) = size(metafree(x))

0 commit comments

Comments
 (0)