<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:40:23 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-79218] geoWithin: Data not being returned for points in bounds</title>
                <link>https://jira.mongodb.org/browse/SERVER-79218</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I have the data attached in this ticket. Corresponding queries are also attached in Steps to reproduce.&#160;&#160;&lt;/p&gt;

&lt;p&gt;geoWithin query doesn&apos;t return data even when the bounds seem to enclose the data. Can you please help. This is being used in an application where the map bounds are being used to get data from MongoDB. However, the behavior is not deterministic.&lt;/p&gt;

&lt;p&gt;Server version: 6.0.8 Community&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2398440">SERVER-79218</key>
            <summary>geoWithin: Data not being returned for points in bounds</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="khalidbashirbajwa@gmail.com">Khalid Bashir Bajwa</reporter>
                        <labels>
                    </labels>
                <created>Fri, 21 Jul 2023 22:20:21 +0000</created>
                <updated>Mon, 24 Jul 2023 20:58:59 +0000</updated>
                            <resolved>Mon, 24 Jul 2023 20:50:40 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5587861" author="JIRAUSER1274210" created="Mon, 24 Jul 2023 20:58:59 +0000"  >&lt;p&gt;Thank you. Yes the issue is quite similar. I&apos;ll keep on watching &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78343&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-78343&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="5587847" author="JIRAUSER1270794" created="Mon, 24 Jul 2023 20:50:18 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=khalidbashirbajwa%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;khalidbashirbajwa@gmail.com&quot;&gt;khalidbashirbajwa@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for your report. It appears that this issue is a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78343&quot; title=&quot;geoWithin not returning correct data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78343&quot;&gt;&lt;del&gt;SERVER-78343&lt;/del&gt;&lt;/a&gt;, which is currently under investigation by the server team. Your patience and understanding are highly appreciated during this process. I will close this ticket, and please watch &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78343&quot; title=&quot;geoWithin not returning correct data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78343&quot;&gt;&lt;del&gt;SERVER-78343&lt;/del&gt;&lt;/a&gt; for any further updates.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Yuan&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2374966">SERVER-78343</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 24 Jul 2023 20:50:18 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        28 weeks, 2 days 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>khalidbashirbajwa@gmail.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            28 weeks, 2 days 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>khalidbashirbajwa@gmail.com</customfieldvalue>
            <customfieldvalue>yuan.fang@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2j1pr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i216c8:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;tt&gt;Create sample data&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;db.geo_json_test.insertMany([{name: &quot;001A&quot;, location: {type: &quot;Point&quot;, coordinates: &lt;span class=&quot;error&quot;&gt;&amp;#91;-58.4473758, -34.5763659&amp;#93;&lt;/span&gt;&lt;/tt&gt;,{name: &quot;001B&quot;, location: {type: &quot;Point&quot;, coordinates: &lt;span class=&quot;error&quot;&gt;&amp;#91;-58.4473606, -34.5763057&amp;#93;&lt;/span&gt;}},{name: &quot;001C&quot;, location: {type: &quot;Point&quot;, coordinates: &lt;span class=&quot;error&quot;&gt;&amp;#91;-58.4473746, -34.5763513&amp;#93;&lt;/span&gt;}},{name: &quot;001D&quot;, location: {type: &quot;Point&quot;, coordinates: &lt;span class=&quot;error&quot;&gt;&amp;#91;-58.4474213, -34.5763618&amp;#93;&lt;/span&gt;}}])}}&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;Query returning all points&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;db.geo_json_test.find({&apos;$and&apos;: [{&apos;location&apos;: {&apos;$geoWithin&apos;: {&apos;$geometry&apos;: {&apos;type&apos;: &apos;Polygon&apos;, &apos;coordinates&apos;: [[&lt;span class=&quot;error&quot;&gt;&amp;#91;23,0&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-133,0&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-133,-36&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;23,-36&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;23,0&amp;#93;&lt;/span&gt;]]&lt;/tt&gt;}}]})}}&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;Query not returning any point&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;db.geo_json_test.find({&apos;$and&apos;: [{&apos;location&apos;: {&apos;$geoWithin&apos;: {&apos;$geometry&apos;: {&apos;type&apos;: &apos;Polygon&apos;, &apos;coordinates&apos;: [[&lt;span class=&quot;error&quot;&gt;&amp;#91;26,-12&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-126,-12&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-126,-42&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;26,-42&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;26,-12&amp;#93;&lt;/span&gt;]]&lt;/tt&gt;}}]})}}&lt;/p&gt;</customfieldvalue>

                        </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>
                                

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

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