Changes between Initial Version and Version 1 of Ticket #1047, comment 1
- Timestamp:
- Sep 2, 2020, 12:35:30 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1047, comment 1
initial v1 1 1 In JTS at least, spatial predicates do not support GEOMETRYCOLLECTIONs as inputs. So this is a case of erroneous input. But should not be allowed to cause a segfault, for sure. 2 3 The simple fix is to just use the JTS approach of disallowing GEOMETRYCOLLECTION inputs to predicates. 4 5 It would also be possible to "unwrap" GC inputs containing a single element (and do this recursively...). It's not clear that that's really much of a benefit, however. And it might just be confusing, since GCs of size > 1 should still be disallowed.