Revision 277, 0.9 KB
(checked in by daniel, 21 months ago)
|
Output format geometry renewal
|
Line | |
---|
1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <kml |
---|
3 | xmlns="http://www.opengis.net/kml/2.2" |
---|
4 | xmlns:wrs="http://pgrouting.postlbs.org/wrs/1.1.0"> |
---|
5 | <Document> |
---|
6 | <name></name> |
---|
7 | <description></description> |
---|
8 | |
---|
9 | <Style id="lineStyle"> |
---|
10 | <LineStyle> |
---|
11 | <color>7fff0000</color> |
---|
12 | <width>5</width> |
---|
13 | </LineStyle> |
---|
14 | </Style> |
---|
15 | |
---|
16 | <Placemark> |
---|
17 | <name></name> |
---|
18 | <description></description> |
---|
19 | <styleUrl>#lineStyle</styleUrl> |
---|
20 | |
---|
21 | <MultiGeometry> |
---|
22 | $edges:{ e | |
---|
23 | <LineString id="$e.id$"> |
---|
24 | <tessellate>1</tessellate> |
---|
25 | <altitudeMode>clampToGround</altitudeMode> |
---|
26 | <coordinates> |
---|
27 | $e.points:{ p |$p.x$,$p.y$,0};separator=" "$ |
---|
28 | </coordinates> |
---|
29 | </LineString> |
---|
30 | }$ |
---|
31 | </MultiGeometry> |
---|
32 | |
---|
33 | <ExtendedData> |
---|
34 | <wrs:status> |
---|
35 | <wrs:code>200</wrs:code> |
---|
36 | <wrs:request>route</wrs:request> |
---|
37 | </wrs:status> |
---|
38 | <wrs:user> |
---|
39 | <wrs:request_id>$request_id$</wrs:request_id> |
---|
40 | </wrs:user> |
---|
41 | </ExtendedData> |
---|
42 | </Placemark> |
---|
43 | </Document> |
---|
44 | </kml> |
---|