A suite of command-line utilities implementing basic geometric operations. (Difference, Intersection, etc.)
This project is a cousin of csvkit.
Note: This is only a proof-of-concept to see if this idea makes sense.
pip install ogrkit
To try the difference utility:
ogrdifference INPUT_SHAPEFILE OUTPUT_SHAPEFILE [MASK_SHAPEFILES...]
Note: this currently only works with shapefiles, but could be extended to work with any format supported by OGR.
- Christopher Groskopf (@onyxfish)