[gdal-dev] Python GDAL split polyline by intersection

Patrick Young patrick.mckendree.young at gmail.com
Fri Apr 23 11:25:21 PDT 2021


You might check out the Python library Shapely (which wraps GEOS), it has a
split method in it:

https://shapely.readthedocs.io/en/stable/manual.html#splitting

P

On Fri, Apr 23, 2021 at 9:59 AM Chang Liao <changliao.climate at gmail.com>
wrote:

> Hi, GDALers,
>
> I have a GDAL Python API question, i want to find some function similar to
> the ArcGIS tool:
>
> https://desktop.arcgis.com/en/arcmap/10.3/manage-data/editing-existing-features/splitting-lines-at-intersections.htm
>
> But it seems there is no such existing function ready for use. I put some
> details of the question on the GIS stackexchange here:
>
> https://gis.stackexchange.com/questions/394732/python-gdal-split-polyline-by-intersection
> Can anyone provide some suggestions?
>
> Thank you!
>
> Best Regards!
>
>
> *Chang Liao, PhD*
> *Earth Scientist, Atmospheric Sciences & Global Change Division*
> *Pacific Northwest National Laboratory, WA, USA.*
> *Email: changliao.climate at gmail.com <changliao.climate at gmail.com>  or
>  chang.liao at pnnl.gov <chang.liao at pnnl.gov>*
> *Personal Website: https://www.changliao.us <https://www.changliao.us/>*
> *Lab Website: www.pnnl.gov
> <https://www.pnnl.gov/science/staff/staff_info.asp?staff_num=9326>*
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210423/7e6eacfa/attachment.html>


More information about the gdal-dev mailing list