Changeset 31737 in osm for applications/editors/josm/plugins/seachart/src/s57/S57enc.java
- Timestamp:
- 2015-11-09T15:16:40+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/s57/S57enc.java
r31735 r31737 255 255 ArrayList<ArrayList<Fparams>> objects = new ArrayList<ArrayList<Fparams>>(); 256 256 ArrayList<Long> slaves = new ArrayList<Long>(); 257 long slaveid = feature.id & 0x01ffffffffffffffl;257 long slaveid = feature.id + 0x0100000000000000l; 258 258 for (Entry<Obj, ObjTab> objs : feature.objs.entrySet()) { 259 259 Obj objobj = objs.getKey(); … … 267 267 Object[] attf = new Object[0]; 268 268 Object[] natf = new Object[0]; 269 for (Entry<Att, AttVal<?>> att : object.getValue().entrySet()) { 269 AttMap atts = map.new AttMap(); 270 atts.putAll(object.getValue()); 271 if (master) { 272 atts.putAll(feature.atts); 273 } 274 for (Entry<Att, AttVal<?>> att : atts.entrySet()) { 270 275 if (!((obj == Obj.SOUNDG) && (att.getKey() == Att.VALSOU))) { 271 276 long attl = S57att.encodeAttribute(att.getKey());
Note:
See TracChangeset
for help on using the changeset viewer.