<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:38:35 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>[GODRIVER-2429] GeoJSON uses lat/long in the wrong order</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2429</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;

&lt;p&gt;MongoDB calculates the distance between 2 points in Lat, Long order. It uses Latitude for Longitude and Longitude for Latitude in their Point to Point distance calculation&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.icod.de/2022/05/19/serious-bug-in-mongodb-geospatial-distance-calculation/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://blog.icod.de/2022/05/19/serious-bug-in-mongodb-geospatial-distance-calculation/&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Pleaseprovidetheversionofthedriver.Ifapplicable%2CpleaseprovidetheMongoDBserverversionandtopology%28standalone%2Creplicaset%2Corshardedcluster%29.&quot;&gt;&lt;/a&gt;Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).&lt;/h4&gt;
&lt;h4&gt;&lt;a name=&quot;HowtoReproduce&quot;&gt;&lt;/a&gt;How to Reproduce&lt;/h4&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/golang/geo/issues/85&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/golang/geo/issues/85&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2050374">GODRIVER-2429</key>
            <summary>GeoJSON uses lat/long in the wrong order</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="13202">Works as Designed</resolution>
                                        <assignee username="matt.dale@mongodb.com">Matt Dale</assignee>
                                    <reporter username="naden@harana.com">Naden Franciscus</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 May 2022 13:15:11 +0000</created>
                <updated>Fri, 27 Oct 2023 13:16:23 +0000</updated>
                            <resolved>Fri, 20 May 2022 00:17:50 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="4561005" author="JIRAUSER1259527" created="Thu, 19 May 2022 23:00:41 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=naden%40harana.com&quot; class=&quot;user-hover&quot; rel=&quot;naden@harana.com&quot;&gt;naden@harana.com&lt;/a&gt; thanks for the ticket! I noticed the original blog post and &quot;golang/geo&quot; Github issue were both updated to indicate the issue was related to using incorrect point coordinate order (e.g. &lt;tt&gt;(latitude, longitude)&lt;/tt&gt; vs &lt;tt&gt;(longitude, latitude)&lt;/tt&gt;) and no longer suggests a bug in the Go Driver. That confusion is understandable because the coordinate order is different in various standards and tools (MongoDB uses GeoJSON, which expects order &lt;tt&gt;(longitude, latitude)&lt;/tt&gt;). Considering that, I filed &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15351&quot; title=&quot;[Server] Make geospatial coordinate ordering notice more prominent&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15351&quot;&gt;&lt;del&gt;DOCS-15351&lt;/del&gt;&lt;/a&gt; that suggests making the expected coordinate order in MongoDB more prominent in the geospatial operations documentation. Please feel free to leave any comments about the proposed documentation improvement on that ticket.&lt;/p&gt;

&lt;p&gt;&lt;del&gt;Were you able to resolve your original issue by switching the latitude and longitude values in your code?&lt;/del&gt;&lt;br/&gt;
Edit: &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=naden%40harana.com&quot; class=&quot;user-hover&quot; rel=&quot;naden@harana.com&quot;&gt;naden@harana.com&lt;/a&gt; I just saw your comment about closing this ticket! Thanks for the update, will close.&lt;/p&gt;</comment>
                            <comment id="4560676" author="JIRAUSER1269018" created="Thu, 19 May 2022 20:22:03 +0000"  >&lt;p&gt;I only reported this as the author had issues logging in. But from the blog post it looks like a non-issue and can be closed ?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2051002">DOCS-15351</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0ee54:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>