descriptive geojson errors

This commit is contained in:
Josh Baker 2016-03-05 13:29:49 -07:00
parent 1a1033bf98
commit 43eab3fba7
1 changed files with 1 additions and 1 deletions

View File

@ -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
}