https://github.com/konishon/popclip
https://github.com/konishon/popclip
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/konishon/popclip
- Owner: konishon
- Created: 2025-03-13T02:33:38.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-13T03:52:19.000Z (3 months ago)
- Last Synced: 2025-03-13T04:27:54.070Z (3 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Usage:
Install dependencies and set up your project:
```bash
poetry install
```Then use your script via Python or integrate into other applications:
```python
from popclip.population_raster_clipper import PopulationRasterClipperclipper = PopulationRasterClipper(data_folder="./data")
result = clipper.clip_raster(
year="2020",
geojson_path="your_geojson.geojson",
output_folder="./output"
)print(f"Result available at {result}")
```