t_busstop
1 parent 0cd9855 commit 88a8d8eff0cbd2249782e809137b52d1e99eb7c8
@hayashi hayashi authored on 13 May 2018
Showing 1 changed file
View
2
■■■
src/osm/jp/coverage/busstop/ToGeoJSON.java
if (arg.equals("-slim")) {
slim = true;
}
}
osm.jp.postgis.ToGeoJSON obj = new osm.jp.postgis.ToGeoJSON(DbBusstop.TABLE_NAME);
osm.jp.postgis.ToGeoJSON obj = new osm.jp.postgis.ToGeoJSON("busstop");
Connection con = DatabaseTool.openDb("postgis");
obj.outputDb(con, "", new File("GML_BUSSTOP", "busstop.json"), false);
obj.outputDb(con, "WHERE fixed=0", new File("GML_BUSSTOP", "busstop0.json"), false);
obj.outputDb(con, "WHERE fixed=1", new File("GML_BUSSTOP", "busstop1.json"), false);