Comments (2)
Hi @rclark,
Unfortunately as you mentioned the frontend has been completely revamped on 2.0, so we still haven't completely adapted the spatial widgets for it, this is something that we will do during the following months.
We did some work though on the dataset extent widget, that shows a map on the dataset page (see bottom left on eg [1]).
If you want to have a go and enable it, you'll need to:
- Switch to the 2641-spatial-widgets-new-theme branch on ckanext-spatial
- Add a custom template to your own extension (you'll need to create one if not already using one) and add a custom read.html that will override the default dataset details page one. Use the one from the demo extension as a guidance [2].
Please note that this is under current development so it may change at some point, but any feedback will be much appreciated.
[1] http://demo.ckan.org/dataset/afghanistan-election-data
[2] https://github.com/okfn/ckanext-demo/blob/development/ckanext/demo/templates/package/read.html
from ckanext-spatial.
Thanks for the information! I'll work through the instructions here and familiarize myself with the extension architecture. I would really like to see a map widget on the resource editing page that would allow you to generate the spatial extra by drawing a shape on the map.
from ckanext-spatial.
Related Issues (20)
- ckan_pycsw.py cannot run on Python 3.2 or greater HOT 1
- Where to update the marker.png file path
- Issues with new version (v2.0) HOT 9
- Requires harvest to be installed
- Error installation in ckan 2.9 with docker
- solr-spatial-field backend fails on longitude > 180 degree harvests HOT 5
- WAF Harvester parsing issues HOT 1
- 'CswService' object has no attribute 'startswith' HOT 3
- Error when installing with Dockerfile
- Error with pip install -r requirements.txt HOT 4
- Current used Default Basemap is not going to be avaliable from 31. October HOT 5
- IIS WAF scaper needs to handle multiple date formats
- Install on debian12 fails HOT 1
- Dataset Loses Harvest Object on WAF file Timestamp Change
- The datapreview map used by ckanext geoview does not work after changing ckanext.spatial.common_map.type either to custom or to another map.type
- PyCSW ConfigParser.get has wrong number of arguments HOT 1
- Solr queries not working due to local parameters not being allowed since CKAN 2.10.4/2.9.11
- Incompatibility with Shapely >2 Due to NumPy 2.0 Update
- Dataset Extent Map HOT 1
- ModuleNotFoundError: No module named 'ckanext.spatial' on extension installation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckanext-spatial.