Skip to main content

Import data from various formats into GeoKey

Project description

PyPI Package Travis CI Build Status Coveralls Test Coverage

geokey-dataimports

Import data from various formats (GeoJSON, KML, CSV) into GeoKey.

Install

geokey-dataimports requires:

  • Python version 2.7

  • GeoKey version 1.4 or greater

Install the geokey-dataimports from PyPI:

pip install geokey-dataimports

Or from cloned repository:

cd geokey-dataimports
pip install -e .

Add the package to installed apps:

INSTALLED_APPS += (
    ...
    'geokey_dataimports',
)

Migrate the models into the database:

python manage.py migrate geokey_dataimports

Copy static files:

python manage.py collectstatic

You’re now ready to go!

Update

Update the geokey-dataimports from PyPI:

pip install -U geokey-dataimports

Migrate the new models into the database:

python manage.py migrate geokey_dataimports

Copy new static files:

python manage.py collectstatic

Test

Run tests:

python manage.py test geokey_dataimports

Check code coverage:

coverage run --source=geokey_dataimports manage.py test geokey_dataimports
coverage report -m --omit=*/tests/*,*/migrations/*

Project details


Download files

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

Source Distribution

geokey-dataimports-0.3.2.tar.gz (23.2 kB view hashes)

Uploaded Source

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