Andy Teucher

Results 92 issues of Andy Teucher

Specifying only `min-vertices=4` works (removes the polygon with three vervices): ``` echo '{"type":"GeometryCollection", "geometries": [ {"type":"Polygon","coordinates":[[[102,2],[104,2],[104,4],[102,4],[102,2]]]}, {"type":"Polygon","coordinates":[[[100,2],[101.5,4],[98,4],[100,2]]]}, {"type":"Polygon","coordinates":[[[100,0],[101,0],[101,1],[100,1],[100,0]]]} ]}' | mapshaper -i - -filter-islands min-vertices=4 -o - [filter-islands] Removed 1...

Address #159: - Don't access crs directly with `attrs()`, rather always use `st_crs()` - Don't access crs slots with `[[`, rather use the `$` methods.

There may be a way to avoid the round trip to disk in `geojson_rw` for converting `Spatial` objects to `geojson`, but I haven't quite been able to make it work....

Not for addressing now, but for GDAL >= 2.2 there is a new flag `RFC7946` to enforce the new geojson standard (including automatic reprojection to WGS84 and enforcing the right-hand...

feature

eg., https://github.com/mbloch/mapshaper/blob/master/src/cli/mapshaper-options.js

idea

https://github.com/jeroen/V8/compare/6791a2dc2f...98c2f75fcc

idea

Add an option to check validity of outputs, use `sf::st_is_valid()` and `rgeos::gIsValid()` as per @rsbivand's suggestion in #89.