mapbox / geojsonio-cli

a cli for geojson.io
ISC License
168 stars 19 forks source link

Could not parse JSON error #11

Closed baditaflorin closed 8 years ago

baditaflorin commented 8 years ago

echo '[out:json];node(57.7,11.9,57.8,12.0)[amenity=bar];out;' | query-overpass | geojsonio

tmcw commented 8 years ago

What is query-overpass's output? If you run echo '[out:json];node(57.7,11.9,57.8,12.0)[amenity=bar];out;' | query-overpass. I would strongly wager that geojsonio-cli complains of invalid JSON because the JSON is invalid.

tmcw commented 8 years ago

Closing; no response. Most likely the JSON is invalid.