This repository was archived by the owner on Apr 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Apr 10, 2023. It is now read-only.
Add spatial widget to generate the BBox #3
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Update spatial field (snippet_form) to generate an interactive BBox, in order to facilitate the work of metadata generation.
ckanext-scheming/ckanext/scheming/ckan_geodcatap.yaml
Lines 642 to 652 in 3c165fb
| - field_name: spatial | |
| label: | |
| en: Bounding Box | |
| es: Extensión espacial | |
| form_snippet: json.html | |
| display_property: dct:spatial | |
| form_placeholder: '{"type": "Polygon", "coordinates": [[[-18.273563, 27.549025], [4.440455, 27.549025], [4.440455, 43.855133], [-18.273563, 43.855133], [-18.273563, 27.549025]]]}' | |
| help_text: | |
| en: '<a href="https://geojson.io" target="_blank">Draw and edit BBox:</a> Only "geometry" dict with "type" and "coordinates" elements. More information at <a href="https://geojson.org/geojson-spec.html#bounding-boxes" target="_blank">GeoJSON bounding boxes</a>.' | |
| es: '<a href="https://geojson.io" target="_blank">Dibuja y edita el BBox:</a> Solo es necesario el diccionario "geometry" con los elementos "type" y "coordinates". Más información en <a href="https://geojson.org/geojson-spec.html#bounding-boxes" target="_blank">GeoJSON bounding boxes</a>.' | |
| help_allow_html: True |
More info: dbca-wa/ckanext-dbca#1 ckan/ckanext-spatial#93
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request