Skip to main content

A simple API for lossfully converting raster datasets to GeoJSON.

Project description

# Unrasterize [![PyPI version](]( [![Build Status](]( [![Documentation Status](]( [![License: 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]( This is also the source of the files in the data directory used by the unit tests.

## Installation

unrasterize is available on [PyPI]( 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

![Representative points for France created using WorldPop raster data]( “Representative points for France created using WorldPop raster data”)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

unrasterize-1.0.0-py2.py3-none-any.whl (9.1 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page