Skip to content

ExCiteS/geokey-geotagx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI Package Travis CI Build Status Coveralls Test Coverage

geokey-geotagx

Import results from GeoTag-X.

Install

geokey-geotagx requires:

  • Python version 2.7
  • GeoKey version 1.0 or greater

Install the extension from PyPI:

pip install geokey-geotagx

Or from cloned repository:

cd geokey-geotagx
pip install -e .

Add the package to installed apps:

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

You're now ready to go!

Update

Update the geokey-dataimports from PyPI:

pip install -U geokey-geotagx

Test

Run tests:

python manage.py test geokey_geotagx

Check code coverage:

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

API

To import results POST a feature collection:

POST /api/geotagx/:project_id/import/
Content-Type: application/json

{
    "type": "FeatureCollection",
    "features": []
}

Returns (if successful):

HTTP/1.1 201 Created

Objects created

About

Import results from GeoTag-X

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages