root/tools/routingservice/branches/wrs-2.0/data/templates/catch/catch_geojson.st
Revision 349, 429 bytes (checked in by anton, 13 months ago) |
---|
Line | |
---|---|
1 | { "type": "FeatureCollection", |
2 | "features": [ |
3 | $parameters:{ p | |
4 | \{ "type": "Feature", |
5 | "geometry": \{ |
6 | "type": "Polygon", |
7 | "coordinates": [ |
8 | [$p.polygon$] |
9 | ] |
10 | \}, |
11 | "crs": \{ |
12 | "type": "EPSG", |
13 | "properties": \{"code": "srid"\} |
14 | \}, |
15 | "properties": \{ |
16 | "id": "$p.id$" |
17 | \} |
18 | \} |
19 | };separator=","$ |
20 | ], |
21 | "status": { |
22 | "code": 200, |
23 | "request": "catch" |
24 | }, |
25 | "user": { |
26 | "request_id": "$request_id$" |
27 | } |
28 | } |
Note: See TracBrowser
for help on using the browser.