File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ const commandsCountries50m = [
369
369
`-each 'if (iso3cd) iso3cd = iso3cd.toUpperCase()'` ,
370
370
`-filter '${ filters . countries } '` ,
371
371
// Snap polygons to clean up land, coastlines layers
372
- '-clean snap-interval=0.00013 ' ,
372
+ '-clean snap-interval=0.000125 ' ,
373
373
`-o ${ outputFilePathCountries50m } `
374
374
] . join ( ' ' ) ;
375
375
await mapshaper . runCommands ( commandsCountries50m ) ;
@@ -388,9 +388,8 @@ const inputFilePathCountries110m = outputFilePathCountries50m;
388
388
const outputFilePathCountries110m = `${ outputDirGeojson } /${ unFilename } _110m/countries.geojson` ;
389
389
const commandsCountries110m = [
390
390
inputFilePathCountries110m ,
391
- '-simplify 20%' ,
392
- // Use 'snap-interval' to fix alignment issues with continental USA, Alaska, and Mexico
393
- '-clean snap-interval=0.015' ,
391
+ '-simplify 21%' ,
392
+ '-clean' ,
394
393
`-o ${ outputFilePathCountries110m } `
395
394
] . join ( ' ' ) ;
396
395
await mapshaper . runCommands ( commandsCountries110m ) ;
You can’t perform that action at this time.
0 commit comments