[gdal-dev] Algorithm to clip the inner loop of a polygon

Chao YUE chaoyuejoy at gmail.com
Tue Apr 14 20:30:47 PDT 2020


Dear all,

Does anyone have some experience or is aware of some algorithm that can
find and clip the inner loop formed in a polygon ? I attach one example
here. In this case I would only keep the outer points and drop the ones
that make an inner loop. I am developing some algorithm to simulate
wildland fire propagation. The algorithm is based on Richards 1990.

In the paper he described an algorithm based on two steps: (1) find the
points where a concave curvature is made. (2) search for both sides of this
point to see where any two line segments cross over each other.
But I am wondering whether there is already some existing solutions or
other better ones.

Thanks a lot for the kind help for any hints on this !
Kind regards,
Chao

Gwynfor Richards, 1990. An elliptical growth model of forest fire fronts
and its numerical solution. International journal for Numerical Methods in
Engineering, Vol. 30, 1163-1179.

[image: InnerLoop.png]

-- 
***********************************************************************************
Chao YUE(岳超)
西北农林科技大学水土保持研究所 研究员
黄土高原土壤侵蚀与旱地农业国家重点实验室
State Key Laboratory of Soil Erosion and Dryland Farming on the Loess
Plateau
Institute of Soil and Water Conservation
Northwest A&F University, Yangling, Shaanxi 712100, P.R. China
chaoyue at ms.iswc.ac.cn
Mobile: +86 18709187546
************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200415/00cb1afc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InnerLoop.png
Type: image/png
Size: 30127 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200415/00cb1afc/attachment-0001.png>


More information about the gdal-dev mailing list