Project

General

Profile

Feature #574

Updated by Alexander Watzinger over 7 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? implement new JSON functions (remove getPoints, getJsonData) 
 - search to use existing JSON 

 - multiple points 
 - multiple polygons 
 - search 

 - type 
 - count 
 - centerpoint for polygons 
 - look into polygons.php 
 - translations 
 - parameterize querys 
 - new structure dump 
 - remove old coordinate code (and db functions?) 
 - delete gis points if deleting object 

 *Interface description *geojson for GeoJSON objects* 
 

 <pre> 
 These JavaScript variables will be set by the application: application. At insert/update/delete fields with the names (gisPoint, gisPolygon) will be used 

 gisPointAll (without selected) 
 gisPointSelected 
 gisPolygonAll (without selected) 
 gisPolygonSelected 
 </pre> 

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

 $('#gisPoints') <pre> 
 $('#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