Changes between Initial Version and Version 1 of Ticket #1047, comment 1


Ignore:
Timestamp:
Sep 2, 2020, 12:35:30 PM (4 years ago)
Author:
mdavis

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1047, comment 1

    initial v1  
    11In 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
     3The simple fix is to just use the JTS approach of disallowing GEOMETRYCOLLECTION inputs to predicates.
     4
     5It 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.