https://github.com/samapriya/hdxpop
Simple tool to download High Resolution Population Density Maps from Humanitarian Data Exchange
https://github.com/samapriya/hdxpop
Last synced: 6 months ago
JSON representation
Simple tool to download High Resolution Population Density Maps from Humanitarian Data Exchange
- Host: GitHub
- URL: https://github.com/samapriya/hdxpop
- Owner: samapriya
- License: mit
- Created: 2020-02-21T03:57:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-16T05:23:29.000Z (over 4 years ago)
- Last Synced: 2024-12-13T22:33:30.925Z (6 months ago)
- Language: Python
- Homepage: https://pypi.org/project/hdxpop/
- Size: 50.8 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hdxpop
[](https://doi.org/10.5281/zenodo.4606954)
[](https://pepy.tech/project/hdxpop/month)
Simple tool to download High Resolution Population Density Maps from Humanitarian Data Exchange
## [For usage go to the medium article](https://medium.com/@samapriyaroy/community-datasets-in-google-earth-engine-an-experiment-b72daa474819)
```
Samapriya Roy. (2021, March 16). samapriya/hdxpop: hdxpop: Simple tool to download High Resolution Population Density Maps from
Humanitarian Data Exchange (Version 0.0.4). Zenodo. http://doi.org/10.5281/zenodo.4606954
```## Table of contents
* [Prerequisites](#prerequisites)
* [Installing hdxpop](#installing-hdxpop)
* [Using without install](#using-without-install)## Prerequisites
This assumes that you have native python & pip installed in your system, you can test this by going to the terminal (or windows command prompt) and trying. I recommend installation within virtual environment if you are worries about messing up your current environment.```python``` and then ```pip list```
If you get no errors and you have python 3.2 or higher you should be good to go.
## Installing hdxpop
Once you have determined you have python, you can simply install hdxpop using two methods```
pip install hdxpop
```For linux I found it helps to specify the pip type and use --user. Here pip refers to your default python and pip installations, assumption here is you are using python3 and up.
```
pip install hdxpop --useror
pip3 install porder --user
```or you can also try
```
git clone https://github.com/samapriya/hdxpop.git
cd hdxpop
python setup.py install
```
## Using without install
You can do this too,by simply going downloading and unzipping the repo onto your machine and migrating to the innner hdxpop folder with the hdxpop.py file.you can then do a
```
python3 hdxpop.py -h
```or simply if you have Git enabled
```
git clone https://github.com/samapriya/hdxpop.git
cd hdxpop/hdxpop/
python hdxpop.py -h
```## Changelog
### v0.0.4
- Changes to search URL and fuzzy search to look for overall population datasets.### v0.0.3
- Changes to search URL to include geotif, zipped only, goetiff and geotiff keyword filters.### v0.0.2
- Added installation instructions and setup