Skip to content

Commit 7bf317a

Browse files
committed
Fix numbertype docstring.
1 parent 6e8e18c commit 7bf317a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/io.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
"""
2-
GeoJSON.read(json::String; lazyfc=false, ndim=2)
2+
GeoJSON.read(json::String; lazyfc=false, ndim=2, numbertype=Float32)
33
44
Read GeoJSON from a string to a GeoInterface.jl compatible object.
55
Set `ndim=3` for 3D geometries, which is also tried automatically when
6+
parsing as `ndim=2` (default) fails. The `numbertype` is Float32 by default,
7+
Float64 should be set when the precision is required.
68
79
When reading in huge featurecollections (1M+ features), set `lazyfc=true`
810
to only parse them into memory when accessed.

0 commit comments

Comments
 (0)