Skip to content
Python library of utility functions for harvesting metadata from open sources, e.g., GeoNode and CKAN.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
sc_python_harvester
.gitignore
.travis.yml
AUTHORS
CONTRIBUTING.rst
LICENSE
MANIFEST.in
README.rst
requirements.txt
setup.cfg
setup.py

README.rst

Spatial Current Python Harvester (sc-python-harvester)

https://travis-ci.org/spatialcurrent/sc-python-harvester.png Master Documentation Status

Description

This repo contains Python utility functions for harvesting metadata from open-standard sources, e.g., GeoNode and CKAN.

Installation

Install via PyPI with:

pip install sc-python-harvester

Or install directly from GitHub with:

pip install git+git://github.com/spatialcurrent/sc-python-harvester.git@master

Usage

Simply import the enumerations and functions as needed. If flask is installed, then the functions will use Flask's JSON module. Otherwise, they will default to the Python built-in module.

from sc_python_harvester.wfs.utils import wfs_describe_layer
from sc_python_harvester.wfs.enumerations import WFS_DEFAULT_NAMESPACES

attributes, geometry_type = wfs_describe_layer(wfs_url, typename, ns=WFS_DEFAULT_NAMESPACES)

Contributing

Spatial Current, Inc. is currently accepting pull requests for this repository. We'd love to have your contributions! Please see Contributing.rst for how to get started.

License

This work is distributed under the MIT License. See LICENSE file.

You can’t perform that action at this time.