<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:30 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-1246] Wrong collections for geospatial $within $center</title>
                <link>https://jira.mongodb.org/browse/SERVER-1246</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;PHP&amp;#93;&lt;/span&gt;&lt;br/&gt;
$criteria=array(&apos;loc&apos;=&amp;gt;array(&apos;$within&apos;=&amp;gt;array(&apos;$center&apos;=&amp;gt;array(array(51.5221425, -0.1098127),10))));&lt;/p&gt;

&lt;p&gt;Returns results upto 150 miles away&lt;/p&gt;

&lt;p&gt;-&lt;del&gt;OR&lt;/del&gt;-&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;MONGO-SHELL&amp;#93;&lt;/span&gt;&lt;br/&gt;
center=&lt;span class=&quot;error&quot;&gt;&amp;#91;51.5221425, -0.1098127&amp;#93;&lt;/span&gt;;&lt;br/&gt;
radius=10;&lt;br/&gt;
db.vacs.find({&quot;loc&quot; : {&quot;$within&quot; : &lt;/p&gt;
{&quot;$center&quot; : [center, radius]}
&lt;p&gt;}})&lt;/p&gt;

&lt;p&gt;Returns the same results upto 150 miles away.&lt;/p&gt;


&lt;p&gt;The table was built form a mysql import where it returns the correct results so I know the data is correct if that helps at all&lt;/p&gt;</description>
                <environment>Ubuntu karmic 9.10&lt;br/&gt;
&lt;a href=&apos;mailto:root@unix&apos;&gt;root@unix&lt;/a&gt;:/var/lib/mongodb# mongod --version&lt;br/&gt;
db version v1.5.2, pdfile version 4.5&lt;br/&gt;
Thu Jun 17 15:15:06 git version: 03817ed01653204ca474f402e64d54c94ebb1094</environment>
        <key id="12172">SERVER-1246</key>
            <summary>Wrong collections for geospatial $within $center</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="mungodungo">Alex</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Jun 2010 10:16:44 +0000</created>
                <updated>Sun, 4 Jul 2010 08:49:40 +0000</updated>
                            <resolved>Thu, 17 Jun 2010 11:11:42 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="14840" author="eliot" created="Thu, 17 Jun 2010 13:45:19 +0000"  >&lt;p&gt;Reminder - radius is in lat/lng so 1=~70 miles&lt;/p&gt;</comment>
                            <comment id="14837" author="mungodungo" created="Thu, 17 Jun 2010 11:01:18 +0000"  >&lt;p&gt;Here is the data that is being sent to the server (in Json) - which looks correct to me.&lt;/p&gt;

&lt;p&gt;{&quot;loc&quot;:{&quot;$within&quot;:&lt;/p&gt;
{&quot;$center&quot;:[[51.5221425,-0.1098127],10]}
&lt;p&gt;}}&lt;/p&gt;

&lt;p&gt;Here is the data it returns (first 20 anyway)&lt;br/&gt;
26994 London(rough area) 51.51(lat) -0.13(long)&lt;br/&gt;
26993 Edinburgh(rough area) 55.95(lat) -3.2(long)&lt;br/&gt;
26992 London(rough area) 51.5906237(lat) -0.1977723(long)&lt;br/&gt;
26985 London(rough area) 51.51(lat) -0.13(long)&lt;br/&gt;
26984 London(rough area) 51.51(lat) -0.13(long)&lt;br/&gt;
26982 London(rough area) 51.51(lat) -0.13(long)&lt;br/&gt;
26980 Lancashire(rough area) 53.7519721(lat) -2.7136495(long)&lt;br/&gt;
26979 Hampshire(rough area) 51.262177(lat) -1.087183(long)&lt;br/&gt;
26978 London(rough area) 51.51(lat) -0.13(long)&lt;br/&gt;
26977 Cheshire(rough area) 53.2589493(lat) -2.5166068(long)&lt;br/&gt;
26976 London(rough area) 51.51(lat) -0.13(long)&lt;br/&gt;
26975 London(rough area) 51.51(lat) -0.13(long)&lt;br/&gt;
26974 Greater  London(rough area) 51.6110945(lat) -0.1535887(long)&lt;br/&gt;
26973 Brighton(rough area) 50.83(lat) -0.14(long)&lt;br/&gt;
26972 North  West(rough area) 53.625457(lat) -2.613829(long)&lt;br/&gt;
26971 London(rough area) 51.51(lat) -0.13(long)&lt;br/&gt;
26970 Reading(rough area) 51.43(lat) -1(long)&lt;br/&gt;
26969 London(rough area) 51.51(lat) -0.13(long)&lt;br/&gt;
26968 Bracknell(rough area) 51.4162987(lat) -0.7530059(long)&lt;br/&gt;
26967 Manchester(rough area) 53.48(lat) -2.24(long)&lt;/p&gt;</comment>
                    </comments>
                    <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>Thu, 17 Jun 2010 13:45:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 35 weeks, 6 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 35 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>mungodungo</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpl8f:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21969</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>
                                

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

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