]> git.street.me.uk Git - andy/viking.git/blame - doc/examples/datasources.xml
SF#3613971: Remove Geofabrik's OpenStreetMap WMS, as it is not for public use.
[andy/viking.git] / doc / examples / datasources.xml
CommitLineData
95272265
RN
1<objects>
2 <!-- NB In built, but this is the equivalent -->
3 <object class="VikWebtoolDatasource">
4 <property name="label">OpenStreetBugs</property>
5 <property name="url_format_code">LRBT</property>
6 <!-- format_code describes the order and what each of the substitution values are in the URL -->
7 <!-- B = Bottom of the current view i.e. minimum latitude -->
8 <!-- L = Left of the current view i.e. minimum longitude -->
9 <!-- T = Top of the current view i.e. maximum latitude -->
10 <!-- R = Right of the current view i.e. maximum longitude -->
11 <!-- A = center lAtitude of the current view -->
12 <!-- O = center lOngitude of the current view -->
13 <!-- Z = OSM Zoom value of the current view (http://wiki.openstreetmap.org/wiki/Zoom_levels) -->
14 <property name="file_type"></property>
15 <!-- A non defined or empty value (as above) means use internal GPX processing -->
16 <!-- otherwise the value is used in calling gpsbabel with the '-i' parameter to identify the file format e.g. gpx or kml -->
17 <!-- See http://www.gpsbabel.org/capabilities.html for the full range of file types. The value is case sensitive. -->
18 <property name="url">http://openstreetbugs.schokokeks.org/api/0.1/getGPX?l=%s&amp;r=%s&amp;b=%s&amp;t=%s&amp;open=only_open_bugs</property>
19 </object>
5910b4fb
RN
20 <!-- NB In built, but this is the equivalent -->
21 <object class="VikWebtoolDatasource">
22 <!-- See http://wiki.openstreetmap.org/wiki/API_v0.6#Map_Notes_API-->
23 <property name="label">OpenStreetMap Notes</property>
24 <property name="url_format_code">LBRT</property>
25 <property name="file_type"></property>
26 <property name="url">http://api.openstreetmap.org/api/0.6/notes.gpx?bbox=%s,%s,%s,%s&amp;closed=0</property>
27 </object>
95272265
RN
28 <object class="VikWebtoolDatasource">
29 <property name="label">PostBoxes</property>
30 <property name="url_format_code">AO</property>
31 <!-- file_type not set, so uses internal GPX handler -->
32 <property name="url">robert.mathmos.net/osm/postboxes/2/mapdata.cgi?lat=%s&amp;lon=%s&amp;output=gpx</property>
33 <!-- URL doesn't have to have the starting 'http://' -->
34 </object>
35 <object class="VikWebtoolDatasource">
36 <property name="label">OpenPlaques</property>
37 <property name="url_format_code">TLBR</property>
38 <property name="url">http://openplaques.org/plaques.kml?box=[%s,%s],[%s,%s]</property>
39 <property name="file_type">kml</property>
40 </object>
41</objects>