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 <[email protected]>
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 <[email protected]>  or
>  chang.liao at pnnl.gov <[email protected]>*
> *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
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to