GIS Sample Data
Python
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
gisdata Added shapefile with filename in Russian Jul 9, 2013
.gitignore update .gitignore Aug 5, 2012
README add METADATA_DIR example to README Sep 4, 2012
README.rst Reorg May 12, 2012
setup.py bump version Oct 5, 2012

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