Skip to main content

Import results from GeoTag-X

Project description

.. image:: https://img.shields.io/pypi/v/geokey-geotagx.svg
:alt: PyPI Package
:target: https://pypi.python.org/pypi/geokey-geotagx

.. image:: https://img.shields.io/travis/ExCiteS/geokey-geotagx/master.svg
:alt: Travis CI Build Status
:target: https://travis-ci.org/ExCiteS/geokey-geotagx

.. image:: https://img.shields.io/coveralls/ExCiteS/geokey-geotagx/master.svg
:alt: Coveralls Test Coverage
:target: https://coveralls.io/r/ExCiteS/geokey-geotagx

geokey-geotagx
==============

Import results from `GeoTag-X <http://geotagx.org>`_.

Install
-------

Install the extension from PyPI:

.. code-block:: console

pip install geokey-geotagx

Or from cloned repository:

.. code-block:: console

cd geokey-geotagx
pip install -e .

Add the package to installed apps:

.. code-block:: console

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

Migrate the models into the database:

.. code-block:: console

python manage.py migrate geokey_geotagx

Copy static files:

.. code-block:: console

python manage.py collectstatic

You're now ready to go!

Test
----

Run tests:

.. code-block:: console

python manage.py test geokey_geotagx

Check code coverage:

.. code-block:: console

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

API
---

To import results post a feature collection:

.. code-block:: console
POST /api/geotagx/import/
Content-Type: application/json

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

Returns (if successful):

.. code-block:: console
HTTP/1.1 201 Created

Objects created

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-geotagx-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file geokey-geotagx-0.1.0.tar.gz.

File metadata

File hashes

Hashes for geokey-geotagx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 df5f9a068aff3d78cd5022c1eb545cd064bd643843e7f2bdcee9538d1be1401b
MD5 a758344f603cebda9e4399cf58679920
BLAKE2b-256 1dcc01f1e2d887031d572255c498acc7b78640b0f6a855a6fae30377d8685690

See more details on using hashes here.

Supported by

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