Re: [postgis-users] DE-9IM pattern for gaps

2022-07-06 Thread Shaozhong SHI
How about the following situations? Scenario 1 2 lines zigzagging over the space. Some time, a line crosses over another and then crosses again to return. Can DE-9IM tell with a pattern? Scenario 2. 2 lines zigzagging over the space. Some time, they meet and touch each other, but never cross

Re: [postgis-users] DE-9IM pattern for gaps

2022-07-06 Thread Martin Davis
You haven't specified what you mean by "gap". The DE-9IM model is a "global" model, in that it considers the input geometries as a whole. You can use the DE-9IM to determine if two geometries have a "gap" between them via ST_Disjoint. On Wed, Jul 6, 2022 at 8:48 AM Shaozhong SHI wrote: > Is

Re: [postgis-users] DE-9IM pattern for gaps

2022-07-06 Thread Paul Ramsey
No. In DE9IM a gap is no different from a chasm. > On Jul 6, 2022, at 8:48 AM, Shaozhong SHI wrote: > > Is there a DE-9IM pattern for gaps? > Regards, > David > ___ > postgis-users mailing list > postgis-users@lists.osgeo.org >

[postgis-users] DE-9IM pattern for gaps

2022-07-06 Thread Shaozhong SHI
Is there a DE-9IM pattern for gaps? Regards, David ___ postgis-users mailing list postgis-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/postgis-users