Comments (7)
Adding the country looks easy enough since there is a data.long_country field.
The issue of not showing the international province may be an upstream issue.
{
"address": "112kSXBK6iJReNq2iihxGE9gwGymPTcfYnJ9yn4ucGvYkCqYq1HW",
"id": 4102,
"lat": 52.536173153662375,
"lng": 13.406815834090017,
"location": "8c1f1d4899751ff",
"long_city": "Berlin",
"long_country": "Germany",
"long_state": "Berlin",
"long_street": "Schwedter Straße",
"name": "Passive Golden Ape",
"owner": "13LB84v8EpPPWbnscH8sd6RbfPjWU8YLoLWuqMKrwwqx6qxxhiT",
"score": 0.25,
"score_update_height": 357111,
"short_city": "Berlin",
"short_country": "DE",
"short_state": "Berlin",
"short_street": "Schwedter Str."
},
from explorer.
Looks like the duplicate is due to the fact that the province is also called Berlin. @madninja any generalized advice here? Should the API provide a "formatted city" instead?
from explorer.
Ah. Sorry for my lack of world geography knowledge. lol
Thanks for looking in to that.
from explorer.
This is what the geocoder returns for various localities @abhay. I'd rather not have any API include "display" strings since that is extremely app specific?
from explorer.
Generally agree on not prescribing display but we already are with a locale assumption. Other option could be for us to geocode live in the app with the user's browser locale.
from explorer.
Generally agree on not prescribing display but we already are with a locale assumption. Other option could be for us to geocode live in the app with the user's browser locale.
Are we? you mean we're assuming English? try some of the Eastern European cities for a change in utf8 scenery.
The alternative is for the explorer/app to have a short list of country codes which indicate what geocode fields to pull in?
from explorer.
I don't have a strong preference but as we enter more locales, It'd be nice to use the browser's hints to determine how to format.
from explorer.
Related Issues (20)
- explorer shows wrong Hex and inaccurate (about 600m) location[Bug]: HOT 1
- [Bug]: 404 error at URL: /hotspots
- Hex won’t get green
- [Bug]: 404 error at URL: /txns/ryrQmjPS7YqrBOerGDUnzUlhW05b3jcoV0LWBzhdEdo
- [Bug]: 404 error at URL: /hotspots/cities/Z3Jvw59rYXJsYmFjaHJoZWlubGFuZC1wZmFsemdlcm1hbnk
- [Bug]: 404 error at URL: /txns/-uzl1x7e7VmJBwopeOsAyE1eucLX7hqHwZ2L07wm6JU
- [Bug]: 404 error at URL: /txns/v9eG3qzBcjqwrxBOB8x1PbY_ZdgTbOCgxYLJNAVEsFU
- [Bug]: 404 error at URL: /hotspots/cities/2KfZhNix2YHYp9i52KfZhNmF2K3Yp9mB2LjYqSDYp9mE2KzZhtmI2KjZitipYmFocmFpbg
- Did get my coin off helium network
- [Bug]: 404 error at URL: /txns/J_1SBDA-B_Q3V31mKt6CoLna3_PAZG4jKdu-BZQtKgA
- [Bug]: 404 error at URL: /hotspots/latest
- [Bug]: 404 error at URL: /txns/bwWOUzAwsngCSJUSkhRtOUtUV3wByOL7djBD_lrRyyw
- [Bug]: 404 error at URL: /txns/bR3AOzZ3Neq7frqOMu5jf7ZAMoR0K77kHqt9ZUwizTM
- [Bug]: 404 error at URL: /txns/LNEWuyEOHrM-C47ympPl7DCv0gS0EDjRsA0qgDyzvJA
- [Bug]: 404 error at URL: /txns/lUpzJwkFJ2TEmywsB1mrt3fOVQrHvWL-yJzo9oAgUY0
- [Bug]: 404 error at URL: /hotspots
- [Bug]: 404 error at URL: /txns/2KlycTPrtmlxZdD6xvm6rOTn3FBgxiAhAe6C4C8vYFc
- [Bug]: 404 error at URL: /txns/eptOwiuB5RGEm6VGAsGt9ru4c1iaKViwBZDKC3MbDE4
- [Bug]: 404 error at URL: /txns/6ZCAVVvQYb-vAhWbAqw1r2_tL6KtxysvWkYwn83gvFw
- [Bug]: 404 error at URL: /hotspots/cities/cGllZGVjdWVzdGFzYW50YW5kZXJjb2xvbWJpYQ
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from explorer.