Changeset 35392 in osm for applications/editors/josm/plugins/seachart/jchart/src
- Timestamp:
- 2020-03-22T12:03:02+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/jchart/src/jchart/Jchart.java
r35391 r35392 8 8 import java.awt.geom.Point2D; 9 9 import java.awt.image.BufferedImage; 10 import java.io.BufferedReader;11 10 import java.io.File; 12 11 import java.io.FileOutputStream; 13 import java.io.FileReader;14 12 import java.io.IOException; 15 13 import java.io.OutputStreamWriter; … … 132 130 System.exit(-1); 133 131 } 134 BufferedReader in = new BufferedReader(new FileReader(args[0]));132 File in = new File(args[0]); 135 133 zoom = Integer.parseInt(args[1]); 136 134 map = new S57map(false); 137 135 S57osm.OSMmap(in, map, false); 138 in.close();136 // in.close(); 139 137 context = new Context(); 140 138 Point2D size = context.getPoint(new Snode(map.bounds.minlat, map.bounds.maxlon));
Note:
See TracChangeset
for help on using the changeset viewer.