developmentseed / landsat-util

A utility to search, download and process Landsat 8 satellite imagery
Creative Commons Zero v1.0 Universal
689 stars 147 forks source link

Issue with GeoJSON to gejosnio #211

Closed noelmas closed 7 years ago

noelmas commented 7 years ago

When I run this command:

landsat search --lat 38.9004204 --lon -77.0237117 --geojson | geojsonio

I get:

Polygons and MultiPolygons should follow the right-hand rule Polygons and MultiPolygons should follow the right-hand rule Polygons and MultiPolygons should follow the right-hand rule Polygons and MultiPolygons should follow the right-hand rule Polygons and MultiPolygons should follow the right-hand rule Polygons and MultiPolygons should follow the right-hand rule Polygons and MultiPolygons should follow the right-hand rule Polygons and MultiPolygons should follow the right-hand rule Polygons and MultiPolygons should follow the right-hand rule Polygons and MultiPolygons should follow the right-hand rule

Is this something to do with update to GeoJSON spec since tool was built?

drewbo commented 7 years ago

Correct. My preference would be that geojsonio wouldn't halt the process on this warning since the spec indicates that parsers shouldn't reject polygons based on winding order. I've opened a ticket to this effect

drewbo commented 7 years ago

Added to geojsonio-cli in 0.2.3