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

Request: add bg_ version of split_union_polygon() and split_partitioned_union_polygon() #757

Open
36 of 43 tasks
jipclaassens opened this issue Jul 8, 2024 · 3 comments
Open
36 of 43 tasks
Assignees
Labels
calculations Producing primary data, functions
Milestone

Comments

@jipclaassens
Copy link
Member

jipclaassens commented Jul 8, 2024

Relevant operators to be implemented would be:

Also, make use of cgal.org,

  • cgal_polygon, cgal_union_polygon, cgal_split_polygon, cgal_split_union_polygon
  • cgal_union/join, cgal_intersect, cgal_xor, cgal_difference
  • cgal_overlay_polygon
  • cgal_polygon_connectivity
  • cgal_buffer_multi_polygon
  • cgal_simplify_multi_polygon
  • cgal_buffer_multi_point
  • cgal_buffer_point
  • cgal_buffer_linestring
  • cgal_simplify_linestring
  • cgal_minkowski_sum

For using boost::geometry, we (should) have:

  • bg_polygon, bg_union_polygon, bg_split_polygon, bg_split_union_polygon
  • bg_union, bg_intersect, bg_xor, bg_difference
  • bg_overlay_polygon
  • bg_polygon_connectivity
  • bg_buffer_multi_polygon
  • bg_simplify_multi_polygon
  • bg_buffer_multi_point
  • bg_buffer_point
  • bg_buffer_linestring
  • bg_simplify_linestring
  • bg_minkowski_sum

or, similarly home brewed versions:

  • box_connectivity
  • polygon_connectivity
  • polygon_intersection and overlay with fault tolerant sweep operation

and, using https://libgeos.org/

  • geos_polygon, geos_union_polygon, geos_split_polygon, geos_split_union_polygon
  • geos_union/join, geos_intersect, geos_xor, geos_difference
  • geos_overlay_polygon
  • geos_polygon_connectivity
  • geos_buffer_multi_polygon
  • geos_simplify_multi_polygon
  • geos_buffer_multi_point
  • geos_buffer_point
  • geos_buffer_linestring
  • geos_simplify_linestring
  • geos_minkowski_sum

Furthermore, for xxx in { bp, bg, cgal, geos }:

  • xxx_overlay_polygon and xxx_polygon_connectivity available with one argument with which a self overlay is performed and only forward pairs (i.e. where second_rel > first_rel ) are produced.
@MaartenHilferink
Copy link
Collaborator

See my recent comment of #756

@jipclaassens
Copy link
Member Author

added [[polygon_connectivity]]

@jipclaassens
Copy link
Member Author

jipclaassens commented Aug 2, 2024

Test nieuwbouwpanden (463,000 stuks)

  • bp_spit_union_polygon 1:23 min
  • bp_spit_union_polygon met box_connectivity 1.18 min

Test alle bag panden met alle statussen geinflate (22.5 miljoen), ontkoppeld via fss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calculations Producing primary data, functions
Projects
None yet
Development

No branches or pull requests

2 participants