<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:40:52 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>[DOCS-1367] Comment on: &quot;manual/core/2d.txt&quot;</title>
                <link>https://jira.mongodb.org/browse/DOCS-1367</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;The 2.4 docs indicate that 2d indexes should be in the order: longitude, latitude.&lt;/p&gt;

&lt;p&gt;I&apos;m almost positive that this is the wrong order for 2d indexes.  I believe the new order is long/lat for 2dsphere indexes, but that the 2d index order must be lat/long.&lt;/p&gt;

&lt;p&gt;Can you confirm?&lt;/p&gt;</description>
                <environment>&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;http://docs.mongodb.org/manual/core/2d/&quot;&gt;http://docs.mongodb.org/manual/core/2d/&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31&lt;br/&gt;
*Referrer*: &lt;a href=&quot;http://docs.mongodb.org/manual/core/geospatial-indexes/&quot;&gt;http://docs.mongodb.org/manual/core/geospatial-indexes/&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 1440 x 900&lt;br/&gt;
*repo*: docs&lt;br/&gt;
*source*: core/2d&lt;br/&gt;
</environment>
        <key id="71291">DOCS-1367</key>
            <summary>Comment on: &quot;manual/core/2d.txt&quot;</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="thomas.rueckstiess@mongodb.com">Thomas Rueckstiess</assignee>
                                    <reporter username="jlee">Jeff lee</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Wed, 10 Apr 2013 00:56:48 +0000</created>
                <updated>Fri, 3 Nov 2017 11:24:08 +0000</updated>
                            <resolved>Tue, 16 Apr 2013 13:21:46 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="310484" author="jlee" created="Wed, 10 Apr 2013 18:31:59 +0000"  >&lt;p&gt;Ouch...ok.  It took me a few re-reads but I think I understand what the original intent was in that documentation.&lt;/p&gt;

&lt;p&gt;Thanks for the clarification.&lt;/p&gt;</comment>
                            <comment id="309890" author="fbjork" created="Wed, 10 Apr 2013 02:05:26 +0000"  >&lt;p&gt;The documentation for 2d indexes is correct for 2.2 and above, I think the documentation should be clearer for 2.x and below that the order is lat, lon.&lt;/p&gt;</comment>
                            <comment id="309884" author="thomasr" created="Wed, 10 Apr 2013 02:00:03 +0000"  >&lt;p&gt;Hi Jeff,&lt;/p&gt;

&lt;p&gt;The order of arguments is &lt;span class=&quot;error&quot;&gt;&amp;#91;longitude, latitude&amp;#93;&lt;/span&gt; for both 2d and 2dsphere indexes.&lt;/p&gt;

&lt;p&gt;The wiki page you linked to is a very old version of the docs. That version of the page appears to be inconsistent, because further down, it also states:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;The code assumes that you are using decimal degrees in (X,Y) / (longitude, latitude) order.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;If you skip forward in the version history of this page, you will see that a later version has this sentence and the example above fixed: &lt;a href=&quot;https://wiki.10gen.com/pages/viewpage.action?pageId=22348147&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.10gen.com/pages/viewpage.action?pageId=22348147&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;http://docs.mongodb.org/v2.2/core/geospatial-indexes/#store-location-data&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;current v2.2 documentation on the 2d index&lt;/a&gt; also states that the order is longitude first, then latitude. This is compliant with the &lt;a href=&quot;http://www.geojson.org/geojson-spec.html#id29&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;GeoJSON specification&lt;/a&gt;. &lt;/p&gt;


&lt;p&gt;Let me know if you have any follow-up questions.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                            <comment id="309873" author="jlee" created="Wed, 10 Apr 2013 01:38:08 +0000"  >&lt;p&gt;Found a copy of the old docs:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.10gen.com/pages/viewpage.action?pageId=21268125#GeospatialIndexing-CreatingtheIndex&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.10gen.com/pages/viewpage.action?pageId=21268125#GeospatialIndexing-CreatingtheIndex&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&quot;By default, the index assumes you are indexing latitude/longitude and is thus configured for a &lt;span class=&quot;error&quot;&gt;&amp;#91;-180..180&amp;#93;&lt;/span&gt; value range.&quot;&lt;/p&gt;

&lt;p&gt;That matches my experience with 2d indexes.&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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 10 Apr 2013 02:00:03 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 45 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>fbjork</customfieldvalue>
            <customfieldvalue>jlee</customfieldvalue>
            <customfieldvalue>thomas.rueckstiess@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrry4v:</customfieldvalue>

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

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

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