mirror of https://github.com/tidwall/tile38.git
descriptive geojson errors
This commit is contained in:
parent
1a1033bf98
commit
43eab3fba7
|
@ -313,7 +313,7 @@ func (c *Controller) parseSetArgs(line string) (d commandDetailsT, fields []stri
|
|||
sp.Y = lat
|
||||
d.obj = sp
|
||||
case lc(typ, "object"):
|
||||
d.obj, err = geojson.ObjectAuto([]byte(line))
|
||||
d.obj, err = geojson.ObjectJSON(line)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue