Project

General

Profile

Feature #574

Updated by Alexander Watzinger over 8 years ago

[[Spatial Whitepaper]] of features. 

 *To do* 

 - actor view: repair maps, now map shows only if points but what if only polygons in e.g. residence? 
 - place view: same like actor - what if no points? 

 - multiple points 
 - multiple polygons 
 - search 

 - type 
 - count 
 - centerpoint for polygons (and show them in map) 
 - look into polygons.php 
 - translations 
 - new structure dump 

 *Interface description for GeoJSON objects* 
 <pre> 
 These JavaScript variables will be set by the application: 

 gisPointAll (without selected) 
 gisPointSelected 
 gisPolygonAll (without selected) 
 gisPolygonSelected 

 At insert/update these form fields will be used to write to database: 

 $('#gisPoints') 
 $('#gisPolygons') 

 GeoJSON structure: 

 { 
     "type": "Feature", 
     "geometry": { 
         "type": "Point/Polygon", 
         "coordinates": [12.0094131678343,47.864675435946] 
     }, 
     "properties": { 
         "title": "ObjectName", 
         "objectDescription": "ObjectDescription", 
         "siteType": "ObjectType", 
         "objectId": "134", 
         "count": "3", 
         "id": "1233", 
         "shapeType": "centerpoint/polygoncenter", 
         "name": "Prague Version 2", 
         "description": "a descriptive description" 
     } 
 }, 
 { 
   "type": "Feature" .... 
 </pre> 

Back