<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:21:54 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-9957] Some polygons are refused by the 2dsphere index</title>
                <link>https://jira.mongodb.org/browse/SERVER-9957</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There are some GeoJSON polygons that are refused by the 2dsphere index (&quot;Can&apos;t extract geo keys from object, malformed geometry&quot;)&lt;br/&gt;
There is no obvious pattern on the polygon.  A slight perturbation of one of the vertex makes it acceptable again.  AFAIK, the polygons are correct.&lt;/p&gt;
</description>
                <environment>Linux</environment>
        <key id="79444">SERVER-9957</key>
            <summary>Some polygons are refused by the 2dsphere index</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="-1">Unassigned</assignee>
                                    <reporter username="thoran">Fr&#233;d&#233;ric De Jaeger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Jun 2013 14:31:11 +0000</created>
                <updated>Thu, 29 Jan 2015 19:00:03 +0000</updated>
                            <resolved>Tue, 25 Jun 2013 14:24:42 +0000</resolved>
                                    <version>2.4.3</version>
                                                    <component>Geo</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="367280" author="ian@10gen.com" created="Tue, 25 Jun 2013 14:24:42 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=thoran&quot; class=&quot;user-hover&quot; rel=&quot;thoran&quot;&gt;thoran&lt;/a&gt; - I&apos;m closing this for now, but please feel free to open a separate feature request in re the rectangle primitive if you&apos;d like to discuss the idea with a developer.&lt;/p&gt;</comment>
                            <comment id="363203" author="thoran" created="Wed, 19 Jun 2013 09:10:45 +0000"  >&lt;p&gt;My fault.  Got bitten by the geodesics.  It would be nice to have a Rectangle primitive for indexing and querying with the 2dsphere index. I&apos;m sure we are not the only one trying to represent google maps frame with a GeoJSON Polygon and this is incorrect, especially for large area.&lt;/p&gt;</comment>
                            <comment id="362625" author="derick" created="Tue, 18 Jun 2013 14:56:14 +0000"  >&lt;p&gt;I think this is actually an invalid polygon, as it&apos;s a single line crossing the South Pole... (116 + 64 = 180). This is a nice visualisation:&lt;br/&gt;
&lt;a href=&quot;http://www.gcmap.com/mapui?P=116.0W+87.0181S+-+64E+87.0181S%2C+64E+87.0181S+-+64.0E+71.0181S%2C+64.0E+71.0181S+-+116.0W+71.0181S%2C116.0W+71.0181S+-+116.0W+87.0181S&amp;amp;MS=wls&amp;amp;DU=mi&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.gcmap.com/mapui?P=116.0W+87.0181S+-+64E+87.0181S%2C+64E+87.0181S+-+64.0E+71.0181S%2C+64.0E+71.0181S+-+116.0W+71.0181S%2C116.0W+71.0181S+-+116.0W+87.0181S&amp;amp;MS=wls&amp;amp;DU=mi&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="362614" author="thoran" created="Tue, 18 Jun 2013 14:36:55 +0000"  >&lt;p&gt;sorry I made a copy paste error, here is the command that fails to work for no good reason:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.mycol.save({&quot;loc&quot;:{&quot;type&quot;:&quot;Polygon&quot;,&quot;coordinates&quot;:[[&lt;span class=&quot;error&quot;&gt;&amp;#91;-116.0,-87.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;64.0,-87.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;64.0,-71.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-116.0,-71.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-116.0,-87.0181&amp;#93;&lt;/span&gt;]]}})&lt;/p&gt;

&lt;p&gt;the one provided in the &quot;step to reproduce&quot; is really invalid (first and last vertex mismatch)&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>Tue, 18 Jun 2013 14:56:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 34 weeks, 1 day 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>alex.lerner</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 34 weeks, 1 day 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>derick</customfieldvalue>
            <customfieldvalue>thoran</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmpvb:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>72605</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;MongoDB shell version: 2.4.3&lt;br/&gt;
&amp;gt; use prout&lt;br/&gt;
switched to db prout&lt;br/&gt;
&amp;gt; db.mycol.ensureIndex(&lt;/p&gt;
{&quot;loc&quot;: &quot;2dsphere&quot;}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.mycol.save({&quot;loc&quot;:{&quot;type&quot;:&quot;Polygon&quot;,&quot;coordinates&quot;:[[&lt;span class=&quot;error&quot;&gt;&amp;#91;-116.0,-87.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;64.0,-87.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;64.0,-71.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-116.0,-71.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-116.0,-88.0181&amp;#93;&lt;/span&gt;]]}})&lt;br/&gt;
Can&apos;t extract geo keys from object, malformed geometry?:&lt;/p&gt;
{ type: &quot;Polygon&quot;, coordinates: [ [ [ -116.0, -87.0181 ], [ 64.0, -87.0181 ], [ 64.0, -71.0181 ], [ -116.0, -71.0181 ], [ -116.0, -88.0181 ] ] ] }

&lt;p&gt;// this one works, observe the subtle difference.&lt;/p&gt;

&lt;p&gt;&amp;gt; db.mycol.save({&quot;loc&quot;:{&quot;type&quot;:&quot;Polygon&quot;,&quot;coordinates&quot;:[[&lt;span class=&quot;error&quot;&gt;&amp;#91;-116.0,-87.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;64.0,-85.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;64.0,-71.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-116.0,-71.0181&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;-116.0,-87.0181&amp;#93;&lt;/span&gt;]]}})&lt;/p&gt;</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_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|ht01r3:</customfieldvalue>

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