Changeset 35772 in osm for applications/editors/josm
- Timestamp:
- 2021-06-26T12:07:47+02:00 (3 years ago)
- Location:
- applications/editors/josm/plugins/seachart/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/render/Rules.java
r35707 r35772 1302 1302 1303 1303 private static void pipelines() { 1304 if (( (Renderer.zoom >= 14) && (feature.geom.length > 2) && (feature.geom.length < 20)) || ((Renderer.zoom >= 16) && (feature.geom.length <= 2))) {1304 if ((Renderer.zoom >= 14) && (feature.geom.length < 20)) { 1305 1305 if (feature.type == Obj.PIPSOL) { 1306 1306 switch ((CatPIP) getAttEnum(feature.type, Att.CATPIP)) { -
applications/editors/josm/plugins/seachart/src/s57/S57val.java
r35388 r35772 373 373 } 374 374 375 public enum CatMOR { MOR_UNKN, MOR_DLPN, MOR_DDPN, MOR_BLRD, MOR_WALL, MOR_PILE, MOR_CHAN, MOR_BUOY, MOR_SHRP, MOR_AUTO, MOR_POST, MOR_WIRE, MOR_CABL }375 public enum CatMOR { MOR_UNKN, MOR_DLPN, MOR_DDPN, MOR_BLRD, MOR_WALL, MOR_PILE, MOR_CHAN, MOR_BUOY, MOR_SHRP, MOR_AUTO, MOR_POST, MOR_WIRE, MOR_CABL, MOR_TROT } 376 376 377 377 private static final EnumMap<CatMOR, S57enum> Catmor = new EnumMap<>(CatMOR.class); static { … … 381 381 Catmor.put(CatMOR.MOR_BUOY, new S57enum(7, "buoy")); Catmor.put(CatMOR.MOR_SHRP, new S57enum(8, "shore_ropes")); Catmor.put(CatMOR.MOR_AUTO, new S57enum(9, "automatic")); 382 382 Catmor.put(CatMOR.MOR_POST, new S57enum(10, "post")); Catmor.put(CatMOR.MOR_WIRE, new S57enum(11, "wire")); Catmor.put(CatMOR.MOR_CABL, new S57enum(12, "cable")); 383 Catmor.put(CatMOR.MOR_TROT, new S57enum(12, "trot")); 383 384 } 384 385
Note:
See TracChangeset
for help on using the changeset viewer.