[postgis-users] st_touches does not work with line/point real geometries

Martin Davis mtnclimb at gmail.com
Thu Mar 21 13:05:38 PDT 2019


Agreed, diagrams showing negative cases would be useful, especially for the
predicates with more complex semantics.  (The notorious "polygons do not
contain their boundary" case comes to mind...)

I also have in mind a way to automatically generate a readable explanation
for the result of a spatial predicate in terms of the intersection matrix
(and hopefully the actual geometry locations as well).  So the equivalent
of EXPLAIN for spatial predicates.

On Thu, Mar 21, 2019 at 12:15 PM Eugene Podshivalov <yaugenka at gmail.com>
wrote:

> Now I got it. Thanks for the explanation.
> It would be easier to comprehend it if there were some illustrations with
> false cases in the documentation, particularly the line/point case and as
> well as the line/line one with intersecting interiors.
>
> Cheers,
> Eugene
>
>
>
> чт, 21 мар. 2019 г. в 21:49, Martin Davis <mtnclimb at gmail.com>:
>
>> On Thu, Mar 21, 2019 at 11:17 AM Sandro Santilli <strk at kbt.io> wrote:
>>
>>>
>>> BTW, it looks like one of the pictures in the example is wrong
>>> (the central line/line case). May be worth filing a ticket to
>>> fix that (even better if you send a patch for it :)
>>>
>>> Why do you think it's wrong?
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/postgis-users
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20190321/a2fabd97/attachment.html>


More information about the postgis-users mailing list