]> git.street.me.uk Git - andy/viking.git/commitdiff
Remove built in OpenStreetBugs datasource as this service is being phased out.
authorRob Norris <rw_norris@hotmail.com>
Mon, 10 Feb 2014 23:42:11 +0000 (23:42 +0000)
committerRob Norris <rw_norris@hotmail.com>
Mon, 10 Feb 2014 23:42:11 +0000 (23:42 +0000)
doc/examples/datasources.xml
src/osm.c

index 061c8c9070526769483f689b0ffe1c3634fb444c..c886fb50308b10131c258fbdd13fd3276c084929 100644 (file)
@@ -1,5 +1,4 @@
 <objects>
-  <!-- NB In built, but this is the equivalent -->
   <object class="VikWebtoolDatasource">
     <property name="label">OpenStreetBugs</property>
     <property name="url_format_code">LRBT</property>
index 7597b5d7a1349b9b2ea9a35875566804cb7f5be2..07bf3899fe585a42fb971170841452544432fb75 100644 (file)
--- a/src/osm.c
+++ b/src/osm.c
@@ -159,10 +159,6 @@ void osm_init () {
   vik_ext_tool_datasources_register ( VIK_EXT_TOOL ( vwtds ) );
   g_object_unref ( vwtds );
 
-  vwtds = vik_webtool_datasource_new_with_members ( _("OpenStreetBugs"), "http://openstreetbugs.schokokeks.org/api/0.1/getGPX?l=%s&r=%s&b=%s&t=%s&open=only_open_bugs", "LRBT", NULL );
-  vik_ext_tool_datasources_register ( VIK_EXT_TOOL ( vwtds ) );
-  g_object_unref ( vwtds );
-
   // Goto
   VikGotoXmlTool *nominatim = VIK_GOTO_XML_TOOL ( g_object_new ( VIK_GOTO_XML_TOOL_TYPE, "label", "OSM Nominatim",
     "url-format", "http://nominatim.openstreetmap.org/search?q=%s&format=xml",