Changeset 34886 in osm for applications/editors
- Timestamp:
- 2019-02-11T21:53:31+01:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/seachart
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/jrender/src/jrender/Jrender.java
r34885 r34886 168 168 } 169 169 tile(zoom, 1, 0, 0); 170 if (send.size() > 0) { 171 PrintWriter writer = new PrintWriter(srcdir + zoom + "-" + xtile + "-" + ytile + ".send", "UTF-8"); 172 for (String str : send) { 173 writer.println(str); 170 if ((send.size() > 0) || (deletes.size() > 0)) { 171 PrintWriter writer = new PrintWriter(srcdir + zoom + "-" + xtile + "-" + ytile + ".send", "UTF-8"); 172 if (send.size() > 0) { 173 for (String str : send) { 174 writer.println(str); 174 175 } 175 writer.close(); 176 } 177 if (deletes.size() > 0) { 178 PrintWriter writer = new PrintWriter(srcdir + zoom + "-" + xtile + "-" + ytile + ".delete", "UTF-8"); 179 for (String del : deletes.keySet()) { 180 writer.println("rm " + del); 176 } 177 if (deletes.size() > 0) { 178 for (String del : deletes.keySet()) { 179 writer.println("rm " + del); 181 180 } 182 writer.close(); 181 } 182 writer.close(); 183 183 } 184 184 System.exit(0); -
applications/editors/josm/plugins/seachart/src/render/Rules.java
r34885 r34886 1192 1192 if ((Renderer.zoom >= 16) && (feature.geom.length < 2)) { 1193 1193 if (feature.type == Obj.PIPSOL) { 1194 Renderer.lineSymbols(Areas.Pipeline, 1.0, null, null, 0, Symbols.Mline);1194 Renderer.lineSymbols(Areas.Pipeline, 0.33, null, null, 0, Symbols.Mline); 1195 1195 } else if (feature.type == Obj.PIPOHD) { 1196 1196 Renderer.lineVector(new LineStyle(Color.black, 8));
Note:
See TracChangeset
for help on using the changeset viewer.