Feature #574
Updated by Alexander Watzinger about 8 years ago
[[Spatial Whitepaper]] of features.
*To do*
Frontend:
Add to map of selected ones
zoom to bounds of centerpoints and points
- search
- centerpoint for polygons (and show them in map)
- translations
- test without points/polygons and input sanitation
*Interface description for GeoJSON objects*
<pre>
These JavaScript variables will be set by the application:
gisPointAll (without selected, with not selected polygon centerpoints)
gisPointSelected
gisPolygonAll (without selected)
gisPolygonSelected
gisPolygonPointSelected (centerpoints of selected polygons)
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>