Open ericemc3 opened 4 years ago
it looks like -mosaic, applied to a dissolved layer, takes into account the initial layer
Here is a reprex: https://mapshaper.org/?files=https://gisco-services.ec.europa.eu/distribution/v2/nuts/geojson/NUTS_RG_60M_2016_3857_LEVL_1.geojson -mosaic -info => 211 records
-mosaic -info
https://mapshaper.org/?files=https://gisco-services.ec.europa.eu/distribution/v2/nuts/geojson/NUTS_RG_60M_2016_3857_LEVL_1.geojson -dissolve CNTR_CODE + name=cntr -mosaic -info => 211 records
-dissolve CNTR_CODE + name=cntr -mosaic -info
https://mapshaper.org/?files=https://gisco-services.ec.europa.eu/distribution/v2/nuts/geojson/NUTS_RG_60M_2016_3857_LEVL_1.geojson -dissolve CNTR_CODE + name=cntr -drop target=1 -mosaic -info => 127 records
-dissolve CNTR_CODE + name=cntr -drop target=1 -mosaic -info
Thanks for reporting this bug :)
it looks like -mosaic, applied to a dissolved layer, takes into account the initial layer
Here is a reprex: https://mapshaper.org/?files=https://gisco-services.ec.europa.eu/distribution/v2/nuts/geojson/NUTS_RG_60M_2016_3857_LEVL_1.geojson
-mosaic -info
=> 211 recordshttps://mapshaper.org/?files=https://gisco-services.ec.europa.eu/distribution/v2/nuts/geojson/NUTS_RG_60M_2016_3857_LEVL_1.geojson
-dissolve CNTR_CODE + name=cntr -mosaic -info
=> 211 recordshttps://mapshaper.org/?files=https://gisco-services.ec.europa.eu/distribution/v2/nuts/geojson/NUTS_RG_60M_2016_3857_LEVL_1.geojson
-dissolve CNTR_CODE + name=cntr -drop target=1 -mosaic -info
=> 127 records