[postgis-users] a bug sumbit (st_within)

Marcin Mionskowski mionskowskimarcin at gmail.com
Mon Aug 21 02:00:17 PDT 2023


Fun fact - if you change 102 54 (9th coordinate of your linestring) to
something "smaller" than 102 17.5 or 98.8 45 you will get "true" outcome :)

pon., 21 sie 2023 o 10:16 jess_spring <jess_spring at aliyun.com> napisał(a):

> It seems like a bug when i use "ST_Within" with multi-points.
> Like :
>
> select
>
> ST_Within(
>
> 'SRID=4490;MULTILINESTRING(
>
> (102 50,98 51,97 57,55 98,45 53,53 102,48 45,52 50,102 54,45 97,48 101,102
> 45,57 54,98 53,55 51,48 49,57 54,54 103))'::geometry
>
> ,'SRID=4490;MULTILINESTRING(
>
> (102 50,98 51,97 57,55 98,45 53,53 102,48 45,52 50,102 54,45 97,48 101,102
> 45,57 54,98 53,55 51,48 49,57 54,54 103)
>
> ,(102 50,98 51,103 9))'::geometry
>
> );
>
> It return false ,but it should be true obviously.
>
> (PostgisVerion:3.2)
>
>
>
>
> since  from jess,China.
>
> wish heard from you!
>
>
>
> _______________________________________________
> 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/20230821/676a9454/attachment.htm>


More information about the postgis-users mailing list