GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Implement support for alpha features in datastore (geopt) · Issue #675 · googleapis/google-cloud-java

Implement support for alpha features in datastore (geopt) #675

New issue
Copy link
New issue
Copy link
Closed
Closed
Implement support for alpha features in datastore (geopt)#675
Copy link
Assignees
mziccard
Labels
api: datastoreIssues related to the Datastore API.

Description

@eddiewebb
eddiewebb
opened on Feb 26, 2016
Issue body actions

https://cloud.google.com/appengine/docs/java/datastore/geosearch is an alpha feature unusable by gcloud library since the GeoPt is not a valid property type.

I was not able to run com.google.appengine.api.datastore locally (using emulator or java-sdk), and found that using com.google.gcloud.datastore work against my gcloud datastore and sdk without hassle.

But now I am stuck unable to implement the geopt as the 2 are incompatible.

Activity

  1. eddiewebb commented on Feb 26, 2016

    @eddiewebb
    eddiewebb
    on Feb 26, 2016
    Author
    More actions

    Looks like I can accomplish what I need with RawValue -https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/Value.java#L32

  2. ajkannan commented on Feb 26, 2016

    @ajkannan
    ajkannan
    on Feb 26, 2016
    More actions

    Hi @eddiewebb, thanks for creating this issue.

    While geospacial queries can be done via the App Engine Datastore API, they aren't yet available via the Cloud Datastore API, which is the API gcloud-java uses. The next version of the Cloud Datastore API (v1beta3) is supposed to be released sometime soon, and soon after gcloud-java will use it and support geopoints.

    The comment you pointed out about using RawValue pertains more to how gcloud-java handles getting unrecognized values from Datastore, rather than enabling users to set unrecognized values. While you can obtain geopoints from Datastore using RawValue, you can't create your own raw values, which may make querying difficult. We can make this distinction clearer in the documentation.

    The v1beta3 gcloud-java code, which has the classes LatLng and LatLngValue (for geopoints), is currently sitting in the update-datastore branch and is functional when used against that branch's local service emulator, LocalGcdHelper. However, that branch can't be used to send requests to Cloud Datastore, as they do not yet service v1beta3 requests.

  3. ajkannan
    added
    api: datastoreIssues related to the Datastore API.
    on Feb 26, 2016
  4. eddiewebb commented on Feb 26, 2016

    @eddiewebb
    eddiewebb
    on Feb 26, 2016
    Author
    More actions

    Awesome, thanks @ajkannan I guess I'll just fudge it with some spherical calculations against lat and long until its ready to ship.

    Update, Doh.

    Look's like I'm blocked on this as I am not allowed to compare BOTH longitude and latitude of entities.

        Only one inequality filter per query is supported.  Encountered both latitude and longitude
    

    Anyway thanks for the fast support and information, I understand you're blocked.

  5. mziccard commented on Jul 22, 2016

    @mziccard
    mziccard
    on Jul 22, 2016
    Contributor
    More actions

    I believe this is now fixed. We added LatLng and LatLngValue classes.

  6. mziccard
    closed this as completedon Jul 22, 2016
  7. JustinBeckwith
    assigned
    mziccard
    on Feb 1, 2021
  8. github-actions
    added 7 commits that reference this issue on Jun 23, 2022

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    2178559

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    a969ed4

    chore(main): release 2.3.1 (#677)

    5127382

    chore(main): release 2.2.1 (#677)

    7a58ff8

    chore: remove enable-samples profile (googleapis#1284) (googleapis#675)

    512d636

    ci: removing clirr from required checks (#675)

    b5ce0ac

    chore(main): release 2.3.0 (googleapis#675)

    c87d75b
  9. github-actions
    added a commit that references this issue on Jul 20, 2022

    build(deps): update dependency org.apache.maven.plugins:maven-deploy-…

    2a2a745
  10. github-actions
    added 2 commits that reference this issue on Aug 9, 2022

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    cf17aed

    chore(main): release 2.6.2 (#678)

    8755a99
  11. github-actions
    added a commit that references this issue on Sep 15, 2022

    chore: Generated snippets should not be owned by samples reviewers (#…

    97f86e3
  12. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore (doc): update readme partial template (#675)

    294411f
  13. chingor13
    added a commit that references this issue on Jan 6, 2026

    build(deps): update dependency org.apache.maven.plugins:maven-project…

    94ab1d1
  14. chingor13
    added a commit that references this issue on Jan 22, 2026

    chore(main): release 2.2.8 (#675)

    b90fd00
  15. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore (doc): update readme partial template (googleapis#675)

    85b990b
  16. suztomo
    added a commit that references this issue on Mar 23, 2026

    chore: release 2.5.5-SNAPSHOT (googleapis#675)

    b592003
  17. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore: release 0.123.9 (#675)

    2001f76
  18. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore: release 0.123.9 (#675)

    8eb342f
  19. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    d6cc2d2

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    7c92d13
  20. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore: release 1.21.2-SNAPSHOT (googleapis#675)

    54b8ff4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @mziccard
    mziccard

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.