Changeset 32992 in osm for applications/editors/josm/plugins/seachart/src/s57
- Timestamp:
- 2016-09-12T14:21:45+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/s57/S57att.java
r32907 r32992 616 616 } 617 617 618 public static Integer encodeAttribute(String attribute) { // Convert SCM attribute enumeration to S57 attribute code619 if (AttS57.containsKey(attribute))620 return AttS57.get(attribute);621 else if (AttIENC.containsKey(attribute))622 return AttIENC.get(attribute);623 return 0;624 }625 626 618 public static Integer encodeAttribute(Att attribute) { // Convert SCM attribute enumeration to S57 attribute code 627 619 return AttS57.get(attribute) != 0 ? AttS57.get(attribute) : AttIENC.get(attribute);
Note:
See TracChangeset
for help on using the changeset viewer.