[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    [postgis-users] =?utf-8?q?a_bug_sumbit__=28st=5Fwithin=29?=
From:       "jess_spring" <jess_spring () aliyun ! com>
Date:       2023-08-21 8:16:22
Message-ID: 4934ffaa-052e-41ea-8721-6f8cfcfe8d78.jess_spring () aliyun ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

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!


[Attachment #5 (text/html)]

<div class="__aliyun_email_body_block"><div  \
style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><div \
style="clear:both;">It seems like a bug when i use "ST_Within" with multi-points.<br \
></div><div  class=" __aliyun_node_has_color" \
> style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><div \
> style="clear:both;">Like :&nbsp;</div><div  class=" __aliyun_node_has_color \
> __aliyun_node_has_bgcolor" style="clear:both;background-color:#ffffff;padding:.0px \
> .0px .0px 2.0px;color:#000000;font-family:'Courier \
> New';font-size:13.0px;white-space:nowrap;"><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;"><span  class=" \
> __aliyun_node_has_color" style="color:#800000;font-weight:700;">select</span> \
> </p><p  style="margin-top:13.0px;margin-bottom:13.0px;"><span  class=" \
> __aliyun_node_has_color" style="color:#000000;">ST_Within</span>(</p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;"><span  class=" \
> __aliyun_node_has_color" \
> style="color:#008000;">'SRID=4490;MULTILINESTRING(</span></p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;"><span  class=" \
> __aliyun_node_has_color" style="color:#008000;">(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))'</span>::<span  class=" __aliyun_node_has_color" \
> style="color:#000000;">geometry</span></p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;">,<span  class=" \
> __aliyun_node_has_color" \
> style="color:#008000;">'SRID=4490;MULTILINESTRING(</span></p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;"><span  class=" \
> __aliyun_node_has_color" style="color:#008000;">(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)</span></p><p  style="margin-top:13.0px;margin-bottom:13.0px;"><span  class=" \
> __aliyun_node_has_color" style="color:#008000;">,(102 50,98 51,103 \
> 9))'</span>::<span  class=" __aliyun_node_has_color" \
> style="color:#000000;">geometry</span></p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;">);</p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;">It return false ,but it should be \
> true obviously.</p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;">(PostgisVerion:3.2)</p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;"><br ></p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;"><br ></p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;"><br ></p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;">since&nbsp; from jess,China.</p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;">wish heard from you!<br ></p><p  \
> style="margin-top:13.0px;margin-bottom:13.0px;"><br ></p></div></div><div  \
> style="line-height:20.0px;clear:both;"><br ></div></div></div>



_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic