Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13/5000 The calculation results are different from ArcGIS #17

Open
Godnx opened this issue Mar 17, 2022 · 0 comments
Open

13/5000 The calculation results are different from ArcGIS #17

Godnx opened this issue Mar 17, 2022 · 0 comments

Comments

@Godnx
Copy link

Godnx commented Mar 17, 2022

    I used the method: Voronoi_regions_from_coords to form Voronoi polygons in geographical regions, and then calculated the area of each Voronoi polygon, but the result was different from ArcGIS calculation。My code is as follows:

polys, pts = voronoi_regions_from_coords(v_coords, boundary_shape)
boundary_area = Decimal(boundary_shape.area)

for index,key in enumerate(polys):
    area = Decimal(polys[key].area)
    weigt = area / boundary_area


 Looking forward to your reply!   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant