source: josm/trunk/data/gpx-extensions-1.1.xsd@ 15806

Last change on this file since 15806 was 15496, checked in by Don-vip, 5 years ago

fix #16796 - Rework of GPX track colors / layer preferences (patch by Bjoeni)

File size: 1.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<schema targetNamespace="http://josm.openstreetmap.de/gpx-extensions-1.1"
3 elementFormDefault="qualified"
4 xmlns="http://www.w3.org/2001/XMLSchema"
5 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xmlns:josm="http://josm.openstreetmap.de/gpx-extensions-1.1"
8 xsi:schemaLocation="http://josm.openstreetmap.de/gpx-extensions-1.1 http://josm.openstreetmap.de/gpx-extensions-1.1.xsd">
9
10 <!-- true, if gpx data has been downloaded from the osm server -->
11 <!-- it this case, JOSM improves the rendering of clouds of anonymous TrackPoints -->
12 <element name="from-server" type="boolean"/>
13
14 <!-- the following properties are only set for marker layer export -->
15 <element name="offset" type="decimal"/>
16 <element name="sync-offset" type="decimal"/>
17 <element name="text" type="string" />
18
19 <xsd:element name="layerPreferences" type="josm:preferences_type">
20 <xsd:annotation>
21 <xsd:documentation>
22 The layerPreferences contain the preferences that can be set for the layer, e.g. in the "Customize track drawing" dialog in JOSM.
23 </xsd:documentation>
24 </xsd:annotation>
25 </xsd:element>
26
27 <xsd:complexType name="preferences_type">
28 <xsd:sequence>
29 <xsd:element name="entry" type="josm:entry_type" minOccurs="0" />
30 </xsd:sequence>
31 </xsd:complexType>
32
33 <xsd:complexType name="entry_type">
34 <xsd:attribute name="key" type="xsd:string" use="required" />
35 <xsd:attribute name="value" type="xsd:string" use="required" />
36 </xsd:complexType>
37
38</schema>
Note: See TracBrowser for help on using the repository browser.