User Tools

Site Tools


partners:feature_info_template_field_in_ckan

Feature info template field in CKAN (for spatial data)

Does this apply to SD? Need SC example if so

Who is this guide for

  • CKAN's administrators and editors

What this guide teaches

  • How to preset info-windows within TerraMap for feature attributes in CKAN.

Things to know beforehand

Different User roles

In order to create, modify, or edit datasets a user must register a user account on CKAN, have the appropriate permissions, and log in. Login is not needed to search for and find data.

need to document the process for SD For SmartDublin, every user must belong to an existing Organization in order to be able to upload datasets. After registering, users have to contact the Administrator of the Organization they want to belong to in order to get the appropriate permissions assigned. Please refer to Collaborating Organizations for the contact information of the different Administrators. The administrators will assign permissions within ?? hours. Administrators can assign users within an Organization the following roles: * Admin: Admin are allowed to create, modify, and review datasets. Admin permissions are only given to users within the Organization they coordinate. * Editor: Editors are only allowed to create Datasets which will be private until a user with Admin permissions reviews them.

Steps to use 'feature info template'

  1. Add a new dataset or login to an existing record.
  2. Click Manage.
  3. Add the desired information in the Feature info template for WMS Resource.
  4. Fields in the data are added in {{}} brackets.
  5. The name needs to be the exact name from the geodata.
  6. You can check these names by looking at the DB_TABLE resource in the same dataset. (eg. https://data.odt.odm-eu.staging.derilinx.com/en/dataset/gms-rivers-testing/resource/dc2b1908-27f1-441b-8015-b897aebe997c)
  7. HTML is preserved in this template example:
 
<table>
<tr> <th>Basin:</th><td>{{Maj_Name}}</td></tr>
<tr><th>River:</th><td>{{Sub_Name}}</td></tr>
</table>

8. Submit, and reload the WMS preview.

9. The display should be visible in the TerraMap interface:

partners/feature_info_template_field_in_ckan.txt · Last modified: 2020/02/04 11:45 by admin