Is there any way to test if a point is inside a polygon? I am looking for functionality similar to ST_Contains in PostGIS.
I tried using sNeighborFinder, but there is still the issue with the unattachable second row input, so I could not test it this way.
Thanks in advance
Try to use GeoOperation in Routines.
You have INTERSECTS, TOUCHES, CROSSES, CONTAINS, WITHIN, COVERS, COVEREDBY, DISJOINT and OVERLAPS methods. These methods can be used in a tMap as filters or as join conditions.
Hope that help,
Hello, as mentionned by Mathieu GeoOperations help doing intersection.
Add a tMap, connect your 2 input flows then create a join to intersect first and second input.
In one input (eg. row3), click the « activate filter expression » button.
Click in the expression filter section, and set the join « GeoOperation.INTERSECTS(row2.the_geom , row3.the_geom) » (use CTRL+SPACE to turn on autocompletion), then drag & drop the output column to the right.
I'm currently working on a simple tutorial for FOSS4G next week and will illustrate that point and make the slides availables on the website.