You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Geonames provides so much data, and this bundle loads it. My idea is to add a service to the bundle that allows the developer access to administrative data, like "state" and "city". (in quotes because they're not accurate, but easily understandable.)
If the bundle used its own entity manager, it could store the data in SQLite. Of course, there would need to be a step to load the data. So the workflow would be:
Install the bundle
Configure geonames.yaml, e.g.
Countries: US, CA, PO
Populate the sqlite database with the existing :import command.
Then the service could provider a wrapper to the repository lookups, using either the 2 or 3 letter ISO codes (for the higher level) or the Ascii name or geoname ID for the lower levels.
Thoughts?
The text was updated successfully, but these errors were encountered:
I quite like Symfony's Intl bundle, which provides data about countries, currency and timezones. https://symfony.com/doc/current/components/intl.html
Geonames provides so much data, and this bundle loads it. My idea is to add a service to the bundle that allows the developer access to administrative data, like "state" and "city". (in quotes because they're not accurate, but easily understandable.)
If the bundle used its own entity manager, it could store the data in SQLite. Of course, there would need to be a step to load the data. So the workflow would be:
Countries: US, CA, PO
Then the service could provider a wrapper to the repository lookups, using either the 2 or 3 letter ISO codes (for the higher level) or the Ascii name or geoname ID for the lower levels.
Thoughts?
The text was updated successfully, but these errors were encountered: