Changeset 36169 in osm for applications/editors/josm/plugins/seachart/jrenderpgsql
- Timestamp:
- 2023-10-12T21:13:32+02:00 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/jrenderpgsql/src/jrenderpgsql/JrenderPgsql.java
r35110 r36169 7 7 import java.awt.geom.Point2D; 8 8 import java.awt.image.BufferedImage; 9 import java.io.B ufferedReader;9 import java.io.ByteArrayInputStream; 10 10 import java.io.StringReader; 11 11 import java.io.ByteArrayOutputStream; 12 12 import java.io.FileOutputStream; 13 import java.nio.charset.StandardCharsets; 13 14 import java.util.ArrayList; 14 15 import java.util.HashMap; … … 396 397 // library where it will be parsed again. 397 398 398 B ufferedReaderin = new BufferedReader(new StringReader(combinedBuf.toString()));399 ByteArrayInputStream in = new ByteArrayInputStream(combinedBuf.toString().getBytes(StandardCharsets.UTF_8)); 399 400 map = new S57map(true); 400 401 S57osm.OSMmap(in, map, false); … … 427 428 public RuleSet ruleset() { 428 429 return RuleSet.SEAMARK; 430 } 431 432 public Chart chart() { 433 return null; 434 } 435 436 public int grid() { 437 return 0; 429 438 } 430 439 };
Note:
See TracChangeset
for help on using the changeset viewer.