Skip to content

Commit 1edb9e7

Browse files
committed
Update readme
1 parent ef380c3 commit 1edb9e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ julia> metafree(poi)
4949
3
5050
1
5151

52+
# for other geometries metatypes are predefined
53+
julia> multipoi = MultiPointMeta([p1], city="Abuja", rainfall=1221.2)
54+
1-element MultiPointMeta{Point{2,Int64},MultiPoint{2,Int64,Point{2,Int64},Array{Point{2,Int64},1}},(:city, :rainfall),Tuple{String,Float64}}:
55+
[3, 1]
56+
5257
# connect the points with lines
5358
julia> l1 = Line(p1, p2)
5459
Line([3, 1] => [1, 3])

0 commit comments

Comments
 (0)