You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+29-11Lines changed: 29 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ used to be part of ckanext-spatial_.
10
10
**Note:** This is a work in progress, if you can help with `OpenLayers`_ or `Leaflet`_ development,
11
11
check the `Issues` section for what needs to be done or add a new issue.
12
12
13
-
This extensions supports CKAN 2.6 onwards, including Python 3 support on CKAN 2.9 or higher.
13
+
This extensions supports CKAN 2.7 onwards, including Python 3 support on CKAN 2.9 or higher.
14
14
15
15
------------
16
16
Installation
@@ -76,11 +76,11 @@ OpenLayers Viewer
76
76
77
77
The OpenLayers_ viewer provides access to different geospatial formats and services:
78
78
79
-
To enable it, add ``geo_view`` to your ``ckan.plugins`` setting. (use ``geo_preview`` if you are using CKAN < 2.3)::
79
+
To enable it, add ``geo_view`` to your ``ckan.plugins`` setting.::
80
80
81
81
ckan.plugins = ... resource_proxy geo_view
82
82
83
-
On CKAN >= 2.3, if you want the geospatial views to be created by default, add the plugin to the following setting::
83
+
If you want the geospatial views to be created by default, add the plugin to the following setting::
84
84
85
85
86
86
ckan.views.default_views = ... geo_view
@@ -247,11 +247,11 @@ Leaflet GeoJSON Viewer
247
247
248
248
The 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.
249
249
250
-
To enable it, add ``geojson_view`` to your ``ckan.plugins`` setting. (use ``geojson_preview`` if you are using CKAN < 2.3)::
250
+
To enable it, add ``geojson_view`` to your ``ckan.plugins`` setting.::
251
251
252
252
ckan.plugins = ... resource_proxy geojson_view
253
253
254
-
On CKAN >= 2.3, if you want the views to be created by default on all GeoJSON files, add the plugin to the following setting::
254
+
If you want the views to be created by default on all GeoJSON files, add the plugin to the following setting::
255
255
256
256
257
257
ckan.views.default_views = ... geojson_view
@@ -269,11 +269,11 @@ Leaflet WMTS Viewer
269
269
270
270
The Leaflet_ WMTS viewer will render WMTS (Web Map Tile Service) layers on a map for those resources that have a ``wmts`` format.
271
271
272
-
To enable it, add ``wmts_view`` to your ``ckan.plugins`` setting. (use ``wmts_preview`` if you are using CKAN < 2.3)::
272
+
To enable it, add ``wmts_view`` to your ``ckan.plugins`` setting.::
273
273
274
274
ckan.plugins = ... resource_proxy wmts_view
275
275
276
-
On CKAN >= 2.3, if you want the views to be created by default on all WMTS resources, add the plugin to the following setting::
276
+
If you want the views to be created by default on all WMTS resources, add the plugin to the following setting::
The Leaflet_ Shapefile_ viewer will render ESRI Shapfiles (A ZIP archive contains the .shp, .shx, .dbf, and .prj files) on a map and add a popup showing the features properties, for those resources that have a ``shp`` format.
288
288
289
-
To enable it, add ``shp_view`` to your ``ckan.plugins`` setting. (use ``shp_preview`` if you are using CKAN < 2.3)::
289
+
To enable it, add ``shp_view`` to your ``ckan.plugins`` setting.::
290
290
291
291
ckan.plugins = ... resource_proxy shp_view
292
292
293
-
On CKAN >= 2.3, if you want the views to be created by default on all Shapefiles, add the plugin to the following setting::
293
+
If you want the views to be created by default on all Shapefiles, add the plugin to the following setting::
294
294
295
295
296
296
ckan.views.default_views = ... shp_view
@@ -310,7 +310,7 @@ Common base layers for Map Widgets
310
310
311
311
The geospatial view plugins support the same base map configurations than the ckanext-spatial `widgets`_.
312
312
313
-
Check the following page to learn how to choose a different base map layer (Stamen, MapBox or custom):
313
+
Check the following page to learn how to choose a different base map layer:
0 commit comments