Skip to content

Commit

Permalink
Merge pull request #141 from tomkralidis/remove-cswinfo
Browse files Browse the repository at this point in the history
remove cswinfo
  • Loading branch information
David Read committed Jan 14, 2016
2 parents a62a54a + a28baf4 commit 7e2f4f9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 76 deletions.
46 changes: 0 additions & 46 deletions ckanext/spatial/commands/cswinfo.py

This file was deleted.

27 changes: 0 additions & 27 deletions doc/csw.rst
Expand Up @@ -199,33 +199,6 @@ keep CKAN and pycsw in sync, and serve pycsw with Apache + mod_wsgi like CKAN.

pycsw should be now accessible at http://localhost/csw


cswinfo
-------

The command-line tool ``cswinfo`` allows to make queries on CSW servers and
returns the info in nicely formatted JSON. This may be more convenient to type
than using, for example, curl.

Currently available queries are:
* getcapabilities
* getidentifiers
* getrecords
* getrecordbyid

For details, type::

cswinfo csw -h

There are options for querying by only certain types, keywords and typenames
as well as configuring the ElementSetName.

The equivalent example to the one above for asking the capabilities is::

cswinfo csw getcapabilities http://127.0.0.1:8000/

OWSLib is the library used to actually perform the queries.

.. _pycsw: http://pycsw.org
.. _pycsw documentation: http://docs.pycsw.org/en/latest/installation.html
.. _package install: http://docs.ckan.org/en/latest/install-from-package.html
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Expand Up @@ -24,9 +24,6 @@
],
entry_points=\
"""
[console_scripts]
cswinfo = ckanext.spatial.commands.cswinfo:cswinfo
[ckan.plugins]
spatial_metadata=ckanext.spatial.plugin:SpatialMetadata
spatial_query=ckanext.spatial.plugin:SpatialQuery
Expand Down

0 comments on commit 7e2f4f9

Please sign in to comment.