# Unrasterize [](https://badge.fury.io/py/unrasterize) [](https://travis-ci.org/tetraptych/unrasterize) [](http://unrasterize.readthedocs.io/en/latest/?badge=latest) [](https://opensource.org/licenses/MIT)
Unrasterize is a Python library for converting raster datasets into GeoJSON objects by selecting representative points based on their pixel values. The conversion process results in less granular data with dramatically reduced file sizes for use in other applications that accept GeoJSON inputs.
The inspiration and original use case for this library is the 100m resolution population data provided by [WorldPop](http://www.worldpop.org.uk/). This is also the source of the files in the data directory used by the unit tests.
## Installation
unrasterize is available on [PyPI](https://pypi.python.org/pypi/unrasterize) and can be installed via the command pip install unrasterize.
rasterio, a depedency of unrasterize, may require the installation of additional GIS-specific tools outside of pip. Refer to the [Dockerfile](Dockerfile) for a list of these tools and how to install them.
## Sample output

Metadata
Release files for unrasterize 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unrasterize-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for unrasterize-1.0.0-py2.py3-none-any.whl |
Release files / unrasterize-1.0.0-py2.py3-none-any.whl
| Download URL | unrasterize-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
82ca333cd2d55ea8522c305147044d36afc1a43fa5aae41b01f1adee6506d3fb
|
|
BLAKE2b-256 checksum How to use checksums |
2f6798d01d0768fb5de3fb9893b85e80bd3f0316d0d80b437288f2dc801efe02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for unrasterize 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.