0

I'm creating a processing where I do calculations on address points inside of counties.

I need to generalise county polygons in order to make my processing faster. How do I make sure that address points stay inside of their counties after shape simplification?

In example here if I simplify too much points from the red polygon will go to the yellow one.

enter image description here

3
  • Maybe try subdividing the polygons rather than simplifying them will help more Commented Jul 11, 2023 at 10:59
  • @IanTurton how can the user simplify polygons retaining topology rules (every point must stay inside it's polygon)? Commented Jul 11, 2023 at 11:04
  • @IanTurton could u elaborate? Commented Jul 11, 2023 at 12:35

1 Answer 1

1

Simplifying the polygons is unlikely to help speed queries up by much as will be difficult to achieve with out moving any of the points.

You may get more speed up by applying st_subdivide on the polygons before carrying out the point in polygon tests as the spatial index will be more performant on many small polygons rather than a few big ones.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.