-
Notifications
You must be signed in to change notification settings - Fork 12
Description
What happened:
I tried a spatial relationship between a polygon and a point. When I connect my second data table to the transform "spatial relationship and proximity", I've got this warning:
After this, I complete the transform like this:
It returns this error log:
2025/12/23 19:14:31 - Spatial relationship and proximity.0 - ERROR: Unexpected error
2025/12/23 19:14:31 - Spatial relationship and proximity.0 - ERROR: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 26
2025/12/23 19:14:31 - Spatial relationship and proximity.0 - at com.atolcd.hop.pipeline.transforms.gisrelate.GisRelate.getRelateResult(GisRelate.java:66)
2025/12/23 19:14:31 - Spatial relationship and proximity.0 - at com.atolcd.hop.pipeline.transforms.gisrelate.GisRelate.processRow(GisRelate.java:167)
2025/12/23 19:14:31 - Spatial relationship and proximity.0 - at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:54)
2025/12/23 19:14:31 - Spatial relationship and proximity.0 - at java.base/java.lang.Thread.run(Thread.java:842)
It's not
What you expected to happen:
Join the two tables thanks to the predicate intersect, within or contain.
Steps to reproduce:
I have a table containing polygon and an other containing point. The both are in EPSG:27572.
Anything else we need to know?
Environment:
- Hop: 2.15
- Hop GIS Plugins: 1.4.0
- JVM: JDK17
- OS: Windows11
Any suggested solutions?
If the bug is approved, would you be willing to submit a PR?
No