This is a fairly major release with much of the internal plumbing changed. I have tried to keep user-facing changes to a minimum, but please report any issues to https://github.com/ateucher/rmapshaper/issues.
- Switched to using the
geojsonsf
package instead ofgeojsonio
for object conversion (#118). - Updated the bundled mapshaper version to
v0.6.25
(#130). - Dropped support for
geojson_list
objects. This was a rarely-used class from thegeojsonio
package (#118). - Arguments
force_FC
,sys
, andsys_mem
are now passed toapply_mapshaper_commands
via...
rather than explicitly, so they are now documented in the...
section of each function. This may break some existing code if you were passing values to these arguments by position rather than by name, especially usingforce_FC
inms_simplify
as it was not at the end of the argument list. It may also change the class of the return value for some input classes and functions (such asms_lines
andms_innerlines
) asforce_FC
will inherit the defaultTRUE
for all functions. - Added
quiet
argument to silence mapshaper console messages when usingsys = TRUE
. This can be controlled globally withoptions("mapshaper.sys_quiet" = TRUE)
(#125). - Added ability to globally set the system memory when using the system mapshaper via
options("mapshaper.sys_mem"=X)
, whereX
is the amount of memory in GB.