Skip to content
GIS Sample Data
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
gisdata
.gitignore
README
README.rst
setup.py

README.rst

gis-data - Sample data for GIS packages

Sometimes you need sample raster and vector data for your python applications.

Sometimes you need bad data for your corner test cases. (No projections, NaN values).

Sometimes you just need test metadata.

This library provides all of the above.

Installation

The latest release can be installed using:

pip install gisdata

Usage

Get the absolute path to the the sample data from python:

>>> from gisdata import DATA_DIR
>>> print DATA_DIR
'/usr/lib/python2.6/site-packages/gisdata/data'
>>> from gisdata import BAD_DATA
>>> print BAD_DATA
'/usr/lib/python2.6/site-packages/gisdata/data/bad'
>>> from gisdata import GOOD_DATA
>>> print GOOD_DATA
'/usr/lib/python2.6/site-packages/gisdata/data/good'
>>> from gisdata import METADATA_DIR
>>> print METADATA_DIR
'/usr/lib/python2.6/site-packages/gisdata/metadata'
>>> from gisdata import GOOD_METADATA
>>> print GOOD_METADATA
'/usr/lib/python2.6/site-packages/gisdata/metadata/good'

Known Issues

  • Vector data does not have sld files
  • No .keywords files for machine tags

Contributors

  • Ariel Núñez (ingenieroariel)

    Initial vector and raster data

  • Rob Marianski (rmarianski)

    Time enabled datasets

  • Tom Kralidis (tomkralidis)

    Metadata samples

Something went wrong with that request. Please try again.