-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOCSP-35744 geospatial page #229
base: master
Are you sure you want to change the base?
DOCSP-35744 geospatial page #229
Conversation
✅ Deploy Preview for docs-pymongo ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with some small things!
source/geo.txt
Outdated
- GeoJSON, a format that represents geospatial data on an earth-like | ||
sphere. | ||
|
||
- Legacy coordinate pairs, a format that represents geospatial data | ||
on a Euclidean plane. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit
- GeoJSON, a format that represents geospatial data on an earth-like | |
sphere. | |
- Legacy coordinate pairs, a format that represents geospatial data | |
on a Euclidean plane. | |
- GeoJSON, a format that represents geospatial data on an earth-like | |
sphere | |
- Legacy coordinate pairs, a format that represents geospatial data | |
on a Euclidean plane |
source/geo.txt
Outdated
{ | ||
"type": "Point", | ||
"coordinates": [-73.856077, 40.848447] | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applies to all the dictionaries on this page.
{ | |
"type": "Point", | |
"coordinates": [-73.856077, 40.848447] | |
} | |
{ | |
"type": "Point", | |
"coordinates": [-73.856077, 40.848447] | |
} | |
source/geo.txt
Outdated
Legacy coordinate pairs are represented by an array of two values, in which the first | ||
represents the ``x`` axis value and the second represents the ``y`` axis value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit
Legacy coordinate pairs are represented by an array of two values, in which the first | |
represents the ``x`` axis value and the second represents the ``y`` axis value. | |
Legacy coordinate pairs are represented by an array of two values, in which the first value | |
represents the ``x`` axis value and the second represents the ``y`` axis value. |
- ``2dsphere``, used for GeoJSON data | ||
- ``2d``, used for legacy coordinate pairs | ||
|
||
To learn more about how to create geospatial indexes, see the :ref:`geospatial-indexes` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken link at the moment, you'll need to add the geospatial-indexes
ref to the Indexes landing page.
source/geo.txt
Outdated
The results of the preceding example contain the following documents: | ||
|
||
.. code-block:: json | ||
:copyable: False | ||
|
||
{ "_id" : ObjectId("59a47287cfa9a3a73e51e8e2"), "theaterId" : 1908 } | ||
{ "_id" : ObjectId("59a47286cfa9a3a73e51e838"), "theaterId" : 1448 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: For this example and the next one you could combine this with the code example using the io-code-block
component.
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-37544
Staging Links
Self-Review Checklist