OSDN Git Service

idが"--4032"のように不正Formatになる不具合を解決
authorhayashi <hayashi.yuu@gmail.com>
Sun, 21 Oct 2012 23:42:41 +0000 (08:42 +0900)
committerhayashi <hayashi.yuu@gmail.com>
Sun, 21 Oct 2012 23:42:41 +0000 (08:42 +0900)
src/osm/jp/ConvBusstop.java

index 5a302c8..4e8670f 100644 (file)
@@ -405,7 +405,7 @@ public class ConvBusstop {
        }
 
        public static String nodeBusstop(int code, String name, Double lat, Double lon, String timeStampStr) {
-               String osm_node = ("<node id=\"-"+ code +"\" timestamp=\""+ timeStampStr +"Z\" lat=\""+ lat +"\" lon=\""+ lon +"\">\n");
+               String osm_node = ("<node id=\""+ code +"\" timestamp=\""+ timeStampStr +"Z\" lat=\""+ lat +"\" lon=\""+ lon +"\">\n");
                osm_node += "<tag k=\"name\" v=\""+ name +"\"/>\n";
                osm_node += "<tag k=\"highway\" v=\"bus_stop\"/>\n";
                osm_node += "<tag k=\"bus\" v=\"yes\"/>\n";