Skip to content

Clip administrative boundaries at coastlines

Notifications You must be signed in to change notification settings

omniscale/admin_clipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Admin-Clipper
=============
admin-clipper removes all boundary parts that are in or close to a water geometry (or any other clipping geometry).
The clipped boundaries are extended back to the coastline.
During the process, polygon boundaries are converted linestring boundaries.

Dependencies
============

    pip install fiona pyproj shapely


Example
=======

    python admin_clipper.py \
        --clip-file=water.shp \
        --src-file=admin.geojson \
        --result-file=clipped.geojson \
        --clip-srs='EPSG:3857' \
        --src-srs='EPSG:25832' \
        --clip-buffer=100 \
        --min-segment-length=2000

Status
======

The code is provided "AS IS". Do not expect any updates or new features.
Issues are disabled and we don't provide support by any other means.

However, you are free to use and modify the tool under the terms of the Apache License 2.0 (see LICENSE).

About

Clip administrative boundaries at coastlines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages