root/tools/routingservice/trunk/templates/catch/catch_geojson.st

Revision 278, 347 bytes (checked in by daniel, 21 months ago)

KML and GeoJSON polygon template

Line 
1{ "type": "FeatureCollection",
2        "features": [
3                { "type": "Feature",
4                        "geometry": {
5                                "type": "Polygon",
6                                "coordinates": [[ $poly$ ]]
7                        },
8                        "crs": {
9                                "type": "EPSG",
10                                "properties": {"code": "srid"}
11                        },
12                        "properties": {}
13                }
14        ],
15        "status": {
16                "code": 200,
17                "request": "catch"
18        },
19        "user": {
20                "request_id": "$request_id$"
21        }
22}
Note: See TracBrowser for help on using the browser.