You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the total border length/circumference and the vertex count per source is calculated as the sum total for all admin units. However, since admin units share borders this ends up double counting border length and vertices for all internal borders and thus overestimating their numbers.
As a solution, loop through each feature, convert to multilinestring, then add to a cumulative multiline union of all admin outlines. Then calculate length and vertices on that single cumulative multiline geometry.
The text was updated successfully, but these errors were encountered:
On Thu, Jul 22, 2021 at 6:44 AM Karim Bahgat ***@***.***> wrote:
Currently, the total border length/circumference and the vertex count per
source is calculated as the sum total for all admin units. However, since
admin units share borders this ends up double counting border length and
vertices for all internal borders and thus overestimating their numbers.
As a solution, loop through each feature, convert to multilinestring, then
add to a cumulative multiline union of all admin outlines. Then calculate
length and vertices on that single cumulative multiline geometry.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#20>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4EPFMRAV4AP4QAQH5VPL3TY7ZBFANCNFSM5AZXU7ZA>
.
Currently, the total border length/circumference and the vertex count per source is calculated as the sum total for all admin units. However, since admin units share borders this ends up double counting border length and vertices for all internal borders and thus overestimating their numbers.
As a solution, loop through each feature, convert to multilinestring, then add to a cumulative multiline union of all admin outlines. Then calculate length and vertices on that single cumulative multiline geometry.
The text was updated successfully, but these errors were encountered: