Skip to content
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

Feature: -city flag #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Feature: -city flag #17

wants to merge 1 commit into from

Conversation

mgumz
Copy link

@mgumz mgumz commented Apr 23, 2023

The -city flag provides a shortcut to calculate / lookup Lat/Long values from the World Cities Database as available via

https://simplemaps.com/data/world-cities

CleanShot 2023-04-23 at 22 34 14@2x

In general, potential optimisations:

  • a build flag to make -city fully optionally to minimise the final binary size OR for license reasons
  • maybe another datasource exists which provides more than 43k cities

The -city flag provides a shortcut to calculate / lookup Lat/Long
values from the World Cities Database as available via

    https://simplemaps.com/data/world-cities

To list all available cities: use the special "city" name "list".
@mgumz mgumz force-pushed the feature/flag-city branch from b93f315 to 47cd44e Compare April 23, 2023 20:46
@mgumz mgumz changed the title Add -city flag Feature: -city flag Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant