<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:54:24 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-40232] $geoIntersects works incorrect.</title>
                <link>https://jira.mongodb.org/browse/SERVER-40232</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I try to identify that the next two polygons are intersects or not.&lt;br/&gt;
I use Spring Data MongoDB(MongoTemplate) and always got the incorrect result that Polygon A and Polygon B do not intersects.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.spring.io/browse/DATAMONGO-2232&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.spring.io/browse/DATAMONGO-2232&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;@GeoSpatialIndexed(type = GeoSpatialIndexType.GEO_2DSPHERE)&lt;br/&gt;
private GeoJsonPolygon polygon;&lt;/p&gt;

&lt;p&gt;Query query = new Query();&lt;br/&gt;
query.addCriteria(Criteria.where(&quot;polygon&quot;).intersects(geoJson));&lt;br/&gt;
return mongoTemplate.find(query, Test.class);&lt;/p&gt;

&lt;p&gt;Polygon A - geojson:&lt;/p&gt;

{&quot;type&quot;: &quot;Polygon&quot;,&quot;coordinates&quot;: [[[-77.343750,39.909736],[-75.937500,39.909736],[-75.937500,38.822591],[-77.343750,38.822591],[-77.343750,39.909736]]]}

&lt;p&gt;Polygon B - geojson:&lt;/p&gt;

{&quot;type&quot;:&quot;Polygon&quot;,&quot;coordinates&quot;:[[[-77.00177021452367,38.82077235346139],[-77.00348330700899,38.819438900784746],[-77.0040669508291,38.818982682804744],[-77.00457638439258,38.81959904396081],[-77.00521666571649,38.81904066569433],[-77.00539436635688,38.81890203430157],[-77.00541048580516,38.817944614252724],[-77.00566376726903,38.817745937824895],[-77.00610793253503,38.817399170935175],[-77.00621102361976,38.81732371331884],[-77.00642395340265,38.81715517946799],[-77.00668049760685,38.81695488875721],[-77.00693704091168,38.81675459804643],[-77.00719358241781,38.816554306436274],[-77.00745012302474,38.81635401482595],[-77.00770666183286,38.81615372231647],[-77.00796319974182,38.81595342890773],[-77.00821973585204,38.81575313549888],[-77.00847627016373,38.81555284119082],[-77.00873280357598,38.81535254598339],[-77.00898933518965,38.815152250775725],[-77.00924586590389,38.814951954669084],[-77.00950239392017,38.81475165766295],[-77.00975395947762,38.81500271330464],[-77.01000552683354,38.81525376894632],[-77.0108504003257,38.81582960665111],[-77.01080472016167,38.81616608349805],[-77.01075903909833,38.81650256124436],[-77.01071335803493,38.81683903899062],[-77.01066775791065,38.81717491598971],[-77.01067186511443,38.81717498883472],[-77.01058445910536,38.81803001477351],[-77.01071688967266,38.818976903761154],[-77.00949070363305,38.81915769087482],[-77.00948635990756,38.819158052402315],[-77.00913347852719,38.81921007818261],[-77.00878059804614,38.81926210216437],[-77.0084277157664,38.81931412614614],[-77.00807483348666,38.81936614832915],[-77.00772195120697,38.81941816961296],[-77.00736906802803,38.81947018999739],[-77.00701618394964,38.81952220948244],[-77.00666329987132,38.81957422806835],[-77.00631041489368,38.8196262448555],[-77.00595752901671,38.819678260743274],[-77.00560464403907,38.81973027573167],[-77.00525175726267,38.819782289820864],[-77.00520825255876,38.820481753730064],[-77.00520394390679,38.82079798234099],[-77.00519963615426,38.821114210952146],[-77.00519532840161,38.821430439563244],[-77.0051910197497,38.82174666817417],[-77.00518671199706,38.82206289588612],[-77.0052343751662,38.82235088758347],[-77.0052820392346,38.82263887928099],[-77.00538889398223,38.82290541045643],[-77.00549575052844,38.82317193983329],[-77.00560260707454,38.82343847010935],[-77.00523248299265,38.82325291838765],[-77.00486236160862,38.82306736576635],[-77.0045052210391,38.82288831704227],[-77.00449224202333,38.82288181044737],[-77.00297361983667,38.82220653290523],[-77.00317436200714,38.82192953811773],[-77.00177021452367,38.82077235346139]]]}</description>
                <environment>Spring Boot version: 2.1.3.RELEASE &lt;br/&gt;
MongoDB version: 4.0.0 &lt;br/&gt;
Java version: 11.0.2</environment>
        <key id="719825">SERVER-40232</key>
            <summary>$geoIntersects works incorrect.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="gennadiyusatenko">Gennadiy Usatenko</reporter>
                        <labels>
                            <label>geoIntersects</label>
                            <label>spring</label>
                    </labels>
                <created>Wed, 20 Mar 2019 10:38:13 +0000</created>
                <updated>Wed, 20 Mar 2019 11:14:15 +0000</updated>
                            <resolved>Wed, 20 Mar 2019 11:14:15 +0000</resolved>
                                    <version>4.0.0</version>
                                                    <component>Geo</component>
                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2185960" author="thomas.schubert" created="Wed, 20 Mar 2019 11:14:05 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=gennadiyusatenko&quot; class=&quot;user-hover&quot; rel=&quot;gennadiyusatenko&quot;&gt;gennadiyusatenko&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;These polygons do not intersect. I suspect that the tool that you&apos;re using to plot these polygons does not draw great arcs between the points. To validate, I would suggest using &lt;a href=&quot;https://s3.amazonaws.com/geodndmap/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://s3.amazonaws.com/geodndmap/index.html&lt;/a&gt; which is a hosted version of &lt;a href=&quot;https://github.com/rueckstiess/geodndmap&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;geodndmap&lt;/a&gt; and generates the following image:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/211846/211846_no-intersection-with-great-arcs.png&quot; width=&quot;100%&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="211846" name="no-intersection-with-great-arcs.png" size="217663" author="kelsey.schubert@mongodb.com" created="Wed, 20 Mar 2019 11:12:42 +0000"/>
                            <attachment id="211840" name="spring-data-mongo-db-jira-geoIntersects.png" size="798116" author="gennadiyusatenko" created="Wed, 20 Mar 2019 10:32:29 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 20 Mar 2019 11:14:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 47 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 47 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>gennadiyusatenko</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hurblr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hugxbz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huqxv3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>