root/tools/routingservice/trunk/templates/multilinestring_kml.st

Revision 261, 0.7 KB (checked in by daniel, 21 months ago)

fixed invalid KML template header

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
3        <Document>
4        <name>WebRouting Service</name>
5        <Style id="LineStyle">
6                <LineStyle>
7                        <color>7f0000ff</color>
8                        <width>4</width>
9                </LineStyle>
10        </Style>
11
12        <Placemark>
13                <description>No+description+available</description>
14                <name>Shortest Path</name>
15                <styleUrl>#LineStyle</styleUrl>
16
17                <MultiGeometry>
18$edges:{ e |
19                        <LineString>
20                                <coordinates>
21                                $e.edge$
22                                </coordinates>
23                        </LineString>
24}$
25                </MultiGeometry>
26        </Placemark>
27        </Document>
28</kml>
Note: See TracBrowser for help on using the browser.