<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:55:15 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-823] Geospatial indexing should work with spherical surfaces</title>
                <link>https://jira.mongodb.org/browse/SERVER-823</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Geospatial indexing, and querying those data assumes that a surface is Cartesian surface (flat). This is not the case with the Earth. Treating geographical coordinates as Cartesian coordinates, leads to obvious errors.&lt;/p&gt;

&lt;p&gt;I believe $center and $box queries could possibly be &quot;fixed&quot; by most people by upcoming search within polygon &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;, but obviously this won&apos;t fix $near results errors.&lt;/p&gt;

&lt;p&gt;It is very desired that there is some kind of specifying that geospatial index should work with sphere, not flat surface.&lt;/p&gt;

&lt;p&gt;Maybe a way to do it from user&apos;s point of view would be:&lt;/p&gt;

&lt;p&gt;db.places.create_index(&lt;/p&gt;
{location: [&quot;2d&quot;, 6500]}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;Specifying radius of sphere this way would make sense for people who want to use different units than kilometers, or map things on different surfaces (Mars, anyone?).&lt;/p&gt;</description>
                <environment></environment>
        <key id="11608">SERVER-823</key>
            <summary>Geospatial indexing should work with spherical surfaces</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="3">Duplicate</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="hubertlepicki">Hubert Lepicki</reporter>
                        <labels>
                    </labels>
                <created>Wed, 24 Mar 2010 09:57:27 +0000</created>
                <updated>Tue, 29 May 2012 14:53:34 +0000</updated>
                            <resolved>Fri, 12 Nov 2010 21:05:07 +0000</resolved>
                                                                    <component>Querying</component>
                                        <votes>13</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="20274" author="eliot" created="Fri, 12 Nov 2010 21:05:07 +0000"  >&lt;p&gt;This was done with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1342&quot; title=&quot;Spherical distance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1342&quot;&gt;&lt;del&gt;SERVER-1342&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Was in 1.7.0&lt;/p&gt;</comment>
                            <comment id="14704" author="dlee" created="Sun, 13 Jun 2010 03:36:57 +0000"  >&lt;p&gt;There has been initial discussions on &lt;a href=&quot;http://groups.google.com/group/mongodb-dev/browse_thread/thread/994a2819d0115e02&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-dev/browse_thread/thread/994a2819d0115e02&lt;/a&gt; for adding &quot;sphere&quot; indexing. I&apos;m not sure what the progress on this is, though.&lt;/p&gt;</comment>
                            <comment id="13169" author="hubertlepicki" created="Wed, 24 Mar 2010 10:06:21 +0000"  >&lt;p&gt;An alternative to this, would be to have 3-dimensional, or N-dimensional if done more flexible way, geospatial indexing.&lt;/p&gt;

&lt;p&gt;This solution would allow users to use all 3 geographical coordinates, but would require them to convert them into some kind of 3d Cartesian coordinates. This is not hard, and additional gain is that you can calculate real distances between places, taking into consideration their height above sea level.&lt;/p&gt;

&lt;p&gt;I think this is suggested in ticket &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-691&quot; title=&quot;n-dimensional geospatial search&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-691&quot;&gt;SERVER-691&lt;/a&gt;, which is even better than what I suggest.&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 13 Jun 2010 03:36:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 14 weeks, 5 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, 14 weeks, 5 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dlee</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>hubertlepicki</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrppw7:</customfieldvalue>

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

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

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