{ "info": { "author": "Philippe Duchesne", "author_email": "pduchesne@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "======================================================\nckanext-geoview - Geospatial viewer for CKAN resources\n======================================================\n\n\nThis extension contains view plugins to display geospatial files and services in CKAN.\nIt contains an OpenLayers based viewer originally developed by `Philippe Duchesne`_ and other view plugins that\nused to be part of ckanext-spatial_.\n\n**Note:** This is a work in progress, if you can help with `OpenLayers`_ or `Leaflet`_ development,\ncheck the `Issues` section for what needs to be done or add a new issue.\n\n\n\n------------\nInstallation\n------------\n\nTo install ckanext-geoview on a production site:\n\n1. Activate your CKAN virtual environment, for example::\n\n source /usr/lib/ckan/default/bin/activate\n\n2. Install the ckanext-geoview Python package into your virtual environment::\n\n pip install ckanext-geoview\n\n3. Add the relevant plugins to the ``ckan.plugins`` setting in your CKAN\n config file (by default the config file is located at\n ``/etc/ckan/default/production.ini``). Check `Available plugins`_ to see which\n ones are available and if they require further configuration.\n\n4. Add the ``resource_proxy`` plugin to the ``ckan.plugins`` setting.\n\n5. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::\n\n sudo service apache2 reload\n\n------------------------\nDevelopment Installation\n------------------------\n\nTo install ckanext-geoview for development:\n\n1. Clone the source::\n\n cd /usr/lib/ckan/default/src\n git clone https://github.com/ckan/ckanext-geoview.git\n\n2. Activate your CKAN virtual environment, for example::\n\n source /usr/lib/ckan/default/bin/activate\n\n3. Install the ckanext-geoview Python package into your python virtual environment::\n\n cd ckanext-geoview\n python setup.py develop\n\n4. Continue with the main installation instructions above (step 3 onwards).\n\n-----------------\nAvailable plugins\n-----------------\n\n* `OpenLayers Viewer`_\n* `Leaflet GeoJSON Viewer`_\n* `Leaflet WMTS Viewer`_\n\n\nOpenLayers Viewer\n-----------------\n\n.. image:: http://i.imgur.com/wCQm2Uh.jpg\n\nThe OpenLayers_ viewer provides access to different geospatial formats and services:\n\nTo enable it, add ``geo_view`` to your ``ckan.plugins`` setting. (use ``geo_preview`` if you are using CKAN < 2.3)::\n\n ckan.plugins = ... resource_proxy geo_view\n\nOn CKAN >= 2.3, if you want the geospatial views to be created by default, add the plugin to the following setting::\n\n\n ckan.views.default_views = ... geo_view\n\nThe formats and services supported are:\n\n========================= ===================\nType Resource format (*)\n========================= ===================\nWeb Map Service (WMS) ``wms``\nWeb Feature Service (WFS) ``wfs``\nGeoJSON ``geojson``\nGML ``gml``\nKML ``kml``\nArcGIS REST API ``arcgis_rest``\nGoogle Fusion Tables ``gft``\n========================= ===================\n\n(*) Resource formats are case insensitive\n\nSupport varies across formats, so you might want to deactivate the ones you are not interested in.\nTo choose which formats to display, set the following configuration option::\n\n ckanext.geoview.ol_viewer.formats = wms kml\n\nTo render Google Fusion Tables resources, a Google API Key must be provided in the ini file::\n\n ckanext.geoview.gapi_key = \n\nThis key must be granted Fusion Tables permissions. More information on obtaining such a key can be found at https://developers.google.com/fusiontables/docs/v1/using#APIKey.\n\nAll configuration options relating to the OpenLayers viewer (ie those prefixed with `ckanext.geoview.ol_viewer.*`)\nare passed to the JavaScript module, where they are accessible on the `options.ol_config` object::\n\n this.ckan.module('olpreview', function (jQuery, _) {\n\n // ...\n\n _onReady: function () {\n\n\n console.log(this.options.ol_config)\n\n }\n\n // ...\n\n }\n\nOther available configuration options are:\n\n * `ckanext.geoview.ol_viewer.hide_overlays`: if set to True, overlays won't be visible by default (only the base layer)\n * `ckanext.geoview.ol_viewer.default_feature_hoveron`: if set to True, feature data popup will be displayed when hovering on\n\n\nEach instance of a view has the following configuration options that can override the global configuration :\n * `feature_hoveron`: if set to True, feature data popup will be displayed when hovering on\n * `feature_style`: JSON representation of an OpenLayers style, as accepted by the StyleMap constructor\n\nLeaflet GeoJSON Viewer\n----------------------\n\n**Note**: This plugin used to be part of ckanext-spatial_.\n\n.. image:: http://i.imgur.com/4w9du2T.png\n\nThe Leaflet_ GeoJSON_ viewer will render GeoJSON files on a map and add a popup showing the features properties, for those resources that have a ``geojson`` format.\n\nTo enable it, add ``geojson_view`` to your ``ckan.plugins`` setting. (use ``geojson_preview`` if you are using CKAN < 2.3)::\n\n ckan.plugins = ... resource_proxy geojson_view\n\nOn CKAN >= 2.3, if you want the views to be created by default on all GeoJSON files, add the plugin to the following setting::\n\n\n ckan.views.default_views = ... geojson_view\n\n\nLeaflet WMTS Viewer\n----------------------\n\n.. image:: http://i.imgur.com/MderhVH.png\n\nThe Leaflet_ WMTS viewer will render WMTS (Web Map Tile Service) layers on a map for those resources that have a ``wmts`` format.\n\nTo enable it, add ``wmts_view`` to your ``ckan.plugins`` setting. (use ``wmts_preview`` if you are using CKAN < 2.3)::\n\n ckan.plugins = ... resource_proxy wmts_view\n\nOn CKAN >= 2.3, if you want the views to be created by default on all WMTS resources, add the plugin to the following setting::\n\n\n ckan.views.default_views = ... wmts_view\n\n\n----------------------------------\nCommon base layers for Map Widgets\n----------------------------------\n\nThe geospatial view plugins support the same base map configurations than the ckanext-spatial `widgets`_.\n\nCheck the following page to learn how to choose a different base map layer (Stamen, MapBox or custom):\n\nhttp://docs.ckan.org/projects/ckanext-spatial/en/latest/map-widgets.html\n\n.. image:: http://i.imgur.com/cdiIjkU.png\n\n\n.. _widgets: http://docs.ckan.org/projects/ckanext-spatial/en/latest/spatial-search.html#spatial-search-widget\n\n\n-----------------------------------\nRegistering ckanext-geoview on PyPI\n-----------------------------------\n\nckanext-geoview should be availabe on PyPI as\nhttps://pypi.python.org/pypi/ckanext-geoview. If that link doesn't work, then\nyou can register the project on PyPI for the first time by following these\nsteps:\n\n1. Create a source distribution of the project::\n\n python setup.py sdist\n\n2. Register the project::\n\n python setup.py register\n\n3. Upload the source distribution to PyPI::\n\n python setup.py sdist upload\n\n4. Tag the first release of the project on GitHub with the version number from\n the ``setup.py`` file. For example if the version number in ``setup.py`` is\n 0.0.1 then do::\n\n git tag 0.0.1\n git push --tags\n\n\n------------------------------------------\nReleasing a new version of ckanext-geoview\n------------------------------------------\n\nckanext-geoview is availabe on PyPI as https://pypi.python.org/pypi/ckanext-geoview.\nTo publish a new version to PyPI follow these steps:\n\n1. Update the version number in the ``setup.py`` file.\n See `PEP 440 `_\n for how to choose version numbers.\n\n2. Create a source distribution of the new version::\n\n python setup.py sdist\n\n3. Upload the source distribution to PyPI::\n\n python setup.py sdist upload\n\n4. Tag the new release of the project on GitHub with the version number from\n the ``setup.py`` file. For example if the version number in ``setup.py`` is\n 0.0.2 then do::\n\n git tag 0.0.2\n git push --tags\n\n.. _Philippe Duchesne: https://github.com/pduchesne\n.. _OpenLayers: http://openlayers.org\n.. _Leaflet: http://leafletjs.com/\n.. _GeoJSON: http://geojson.org/\n.. _ckanext-spatial: https://github.com/ckan/ckanext-spatial\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/ckan/ckanext-geoview", "keywords": "", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "ckanext-geoview", "package_url": "https://pypi.org/project/ckanext-geoview/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ckanext-geoview/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/ckan/ckanext-geoview" }, "release_url": "https://pypi.org/project/ckanext-geoview/0.0.12/", "requires_dist": null, "requires_python": null, "summary": "CKAN Geospatial ResourceView", "version": "0.0.12" }, "last_serial": 2261381, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f1cf5af9af311c189ca891a637deb705", "sha256": "bc9b1d28565ee94374eb6cdc37a2804597ac8cf0a431e0bc29473e492bb1f81b" }, "downloads": -1, "filename": "ckanext-geoview-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f1cf5af9af311c189ca891a637deb705", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5778, "upload_time": "2015-04-10T10:27:59", "url": "https://files.pythonhosted.org/packages/65/b5/e64f4026022a4a8d2b563054c137db26edc8202efccc102d26d2d57957ae/ckanext-geoview-0.0.1.tar.gz" } ], "0.0.11": [ { "comment_text": "", "digests": { "md5": "81603eb9825143f8058fa6e46e27fa71", "sha256": "a41913d28c34e01c09a34410c36c8b09aba0a33b44dc4c7669c29fe2f9a3ffa3" }, "downloads": -1, "filename": "ckanext-geoview-0.0.11.tar.gz", "has_sig": false, "md5_digest": "81603eb9825143f8058fa6e46e27fa71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1852703, "upload_time": "2016-06-30T12:50:09", "url": "https://files.pythonhosted.org/packages/71/02/5786322d47971bff23f840a54f9e89e069c76f8da73b7ecf6e5301369f74/ckanext-geoview-0.0.11.tar.gz" } ], "0.0.12": [ { "comment_text": "", "digests": { "md5": "12280a411c593ebbb84717c01b769207", "sha256": "224458ce9f509938b754c240fe7b12d8d8ba4baa7f9b426a4388aaf506b2f922" }, "downloads": -1, "filename": "ckanext-geoview-0.0.12.tar.gz", "has_sig": false, "md5_digest": "12280a411c593ebbb84717c01b769207", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1852743, "upload_time": "2016-08-04T08:12:01", "url": "https://files.pythonhosted.org/packages/ab/07/a7b5d196f465053828b57ee7d76a864727c1a9eb3b329ba0b4acca473dbc/ckanext-geoview-0.0.12.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "579190750a58140096b4bfee07600ec5", "sha256": "2ef13173469422564604dfa65ae509ad512087d8dc057978eba91434634d8f26" }, "downloads": -1, "filename": "ckanext-geoview-0.0.2.tar.gz", "has_sig": false, "md5_digest": "579190750a58140096b4bfee07600ec5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6608, "upload_time": "2015-04-10T10:48:16", "url": "https://files.pythonhosted.org/packages/1a/5d/0673578b504de778536dfd69ca9de8a03f68168118758baa29bc1214d6e1/ckanext-geoview-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "3d3ee54b32cbbb1c72a458dc4957b6b1", "sha256": "502b2a8550847f81a9bb4d4cd7305a86c73d8deae02e9e445782a2c5da31b173" }, "downloads": -1, "filename": "ckanext-geoview-0.0.3.tar.gz", "has_sig": false, "md5_digest": "3d3ee54b32cbbb1c72a458dc4957b6b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1527736, "upload_time": "2015-04-10T10:50:52", "url": "https://files.pythonhosted.org/packages/40/4b/0742ab8850c62506c6acfbe0ce379001be020a2d1c7c73165a2e4355f477/ckanext-geoview-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "7b291bf7b15038b70f936d42ba67adb4", "sha256": "e2ca07c70f455f8c910211a21a4386feb60c56a2a388a00f3f3607f335413617" }, "downloads": -1, "filename": "ckanext-geoview-0.0.4.tar.gz", "has_sig": false, "md5_digest": "7b291bf7b15038b70f936d42ba67adb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1527788, "upload_time": "2015-04-10T11:13:40", "url": "https://files.pythonhosted.org/packages/cc/31/3ab705957a2a3fee204fc85a81d691482fa7ad623d375fd63b59435036f9/ckanext-geoview-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "f85718843b32e03da03447ad1413dc0a", "sha256": "11fed04a38f5e269b5446493b80e85f770e1f9f1b352c54f063bca56ef02fc4b" }, "downloads": -1, "filename": "ckanext-geoview-0.0.5.tar.gz", "has_sig": false, "md5_digest": "f85718843b32e03da03447ad1413dc0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1618504, "upload_time": "2015-04-22T11:22:19", "url": "https://files.pythonhosted.org/packages/86/16/409a370df640b03513d8bad89834fdd3930890ffaa95b36ad0e4077b8b97/ckanext-geoview-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "073a369d73d98e63baf6b98d08944a1a", "sha256": "276876bc01ba9071ed38807bfd98eac11befa981d9b1579cbdb4f233f6ee2888" }, "downloads": -1, "filename": "ckanext-geoview-0.0.6.tar.gz", "has_sig": false, "md5_digest": "073a369d73d98e63baf6b98d08944a1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1618756, "upload_time": "2015-04-30T12:15:17", "url": "https://files.pythonhosted.org/packages/81/1c/582fc86035a642e531e1a987cb21420b4a62bf7b1010e73dd8d6e62ef6e4/ckanext-geoview-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "cb53410e67b0ff7beeb527b47605ab94", "sha256": "45d1ab08ce15d203889a79ebaed19ae4c6350085c66ebb956d001c257c172e2b" }, "downloads": -1, "filename": "ckanext-geoview-0.0.7.tar.gz", "has_sig": false, "md5_digest": "cb53410e67b0ff7beeb527b47605ab94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1708861, "upload_time": "2015-05-07T12:34:13", "url": "https://files.pythonhosted.org/packages/5e/f6/97385ce782e7f040f4d037d305a216df9d972974f4553b6c4f1a2c687408/ckanext-geoview-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "6f2aa469dc64915cf4ba64d3f50c4d79", "sha256": "5500c111bb97dcd7ff452fde1cc6c8907c594dcc2a99f66487849bc8f5feff36" }, "downloads": -1, "filename": "ckanext-geoview-0.0.8.tar.gz", "has_sig": false, "md5_digest": "6f2aa469dc64915cf4ba64d3f50c4d79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1845528, "upload_time": "2015-11-25T14:04:21", "url": "https://files.pythonhosted.org/packages/61/6c/5144a3781dbd279be38c1b9d887f790c873be7e2056a09444362a752a2ef/ckanext-geoview-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "e8bd56e41e85541d20e85b40b999b849", "sha256": "f0b8963bda206a02504d794a2a98e95897dfa179b4a056a4c9e910e49cc41717" }, "downloads": -1, "filename": "ckanext-geoview-0.0.9.tar.gz", "has_sig": false, "md5_digest": "e8bd56e41e85541d20e85b40b999b849", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1845558, "upload_time": "2015-11-26T11:01:59", "url": "https://files.pythonhosted.org/packages/ec/34/3df4e7c7a77c6f11f945fc552398016c465a6ddf0980ec090a9e22515903/ckanext-geoview-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "12280a411c593ebbb84717c01b769207", "sha256": "224458ce9f509938b754c240fe7b12d8d8ba4baa7f9b426a4388aaf506b2f922" }, "downloads": -1, "filename": "ckanext-geoview-0.0.12.tar.gz", "has_sig": false, "md5_digest": "12280a411c593ebbb84717c01b769207", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1852743, "upload_time": "2016-08-04T08:12:01", "url": "https://files.pythonhosted.org/packages/ab/07/a7b5d196f465053828b57ee7d76a864727c1a9eb3b329ba0b4acca473dbc/ckanext-geoview-0.0.12.tar.gz" } ] }