Changeset 35707 in osm
- Timestamp:
- 2021-02-10T16:34:47+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/render/Rules.java
r35693 r35707 287 287 if (testObject(Obj.LOKBSN)) for (Feature f : objects) if (testFeature(f)) areas(); 288 288 if (testObject(Obj.LKBSPT)) for (Feature f : objects) if (testFeature(f)) areas(); 289 if (testObject(Obj.COALNE)) for (Feature f : objects) if (testFeature(f)) areas(); 289 290 if (testObject(Obj.LAKARE)) for (Feature f : objects) if (testFeature(f)) areas(); 290 291 if (testObject(Obj.RIVERS)) for (Feature f : objects) if (testFeature(f)) waterways(); 291 292 if (testObject(Obj.CANALS)) for (Feature f : objects) if (testFeature(f)) waterways(); 292 293 if (testObject(Obj.DEPARE)) for (Feature f : objects) if (testFeature(f)) areas(); 293 if (testObject(Obj.COALNE)) for (Feature f : objects) if (testFeature(f)) areas();294 294 if (testObject(Obj.ROADWY)) for (Feature f : objects) if (testFeature(f)) highways(); 295 295 if (testObject(Obj.RAILWY)) for (Feature f : objects) if (testFeature(f)) highways(); … … 418 418 } 419 419 break; 420 case CANALS: 420 421 case LAKARE: 422 case RIVERS: 421 423 if ((Renderer.zoom >= 12) || (feature.geom.area > 10.0)) 422 Renderer.lineVector(new LineStyle(Symbols.Bwater ));424 Renderer.lineVector(new LineStyle(Symbols.Bwater, 11, Symbols.Bwater)); 423 425 break; 424 426 case DRGARE: … … 703 705 704 706 private static void cables() { 705 if (( Renderer.zoom >= 16) && (feature.geom.length < 20)) {707 if (((Renderer.zoom >= 14) && (feature.geom.length > 2) && (feature.geom.length < 20)) || ((Renderer.zoom >= 16) && (feature.geom.length <= 2))) { 706 708 if (feature.type == Obj.CBLSUB) { 707 709 Renderer.lineSymbols(Areas.Cable, 0.0, null, null, 0, Symbols.Mline); … … 1300 1302 1301 1303 private static void pipelines() { 1302 if (( Renderer.zoom >= 16) && (feature.geom.length < 20)) {1304 if (((Renderer.zoom >= 14) && (feature.geom.length > 2) && (feature.geom.length < 20)) || ((Renderer.zoom >= 16) && (feature.geom.length <= 2))) { 1303 1305 if (feature.type == Obj.PIPSOL) { 1304 1306 switch ((CatPIP) getAttEnum(feature.type, Att.CATPIP)) {
Note:
See TracChangeset
for help on using the changeset viewer.