-
Notifications
You must be signed in to change notification settings - Fork 43
DOCSP-38823: Insert docs with geospatial data #545
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-38823: Insert docs with geospatial data #545
Conversation
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 w/ a few suggestions
Insert a Document Containing GeoJSON Data | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
To insert a document that stores GeoJSON data, specify a document that contains a GeoJSON |
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.
S: to me, "specify a document" is a little funny on its own like this. looks like you used "create a document" in the next section; i think that works better
To insert a document that stores GeoJSON data, specify a document that contains a GeoJSON | |
To insert a document that stores GeoJSON data, create a document that contains a GeoJSON |
value and pass the document to the ``insertOne()`` method. | ||
|
||
The following example inserts a document that includes a ``location.geo`` field, | ||
which stores GeoJSON data: |
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.
which stores GeoJSON data: | |
which contains GeoJSON data: |
``insertOne()`` method. | ||
|
||
The following example inserts a document that includes a ``coordinates`` field, | ||
which stores geospatial data as a legacy coordinate pair: |
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.
which stores geospatial data as a legacy coordinate pair: | |
which contains geospatial data as a legacy coordinate pair: |
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!
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-38823
Staging - https://preview-mongodbnorareidy.gatsbyjs.io/java/DOCSP-38823-insert-doc-geospatial/fundamentals/crud/read-operations/geo/
Self-Review Checklist