An open API service indexing awesome lists of open source software.

https://github.com/amandasaurus/difference-polygons

For a shapefile, remove other shapefiles, to see what original polygons aren't covered
https://github.com/amandasaurus/difference-polygons

Last synced: about 1 month ago
JSON representation

For a shapefile, remove other shapefiles, to see what original polygons aren't covered

Awesome Lists containing this project

README

          

# difference-polygons

Given a "land" shapefile, remove all the shapes from one or more other shapefiles, producing a new shapefile that only has the "difference".

## Usage

difference-polygons -l ./land_polygons.shp -r ./dont_want.shp -r water_polygon.shp -o not_covered.shp

### Min area filter

Use the `-a`/`--min-area` option to drop any resultant shapes that are less than this size (e.g. `-a 1e-09`). Area is based on units of the shapefiles's coordinate reference system.

## Licence

Copyright 2016, Rory McCann GNU Affero General Public Licence, version 3 (or at your option, a later version). If you'd like a different non-AGPL licence, please contact me.