Hello,
¿Is there any way to perform a spatial filter of a large group of 3D lines but counting only with their 2D coordinates? I mean, without forcing them to 2D
Hello,
¿Is there any way to perform a spatial filter of a large group of 3D lines but counting only with their 2D coordinates? I mean, without forcing them to 2D
You can merge all the lines unconditionaly.
Then calculate the intersections by math and using only the x and y components.
(i posted the math (like 2nd grade math not that difficult) bit somewhere on this forum a while ago.)
Anyway, forcing to 2D is not a bad thing.
You could for instance store the 3th component in a attribute, or store the entire geometry using a geometryextractor for the duration of the spatial test. Then reinstate the geometry when you are done.
As far as I know the SpatialFilter only works in 2D (X/Y) anyway, and would ignore Z values.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.