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

Add greek cities geo data #45

Closed
tsevdos opened this issue Feb 15, 2024 · 3 comments
Closed

Add greek cities geo data #45

tsevdos opened this issue Feb 15, 2024 · 3 comments
Assignees

Comments

@tsevdos
Copy link
Owner

tsevdos commented Feb 15, 2024

We can get data from this site: https://geodata.gov.gr

@tsevdos tsevdos converted this from a draft issue Feb 15, 2024
@tsevdos tsevdos moved this from Todo to In Progress in elUtils package roadmap Mar 7, 2024
@arisGio
Copy link
Contributor

arisGio commented Mar 7, 2024

Visiting https://geodata.gov.gr/dataset/poleis & choosing GeoJson && WSG format is the most suitable resource for this open issue.

@tsevdos
Copy link
Owner Author

tsevdos commented Aug 25, 2024

Let's add the below helper fns for the cities:

getCities({ locale = "el" }: options) => City[]
searchCityByName({searchTerm: "Αθήνα", locale? = "el"}: options) => City[]
getCityById({ id, locale = "el" }: options) => City
getCityAdministrativeDivision({ id, locale = "el", type: "region" | "unit" | "municipality" | "prefecture" }: options) => Region | Unit | Municipality | Prefecture | null

@tsevdos
Copy link
Owner Author

tsevdos commented Sep 30, 2024

fixed with #83

@tsevdos tsevdos closed this as completed Sep 30, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in elUtils package roadmap Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants