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 — How should we represent 'geoValue' field values in Search? · Issue #1161 · googleapis/google-cloud-python

How should we represent 'geoValue' field values in Search? #1161

New issue
Copy link
New issue
Copy link
Closed
Closed
How should we represent 'geoValue' field values in Search?#1161
Copy link
Assignees
lukesneeringer
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.

Description

@tseaver
tseaver
opened on Sep 30, 2015
Issue body actions

The Search docs for geoValue don't specify acceptable formats: they link to a Wiki page of what is basically all known ways humans have ever spelled latitude and longitude.

Strawman: we expect a tuple of two floats, where positive/negative represent degrees North / South of the equator (for latitude) and East / West of Greenwich (for longitude). Or else we take any string, require the user to pass in a field_type argument to use geoValue, and just let the server barf if it doesn't like the string.

Activity

  1. tseaver
    added
    type: questionRequest for information or clarification. Not an issue.
    search
    on Sep 30, 2015
  2. dhermes commented on Oct 1, 2015

    @dhermes
    dhermes
    on Oct 1, 2015
    Contributor
    More actions

    We can just use our own type? And make simple assumption initially for OurType.from_string() and then gradually build up behavior as needed. OurType.to_string() would just do the "obvious" thing.

  3. jgeewax commented on Oct 4, 2015

    @jgeewax
    jgeewax
    on Oct 4, 2015
    Contributor
    More actions

    Might be worthwhile to explore using something similar to what NDB/DB use for geo-points?

  4. dhermes commented on Dec 31, 2015

    @dhermes
    dhermes
    on Dec 31, 2015
    Contributor
    More actions

    @tseaver When will this be resolved? FWIW ndb / db just use a nested entity with x and y set for geo-points. In v1beta3 a native protobuf message type is used.

  5. tseaver commented on Jan 7, 2016

    @tseaver
    tseaver
    on Jan 7, 2016
    ContributorAuthor
    More actions

    There are really two issues here:

    • The API docs don't specify the acceptable formats for geoValue (see Where do we report bugs with Cloud Search? #1163).
    • Do we need to be able to detect when users have passed us a geoValue without an explicit flag? If so, we have to define what they are to pass.
  6. dhermes commented on Jan 7, 2016

    @dhermes
    dhermes
    on Jan 7, 2016
    Contributor
    More actions

    Since GeoPoint is no officially supported in datastore v1beta3 we could just put our own GeoPoint class in core and then do the conversion for users.

  7. lukesneeringer
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Apr 19, 2017
  8. lukesneeringer commented on Aug 11, 2017

    @lukesneeringer
    lukesneeringer
    on Aug 11, 2017
    Contributor
    More actions

    Hello,
    One of the challenges of maintaining a large open source project is that sometimes, you can bite off more than you can chew. As the lead maintainer of google-cloud-python, I can definitely say that I have let the issues here pile up.

    As part of trying to get things under control (as well as to empower us to provide better customer service in the future), I am declaring a "bankruptcy" of sorts on many of the old issues, especially those likely to have been addressed or made obsolete by more recent updates.

    My goal is to close stale issues whose relevance or solution is no longer immediately evident, and which appear to be of lower importance. I believe in good faith that this is one of those issues, but I am scanning quickly and may occasionally be wrong. If this is an issue of high importance, please comment here and we will reconsider. If this is an issue whose solution is trivial, please consider providing a pull request.

    Thank you!

  9. lukesneeringer
    closed this as completedon Aug 11, 2017
  10. JustinBeckwith
    assigned
    lukesneeringer
    on Feb 1, 2021
  11. parthea
    added a commit that references this issue on Nov 24, 2025

    chore: set package version to 0.60.0 (#1161)

    16cdde7
  12. parthea
    added 2 commits that reference this issue on Mar 9, 2026

    feat: add skip_if_exists to download_many (#1161)

    a82d77c

    chore(deps): update all dependencies (#1161)

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

Metadata

Metadata

Assignees

  • @lukesneeringer
    lukesneeringer

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.

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.