Add Sahana CAP GIS layers to Spotter template

This commit is contained in:
Disassembler 2018-02-12 14:55:10 +01:00
parent 1d68ced82a
commit 1087481016
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -19,3 +19,6 @@ Tweets,All Tweets,msg,twitter_result,twitter,,{body},body,,,True,,,,,False,,,
Vehicles,,vehicle,vehicle,vehicle,Car,{number} (T('Vehicle'))<br />{person_id},"number,person_id",,,True,True,,,,False,,,
Volunteers,All Active Volunteers,vol,volunteer,volunteer,"Contact, Dreadlocks",{person_id} (T('Volunteer'))<br />{organisation_id},"person_id,organisation_id",~.status=1,,True,True,,,,False,,,
Warehouses,All Active Warehouses,inv,warehouse,warehouse,Building,{name} (T('Warehouse'))<br />{organisation_id},"name,organisation_id",~.obsolete=False,,True,,,,,False,,,
All Alerts,,cap,alert,marker_red,,{headline} (T('Alert')),"id,cap_info.headline,cap_info.priority,cap_area.name",~.is_template=False,,,,"[{'fallback':'No Priority'},{'prop':'priority','cat':'Urgent','fill':'FF0000'},{'prop':'priority','cat':'High','fill':'FFA500'},{'prop':'priority','cat':'Low','fill':'FFFF00'},{'prop':'priority','cat':'-','fill':'222222'}]",0.25,,False,False,,
Public Alerts,,cap,public,marker_red,,{headline} (T('Alert')),"id,cap_info.headline,cap_info.priority,cap_area.name",~.is_template=False&~.scope=Public,,,,"[{'fallback':'No Priority'},{'prop':'priority','cat':'Urgent','fill':'FF0000'},{'prop':'priority','cat':'High','fill':'FFA500'},{'prop':'priority','cat':'Low','fill':'FFFF00'},{'prop':'priority','cat':'-','fill':'222222'}]",0.25,,False,False,,
Predefined Areas,,cap,area,marker_red,,{name} (T('Predefined Area')),"id,cap_area.name,cap_area.priority,cap_area.event_type_id,cap_area.altitude,cap_area.ceiling",~.is_template=True,,,,,0.25,,False,False,,

1 Name Description Controller Function Marker GPS Marker Popup Format Attributes Filter Site Points Trackable Style Opacity Folder Visible Enabled Cluster Threshold Refresh
19 Vehicles vehicle vehicle vehicle Car {number} (T('Vehicle'))<br />{person_id} number,person_id True True False
20 Volunteers All Active Volunteers vol volunteer volunteer Contact, Dreadlocks {person_id} (T('Volunteer'))<br />{organisation_id} person_id,organisation_id ~.status=1 True True False
21 Warehouses All Active Warehouses inv warehouse warehouse Building {name} (T('Warehouse'))<br />{organisation_id} name,organisation_id ~.obsolete=False True False
22 All Alerts cap alert marker_red {headline} (T('Alert')) id,cap_info.headline,cap_info.priority,cap_area.name ~.is_template=False [{'fallback':'No Priority'},{'prop':'priority','cat':'Urgent','fill':'FF0000'},{'prop':'priority','cat':'High','fill':'FFA500'},{'prop':'priority','cat':'Low','fill':'FFFF00'},{'prop':'priority','cat':'-','fill':'222222'}] 0.25 False False
23 Public Alerts cap public marker_red {headline} (T('Alert')) id,cap_info.headline,cap_info.priority,cap_area.name ~.is_template=False&~.scope=Public [{'fallback':'No Priority'},{'prop':'priority','cat':'Urgent','fill':'FF0000'},{'prop':'priority','cat':'High','fill':'FFA500'},{'prop':'priority','cat':'Low','fill':'FFFF00'},{'prop':'priority','cat':'-','fill':'222222'}] 0.25 False False
24 Predefined Areas cap area marker_red {name} (T('Predefined Area')) id,cap_area.name,cap_area.priority,cap_area.event_type_id,cap_area.altitude,cap_area.ceiling ~.is_template=True 0.25 False False