Skip to content
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

Example of using GeoPt #972

Closed
bradabrams opened this issue Nov 28, 2015 · 8 comments
Closed

Example of using GeoPt #972

bradabrams opened this issue Nov 28, 2015 · 8 comments
Assignees
Labels
api: datastore Issues related to the Datastore API. type: question Request for information or clarification. Not an issue.

Comments

@bradabrams
Copy link

I can't figure out how to use GeoPt... is there an example I can look at?
https://cloud.google.com/appengine/docs/java/datastore/geosearch

@jgeewax
Copy link
Contributor

jgeewax commented Nov 28, 2015

I think GeoPt is a client-side creation with a special "meaning" attached and not explicitly exposed via the JSON API.

See googleapis/google-cloud-python#1065 (comment) for more info.

The meaning field in the protobufs is not super well defined.

@stephenplusplus : Is there anywhere we use meaning=9 ?

@pcostell : Is there any chance we're making "meaning" a first-class citizen on the API for the next versions of the Cloud Datastore API?

@pcostell
Copy link
Contributor

No we should not expose GeoPt using meaning. V1beta3 will have a separate
geopoint value that can be used.

We intentionally do not document meaning and you should not rely on it. We
make no guarantees about what the values actually refer to and may change,
remove, or add values in the future.

/cc @Alfus

On Sat, Nov 28, 2015, 3:05 PM JJ Geewax [email protected] wrote:

I think GeoPt is client-side creation with a special "meaning" attached
and not explicitly exposed via the JSON API.

See googleapis/google-cloud-python#1065 (comment)
googleapis/google-cloud-python#1065 (comment)
for more info.

The meaning field in the protobufs is not super well defined.

@stephenplusplus https://github.com/stephenplusplus : Is there anywhere
we use meaning=9 ?

@pcostell https://github.com/pcostell : Is there any chance we're
making "meaning" a first-class citizen on the API for the next versions of
the Cloud Datastore API?


Reply to this email directly or view it on GitHub
#972 (comment)
.

@bradabrams
Copy link
Author

ok -- great, how can I find out when V1Beta3 is out so I can give it a try

..brad

On Sat, Nov 28, 2015 at 8:58 PM, Patrick Costello [email protected]
wrote:

No we should not expose GeoPt using meaning. V1beta3 will have a separate
geopoint value that can be used.

We intentionally do not document meaning and you should not rely on it. We
make no guarantees about what the values actually refer to and may change,
remove, or add values in the future.

/cc @Alfus

On Sat, Nov 28, 2015, 3:05 PM JJ Geewax [email protected] wrote:

I think GeoPt is client-side creation with a special "meaning" attached
and not explicitly exposed via the JSON API.

See googleapis/google-cloud-python#1065 (comment)
<
googleapis/google-cloud-python#1065 (comment)

for more info.

The meaning field in the protobufs is not super well defined.

@stephenplusplus https://github.com/stephenplusplus : Is there
anywhere
we use meaning=9 ?

@pcostell https://github.com/pcostell : Is there any chance we're
making "meaning" a first-class citizen on the API for the next versions
of
the Cloud Datastore API?


Reply to this email directly or view it on GitHub
<
#972 (comment)

.


Reply to this email directly or view it on GitHub
#972 (comment)
.

@stephenplusplus stephenplusplus added type: question Request for information or clarification. Not an issue. api: datastore Issues related to the Datastore API. labels Nov 30, 2015
@pcostell
Copy link
Contributor

Hi Brad --
We are working on it now. Part of our new version is a completely new serving stack to make Cloud Datastore more reliable and have lower latencies. As a gcloud-node user you shouldn't have to worry about the new Datastore version -- gcloud will upgrade to the new version and you shouldn't see much change (except for a new minor version that includes GeoPt support).

The v1beta3 release will not include geosearch support (which is still in Alpha in App Engine). We are making sure we iron out the usage of geosearch in GAE first.

-Patrick

@stephenplusplus
Copy link
Contributor

Using geo point values will be shown in our docs once v1beta3 is released. Until then, it sounds like we don't plan to support them, so I'm going to close the issue. Thanks for getting this conversation started!

@bradabrams
Copy link
Author

when is v1beta3?

On Fri, Dec 4, 2015 at 8:54 AM, Stephen Sawchuk [email protected]
wrote:

Closed #972
#972.


Reply to this email directly or view it on GitHub
#972 (comment)
.

@pcostell
Copy link
Contributor

pcostell commented Dec 4, 2015

Brad --

As I mentioned above we are working on it now. I'm hoping we'll be able to launch soon but I'm not able to give a more definite timeline.

-Patrick

@bradabrams
Copy link
Author

ok -- I guess I just check back in a few weeks or months?

On Fri, Dec 4, 2015 at 1:41 PM, Patrick Costello [email protected]
wrote:

Brad --

As I mentioned above we are working on it now. I'm hoping we'll be able to
launch soon but I'm not able to give a more definite timeline.

-Patrick


Reply to this email directly or view it on GitHub
#972 (comment)
.

sofisl pushed a commit that referenced this issue Nov 11, 2022
Source-Link: googleapis/synthtool@d229a12
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:74ab2b3c71ef27e6d8b69b1d0a0c9d31447777b79ac3cd4be82c265b45f37e5e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

4 participants