source: subversion/utils/schema/example_1.xml @ 2203

Last change on this file since 2203 was 771, checked in by zere, 14 years ago

Added XML Schema for OSM REST API

File size: 803 bytes
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<osm xmlns="http://www.openstreetmap.org"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://www.openstreetmap.org osm.xsd">
5  <node uid="12345" lat="42.0" lon="23.0" />
6  <node uid="15" lat="17.01234" lon="33.6" />
7  <node uid="5478" lat="-2.0" lon="123.0" />
8  <segment uid="565" from="12345" to="15" />
9  <segment uid="53123" from="15" to="12345" />
10  <track uid="678">
11        <segmentRef uid="565" />
12        <segmentRef uid="53123" />
13  </track>
14  <node uid="5523" lat="23.12" lon="-0.112" />
15  <area uid="688">
16        <nodeRef uid="12345" />
17        <nodeRef uid="5523" />
18        <nodeRef uid="5478" />
19  </area>
20  <property uid="111" object="678" key="name" value="Baker Street" />
21  <property uid="155" object="15" key="pub" value="cheap beer" />
22</osm>
Note: See TracBrowser for help on using the repository browser.