Feature #574
Updated by Stefan Eichert over 8 years ago
[[Spatial Whitepaper]] of features.
*To do*
- multiple points
- multiple polygons
- json: get name of object instead of place
- json: solve quote problem for coordinate
- translations for info
- look into polygons.php
- parameterize querys
- try transaction
- search to do
- new structure dump
- remove old coordinate code (and db functions?)
- import old points and add sql to update info
- geojson format: define one instead of two, at the moment coordinates only work without quotes
- geojson for all objects
<pre>
{
"type": "Feature",
"geometry":{
"type": "Point/Polygon",
"coordinates": [12.0094131678343,47.864675435946]
},
"properties": {
"title": "ObjectName",
"objectDescription":"ObjectDescription",
"marker-color": "#fc4353",
"siteType": "ObjectType",
"objectId": "134",
"count": "3",
"id": "1233",
"shapeType":"centerpont/polygoncenter",
"name": "Prague Version 2",
"description": "blabalbalbalbalb"
}
},
{
"type": "Feature" ....
</pre>