homaily / Saudi-Arabia-Regions-Cities-and-Districts

Saudi Arabia Regions, Cities and Districts
GNU General Public License v2.0
292 stars 193 forks source link

- Added geojson files. The files have been validated with https://geo… #15

Closed yazeed44 closed 3 years ago

yazeed44 commented 3 years ago

To generate geojson files, run this in root directory: pip install -r requirements.txt python generate_geojson.py

As a bonus, the users can see the geojson layers directly from github!

image

aaalsubaie commented 3 years ago

many thanks for this great addition.

homaily commented 3 years ago

Hi @yazeed44, thanks for the PR.

Code looks good to me. I've only one comment before merging this PR, requirements.txt could be confusing to some users if it's placed in the repo root directory.

Will it be possible to move it to a subdirectory along with generate_geojson.py ? An added benefit we can also add README.md file next to it with the instructions above for anyone who wants to re-generate the geojson data later on.

yazeed44 commented 3 years ago

Hello @homaily,

Thanks for your suggestions. I have implemented them in the above commits.

homaily commented 3 years ago

Looks good, thanks a lot @yazeed44