https://github.com/excites/geokey-geotagx
Import results from GeoTag-X
https://github.com/excites/geokey-geotagx
django geokey geokey-extension geotag-x
Last synced: 2 months ago
JSON representation
Import results from GeoTag-X
- Host: GitHub
- URL: https://github.com/excites/geokey-geotagx
- Owner: ExCiteS
- License: other
- Created: 2015-07-13T16:37:37.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-13T10:23:57.000Z (about 8 years ago)
- Last Synced: 2025-03-04T19:42:11.936Z (2 months ago)
- Topics: django, geokey, geokey-extension, geotag-x
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 16
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. 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-geotagxgeokey-geotagx
==============Import results from `GeoTag-X `_.
Install
-------geokey-geotagx requires:
- Python version 2.7
- GeoKey version 1.0 or greaterInstall 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',
)You're now ready to go!
Update
------Update the geokey-dataimports from PyPI:
.. code-block:: console
pip install -U geokey-geotagx
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/:project_id/import/
Content-Type: application/json{
"type": "FeatureCollection",
"features": []
}Returns (if successful):
.. code-block:: console
HTTP/1.1 201 Created
Objects created