-
Notifications
You must be signed in to change notification settings - Fork 64
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
[Guide] Use location data services #1247
Conversation
I see pending of descriptions in the guide:
There is no way to get the reference between the isochrones and the original dataset. Talk with @Jesus89 about this issue, or we fix it or we document the temporal work around
We've mixed geometries Multipolygon and Polygon when using exclusive=True. Two options:
If so explain why (but would be better in the doc to avoid this), and let's change the way we filter to something more Pandas friendly.
|
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.
We need to fix the previous comments
Regarding the credentials, let's remove the inline definition of the API KEY in favor of the credentials file |
Regarding the feedback, I'm going to follow these steps:
|
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.
👋 Awesome Elena!
About geocoding intro: I would show a simple geocoding and its visualization before talking about quotas.
About geocoding quotas: You tell me that I have to keep the the_geom and carto_geocode_hash columns but you don't show me how to do it. Maybe this is more a implementation detail but I would only talk about the cached parameter in terms of cache.
About isochrones and isodistances: I suggest the same as with geocoding, show how to do it as simple as possible and visualize it. Then talk about quota.
About where to place a new store: it's pretty cool. I would create another section for it and make clear this is just a simplified example because finding a new store location is not easy.
Thanks for the review! A few comments:
|
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.
-
Standarize the usage of credentials
set_default_credentials(‘creds.json’)
-
Quite technical description for isolines. We're addressing users with a non-deep knowledge on geospatial stuff. Let's keep the technical stuff since it's not the quickstart but let's move it down. Just move the following text at the beginning :
In this guide we're using the Isochrones to know the walking area by time for each Starbucks store, and the Isodistances to discover the walking area by distance.
-
Quota consumption and cache not clear for me
We're missing in the examples the case where the user has a dataframe with the carto_geocode_hash
column. I'd do:
a) example without cache. Outside of quota consumption at previous point.
b) Client-side cache (explain there what is the hash)
c) Server-side cache (fully managed but we're storing there data)
Related issue: #995
First review:
examples/data_services/starbucks_stores.ipynb
Notes: The isolines service can return some empty geometries. I've added the code needed to delete those geometries, but I'd like to know how to explain this situation in the guide.
Second review:
exclusive
True
by default, and remove the other example[ ] Ask about the empty geometries and check a better way to filter them, and explain why it might happenOthers To Do:
cached
tablecached
parameter to boolean, and add atable_name
parameter to be aligned with Isolines service