Skip to content

Feature request: allow use of multiple fields in ms_dissolve #182

@hrecht

Description

@hrecht

When I try to specify multiple fields in ms_dissolve I get the error Command expects a single value. It seems like specifying multiple dissolve fields isn't allowed, but apologies if there's some way to do it.

The full mapshaper package allows users to dissolve by multiple fields with fields = fielda,fieldb. It would be nice to be able to do the same with something likems_dissolve(my_sf, field = c(fielda, fieldb)) rather than having to switch to apply_mapshaper_commands() for that functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions