remove comment, set standard out
This commit is contained in:
parent
3602e4202c
commit
7ce31e3c16
1 changed files with 3 additions and 6 deletions
|
@ -191,9 +191,6 @@ public class OsmCutter extends MapCreatorBase {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Ess Bee : NEW function to add the new tags (estimated_noise_class , river, forest...)
|
|
||||||
|
|
||||||
private void generateSpecialTags(long osm_id, Map<String, String> map) {
|
private void generateSpecialTags(long osm_id, Map<String, String> map) {
|
||||||
|
|
||||||
if (jdbcurl == null) return;
|
if (jdbcurl == null) return;
|
||||||
|
@ -203,16 +200,16 @@ public class OsmCutter extends MapCreatorBase {
|
||||||
|
|
||||||
String sql_all_tags = "SELECT * from all_tags where losmid = ?";
|
String sql_all_tags = "SELECT * from all_tags where losmid = ?";
|
||||||
|
|
||||||
System.err.println("OsmCutter start connection to the database........" + jdbcurl);
|
System.out.println("OsmCutter start connection to the database........" + jdbcurl);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
conn = DriverManager.getConnection(jdbcurl);
|
conn = DriverManager.getConnection(jdbcurl);
|
||||||
psAllTags = conn.prepareStatement(sql_all_tags);
|
psAllTags = conn.prepareStatement(sql_all_tags);
|
||||||
|
|
||||||
System.err.println("OsmCutter connect to the database ok........");
|
System.out.println("OsmCutter connect to the database ok........");
|
||||||
|
|
||||||
} catch (SQLException g) {
|
} catch (SQLException g) {
|
||||||
System.err.format("Osm Cutter SQL State: %s\n%s\n", g.getSQLState(), g.getMessage());
|
System.out.format("Osm Cutter SQL State: %s\n%s\n", g.getSQLState(), g.getMessage());
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
return;
|
return;
|
||||||
} catch (Exception f) {
|
} catch (Exception f) {
|
||||||
|
|
Loading…
Reference in a new issue