Question

remove South / Est limits from bounding polygons (remove topology)

  • 15 October 2021
  • 4 replies
  • 1 view

Badge +5

Good Afternoon,

 

I would like to remove the south and Est limit from bounding polygons. Indeed, I have a matrix composed of multiple bounding polygons, their limits are topologic. I need to make geometric operations on points intersecting these polygons. A point can belong to one unique polygon. Unfortunately, some points are located on limits from 2 polygons. The solution I would like to do is to create a new matrix where the limits south and est of each polygon are removed : Consequently, the polygons won't be topological anymore : In this case, a point cannot belong to 2 polygons unsing intersection method.

I tried polygoncutter (using the polygon and the limits as Input), but it seems not to work : Any idea?

Thank you

 

 


4 replies

Userlevel 5
Badge +25

I'd like to propose another way of doing it:

Do a PointOnAreaOverlayer of the points on the bounding polygons, have it make a list on the points and then use a ListIndexer with index set to 0 to promote the attributes from the first list element to attributes of the feature itself, then remove the list. That way each point will only belong to 1 polygon, even if it's exactly on the border.

Badge +5

Thank you for your answer. I think this idea can works, but our context is specific. First, the input point data can be in pgpointclouds format(https://pgpointcloud.github.io/pointcloud/) . This format is not directly compatible with FME. Second, the amount of point data is very big and the process have to be fast. I faced limit in treating big amount of data using FME (too long time running process). I rather use SQL and PDAL Library when for spatial operation dealing with big amound of points. These technics are faster in our context, but more complex and less flexible than FME. That's why I would like to withdraw the topology using FME (without creating hole between bounding box, of course), but I'm not sure it is possible. ?

 

Userlevel 5
Badge +25

Thank you for your answer. I think this idea can works, but our context is specific. First, the input point data can be in pgpointclouds format(https://pgpointcloud.github.io/pointcloud/) . This format is not directly compatible with FME. Second, the amount of point data is very big and the process have to be fast. I faced limit in treating big amount of data using FME (too long time running process). I rather use SQL and PDAL Library when for spatial operation dealing with big amound of points. These technics are faster in our context, but more complex and less flexible than FME. That's why I would like to withdraw the topology using FME (without creating hole between bounding box, of course), but I'm not sure it is possible. ?

 

I wouldn't recommend leaving gaps between the bounding boxes as this would introduce the possibility of points going missing.

 

Instead of the PointOnAreaOverlayer you could try the Clipper, in broad terms they work the same (they both have an option to speed things up by having the areas go in first) but there might be some performance enhancements under the hood that @mark2atsafe​ can shed some light on.

Badge +5

thank you for your answer. I won't change the geometry of the bounding box finaly. Consequently, my process are more complex, but this is better than loosing points ^^.

 

Reply