GoogleCloudPlatform / python-docs-samples

Code samples used on cloud.google.com
Apache License 2.0
7.34k stars 6.4k forks source link

How to read GeoPoint in python script? #3701

Closed pratik-dropshop closed 4 years ago

pratik-dropshop commented 4 years ago

In which file did you encounter the issue?

https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/firestore/cloud-client/snippets.py#L103

Describe the issue

If there location of city (as Firestore.GeoPoint) existed, how can we read it in the python script?

tmatsuo commented 4 years ago

This is a question about firestore. @BenWhitehead Are you a right person for the question?

BenWhitehead commented 4 years ago

Take a look at the GeoPoint class in the Firestore package.

pratik-dropshop commented 4 years ago

Thank you.