<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:56 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-3054] Assertion failure bmin &lt;= bmax db/geo/2d.cpp 356</title>
                <link>https://jira.mongodb.org/browse/SERVER-3054</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&amp;gt; use EagleEye&lt;br/&gt;
&amp;gt; db.POI.insert({&quot;reporter&quot; : [&lt;/p&gt;
{&quot;imsi&quot; : &quot;hardcoded&quot;, &quot;date&quot; : &quot;123&quot;}
&lt;p&gt;], &quot;location&quot; : { &quot;loc&quot; : &lt;/p&gt;
{&quot;long&quot; : 48.35421, &quot;lat&quot; : 135.85171}
&lt;p&gt;, &quot;course&quot; : 0, &quot;name&quot; : &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;GAI Post 20km/h&amp;#93;&lt;/span&gt; 13  ( )&quot;, &quot;type&quot; : &quot;GIBDD&quot;}})&lt;br/&gt;
&amp;gt; db.POI.ensureIndex()&lt;br/&gt;
&amp;gt; db.runCommand(&lt;/p&gt;
{&quot;geoNear&quot;: &quot;POI&quot;, &quot;near&quot; : [48.483132, 135.257178], &quot;spherical&quot; : &quot;true&quot;, &quot;maxDistance&quot; : 0.22/6378}
&lt;p&gt;)&lt;br/&gt;
{&lt;br/&gt;
	&quot;ns&quot; : &quot;EagleEye.POI&quot;,&lt;br/&gt;
	&quot;near&quot; : &quot;1101110000001000001011101101110001010011001000111001&quot;,&lt;br/&gt;
	&quot;errmsg&quot; : &quot;exception: assertion db/geo/2d.cpp:356&quot;,&lt;br/&gt;
	&quot;code&quot; : 0,&lt;br/&gt;
	&quot;ok&quot; : 0&lt;br/&gt;
}&lt;/p&gt;
</description>
                <environment>Linux tos-13 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011 i686 GNU/Linux&lt;br/&gt;
Notebook Compaq 6910p</environment>
        <key id="16706">SERVER-3054</key>
            <summary>Assertion failure bmin &lt;= bmax db/geo/2d.cpp 356</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="greg_10gen">Greg Studer</assignee>
                                    <reporter username="cankill">Andrey Filyanin</reporter>
                        <labels>
                            <label>geoNear</label>
                    </labels>
                <created>Fri, 6 May 2011 10:44:22 +0000</created>
                <updated>Tue, 12 Jul 2016 00:18:39 +0000</updated>
                            <resolved>Fri, 6 May 2011 17:44:39 +0000</resolved>
                                    <version>1.8.0-rc2</version>
                                    <fixVersion>1.9.1</fixVersion>
                                    <component>Geo</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="32251" author="greg_10gen" created="Thu, 12 May 2011 14:04:31 +0000"  >&lt;p&gt;The first field found in the bson object will always be considered longitude, and the second field latitude - the name is completely ignored.  This also holds for arrays - first is always longitude, second is latitude.  Certain languages (I&apos;m not sure if perl is one) use unordered hashes, which may be your problem here as the iteration order of keys is undefined - but BSON documents always have an ordering.&lt;/p&gt;

&lt;p&gt;The documentation mentions this in caveat #1, but you are right, it should be emphasized.&lt;/p&gt;</comment>
                            <comment id="32226" author="cankill" created="Thu, 12 May 2011 06:47:35 +0000"  >&lt;p&gt;I found a cause of my headache.&lt;br/&gt;
I am using perl driver, and after inserting a document into collection, for some reason, the order of fields &lt;/p&gt;
{long=47, lat=55}
&lt;p&gt; is changing in mongoDB. So when i look up this document through mongo console I see something like &lt;/p&gt;
{lat=55, long=47}
&lt;p&gt;. This is why geo-finding features don`t work. There is no any word about correct order of fields &quot;long&quot; and &quot;lat&quot; in documentation, and it is very confusing. Is this meaningful order correct for named fields?&lt;/p&gt;</comment>
                            <comment id="32107" author="greg_10gen" created="Wed, 11 May 2011 15:30:17 +0000"  >&lt;p&gt;You&apos;re using the command correctly, but the distance you are using is too small.  For maxDistance, you need to divide the distance you want by the radius of the earth (in the same units).  Your points are about 47 km apart, so you need to have a maxDistance of 47(km)/6378(km).  See &lt;a href=&quot;http://www.movable-type.co.uk/scripts/latlong.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.movable-type.co.uk/scripts/latlong.html&lt;/a&gt; . &lt;/p&gt;

&lt;p&gt;Another (very very approximate! ) way of doing this would be to convert degree distance directly into radians by multiplying by pi/180 - see &lt;a href=&quot;http://www.mongodb.org/display/DOCS/Geospatial+Indexing#comment-134517736&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/Geospatial+Indexing#comment-134517736&lt;/a&gt; &lt;/p&gt;</comment>
                            <comment id="31833" author="cankill" created="Tue, 10 May 2011 09:03:12 +0000"  >&lt;p&gt;Ok, I change longitude and latitude, but geoNear give me nothing as result, I could be wrong, but in &quot;near&quot; parameter we should use order &lt;span class=&quot;error&quot;&gt;&amp;#91;longitude, latitude&amp;#93;&lt;/span&gt;?&lt;/p&gt;

&lt;p&gt;&amp;gt; use EagleEye&lt;br/&gt;
&amp;gt; db.POI.insert({&quot;reporter&quot; : [&lt;/p&gt;
{&quot;imsi&quot; : &quot;hardcoded&quot;, &quot;date&quot; : &quot;123&quot;}
&lt;p&gt;], &quot;location&quot; : { &quot;loc&quot; : &lt;/p&gt;
{&quot;long&quot; : 135.85171, &quot;lat&quot; : 48.35421}
&lt;p&gt;, &quot;course&quot; : 0, &quot;name&quot; : &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;GAI Post 20km/h&amp;#93;&lt;/span&gt; 13 ( )&quot;, &quot;type&quot; : &quot;GIBDD&quot;}})&lt;br/&gt;
&amp;gt; db.POI.ensureIndex()&lt;br/&gt;
&amp;gt; db.runCommand(&lt;/p&gt;
{&quot;geoNear&quot;: &quot;POI&quot;, &quot;near&quot; : [135.257178, 48.483132], &quot;spherical&quot; : &quot;true&quot;, &quot;maxDistance&quot; : 0.22/6378}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
	&quot;ns&quot; : &quot;EagleEye.POI&quot;,&lt;br/&gt;
	&quot;near&quot; : &quot;1110110000000100000111011110110010100011000100110110&quot;,&lt;br/&gt;
	&quot;results&quot; : [ ],&lt;br/&gt;
	&quot;stats&quot; : &lt;/p&gt;
{
		&quot;time&quot; : 0,
		&quot;btreelocs&quot; : 0,
		&quot;nscanned&quot; : 0,
		&quot;objectsLoaded&quot; : 0,
		&quot;avgDistance&quot; : NaN,
		&quot;maxDistance&quot; : -1
	}
&lt;p&gt;,&lt;br/&gt;
	&quot;ok&quot; : 1&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="31832" author="cankill" created="Tue, 10 May 2011 08:13:24 +0000"  >&lt;p&gt;Yes! You are right, my mistake. I was using latitude coordinates instead of longitude and vice versa.&lt;br/&gt;
Thank you very much for your answer.&lt;/p&gt;</comment>
                            <comment id="31386" author="greg_10gen" created="Fri, 6 May 2011 17:44:39 +0000"  >&lt;p&gt;problem is that your latitude is outside the valid bounds (-90, 90), which causes this weird error pre-1.9.  See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2980&quot; title=&quot;Invalid coordinates in spherical queries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2980&quot;&gt;&lt;del&gt;SERVER-2980&lt;/del&gt;&lt;/a&gt; for the fix for better error messages in 1.9.1.  &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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 6 May 2011 17:44:39 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 40 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>cankill</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp09z:</customfieldvalue>

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

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

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