====== 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 [[public:collaborating_organizations|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' ===== - Add a new dataset or login to an existing record. - Click Manage. - Add the desired information in the Feature info template for WMS Resource. - Fields in the data are added in {{}} brackets. - The name needs to be the exact name from the geodata. - 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) - HTML is preserved in this template example:
Basin:{{Maj_Name}}
River:{{Sub_Name}}
{{:partners:featureinfotemplate.png?600|}} 8. Submit, and reload the WMS preview. 9. The display should be visible in the TerraMap interface: {{:partners:infowindow.png?600|}}