<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:54:53 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-690] geo bounding box query </title>
                <link>https://jira.mongodb.org/browse/SERVER-690</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;db.foo.find( { loc : { $within : &lt;/p&gt;
{ $box :  [ [ 1 , 2 ] , [ 4 , 5] ] }
&lt;p&gt; } } )&lt;br/&gt;
db.foo.find( { loc : { $within : &lt;/p&gt;
{ $center :  [ [ 1 , 2 ] , 6  ] }
&lt;p&gt; } } )&lt;/p&gt;</description>
                <environment></environment>
        <key id="11406">SERVER-690</key>
            <summary>geo bounding box query </summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Mar 2010 07:29:15 +0000</created>
                <updated>Tue, 12 Jul 2016 00:30:12 +0000</updated>
                            <resolved>Wed, 17 Mar 2010 10:54:31 +0000</resolved>
                                                    <fixVersion>1.3.4</fixVersion>
                                    <component>Querying</component>
                                        <votes>14</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="13078" author="eliot" created="Wed, 17 Mar 2010 10:54:31 +0000"  >&lt;p&gt;$box and $center done see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-772&quot; title=&quot;geo polygon searches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-772&quot;&gt;&lt;del&gt;SERVER-772&lt;/del&gt;&lt;/a&gt; for polygon&lt;/p&gt;</comment>
                            <comment id="13062" author="auto" created="Tue, 16 Mar 2010 17:06:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: bounding box $box queries &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-690&quot; title=&quot;geo bounding box query &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-690&quot;&gt;&lt;del&gt;SERVER-690&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/17825fe4ccb029f5451d8385e64c832711dd19a8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/17825fe4ccb029f5451d8385e64c832711dd19a8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="13053" author="auto" created="Tue, 16 Mar 2010 16:10:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: $center queryies for geo &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-690&quot; title=&quot;geo bounding box query &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-690&quot;&gt;&lt;del&gt;SERVER-690&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/42820656f3b5ff3570006ba101595d09f54fc8ae&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/42820656f3b5ff3570006ba101595d09f54fc8ae&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="13025" author="auto" created="Mon, 15 Mar 2010 23:50:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: some prep for geo $within &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-690&quot; title=&quot;geo bounding box query &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-690&quot;&gt;&lt;del&gt;SERVER-690&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/3f6d78ca29529446362440c5ae209c40019f8cbe&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/3f6d78ca29529446362440c5ae209c40019f8cbe&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="12904" author="cvillecsteele" created="Wed, 10 Mar 2010 17:04:50 +0000"  >&lt;p&gt;We (www.hotelicopter.com) would definitely like to see bounding box queries supported.  Circle too, but less important.  Polygons about the same importance as circle.&lt;/p&gt;</comment>
                            <comment id="12903" author="pitchfork" created="Wed, 10 Mar 2010 16:30:01 +0000"  >&lt;p&gt;either way is fine w/ me, so long as distance can be limited.&lt;/p&gt;</comment>
                            <comment id="12898" author="hubertlepicki" created="Wed, 10 Mar 2010 14:28:13 +0000"  >&lt;p&gt;&amp;gt; points within 5 miles: db.foo.find( { loc : {$pt: &lt;span class=&quot;error&quot;&gt;&amp;#91;50, 50&amp;#93;&lt;/span&gt;, $distance: 5}} )&lt;/p&gt;

&lt;p&gt;I think this is equivalent to:&lt;br/&gt;
db.foo.find( { loc : { $within : &lt;/p&gt;
{ $center : [ [ 50 , 50 ] , 5 ] }
&lt;p&gt; } } )&lt;/p&gt;

&lt;p&gt;the only difference is different syntax, and I think original one is superior...&lt;/p&gt;</comment>
                            <comment id="12892" author="pitchfork" created="Wed, 10 Mar 2010 12:28:25 +0000"  >&lt;p&gt;having a &quot;distance&quot; parameter to limit results to those within certain distance would be excellent. i&apos;d love to see polygons, too. &lt;/p&gt;

&lt;p&gt;points within 5 miles: db.foo.find( { loc : {$pt: &lt;span class=&quot;error&quot;&gt;&amp;#91;50, 50&amp;#93;&lt;/span&gt;, $distance: 5}} )&lt;/p&gt;</comment>
                            <comment id="12779" author="csirac2" created="Sun, 7 Mar 2010 06:32:57 +0000"  >&lt;p&gt;Well, even this modest 2d stuff in 1.3.3 makes mongodb even more interesting. $box would be appreciated, but it&apos;s probably nowhere near as useful as $center/near. I&apos;m not sure there&apos;s much real-world data that can be safely approximated to box areas.&lt;/p&gt;

&lt;p&gt;Implementing polygons and validating the work would take a lot of effort, but when you need them, you need them (eg, extract objects which exist in both polygon N and M &lt;span class=&quot;error&quot;&gt;&amp;#91;intersection&amp;#93;&lt;/span&gt;). &lt;/p&gt;

&lt;p&gt;Perhaps if you&apos;re dealing with data visualisation/reporting stuff $box is okay, but It&apos;s unlikely there are many &quot;interesting&quot; data analysis/computational situations in the wild where $box would suffice (but then, are those applications likely to consider mongodb... who knows).&lt;/p&gt;</comment>
                            <comment id="12766" author="eliot" created="Fri, 5 Mar 2010 20:47:23 +0000"  >&lt;p&gt;Right, $box is for finding all points within a box, circle is for finding all points within a distance of another point.&lt;/p&gt;</comment>
                            <comment id="12762" author="hubertlepicki" created="Fri, 5 Mar 2010 17:30:36 +0000"  >&lt;p&gt;This is cool, very cool in fact. But not sure if I understand correctly: $box is for square areas, and $center will perform search within a circle?&lt;/p&gt;</comment>
                            <comment id="12717" author="jhurliman" created="Wed, 3 Mar 2010 23:34:57 +0000"  >&lt;p&gt;I would be interested in bounding box queries. I would choose optimized bounding boxes over generalized polygon queries for my own interest, but either would be good. As long as it has 3D or n-dimensional support.&lt;/p&gt;</comment>
                            <comment id="12708" author="jshow" created="Wed, 3 Mar 2010 10:30:38 +0000"  >&lt;p&gt;Thanks Eliot - Are polygons not a general case for $box?&lt;/p&gt;

&lt;p&gt;thus 2 birds (I&apos;m not a math expert) &lt;/p&gt;

&lt;p&gt;I especially like the addition of polygons - it&apos;s a capability we don&apos;t have currently with solr (localsolr) and would make the move to mongoDB much more interesting!&lt;/p&gt;</comment>
                            <comment id="12704" author="weejames" created="Wed, 3 Mar 2010 09:52:16 +0000"  >&lt;p&gt;I&apos;d be especially interested in searching within Polygons.  I&apos;m about to embark on a project that uses a lot of geospatial data and was about to use Oracle XE to handle the geospatial calculations I need to do.  I&apos;m already going to be using mongo for some stuff so to be able to have that data available there would be brilliant.&lt;/p&gt;</comment>
                            <comment id="12690" author="eliot" created="Tue, 2 Mar 2010 20:41:31 +0000"  >&lt;p&gt;polygons are possible - just gauging interest.  we really don&apos;t like adding features no one wants &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="12689" author="jshow" created="Tue, 2 Mar 2010 20:37:44 +0000"  >&lt;p&gt;have you considered polygons?&lt;/p&gt;

&lt;p&gt;db.foo.find( { loc : { $within : &lt;/p&gt;
{ $polygon : [ [ 1 , 2 ] , [3, 4], [5, 6] ] }
&lt;p&gt; } } )&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="11542">SERVER-772</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 2 Mar 2010 20:37:44 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 49 weeks 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>cvillecsteele</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>hubertlepicki</customfieldvalue>
            <customfieldvalue>weejames</customfieldvalue>
            <customfieldvalue>jshow</customfieldvalue>
            <customfieldvalue>jhurliman</customfieldvalue>
            <customfieldvalue>csirac2</customfieldvalue>
            <customfieldvalue>pitchfork</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpr9b:</customfieldvalue>

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

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

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