Ignore:
Timestamp:
2013-03-18T21:58:17+01:00 (13 years ago)
Author:
zverik
Message:

some updates to iodb plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/IODBReader.java

    r27986 r29371  
    5959                if( qName.equals("object") ) {
    6060                    fields.isNode = attributes.getValue("type").equals("node");
     61                } else if( qName.equals("last-user") ) {
     62                    fields.lastUserId = Integer.parseInt(attributes.getValue("id"));
    6163                } else if( qName.equals("imagery-position") ) {
    6264                    fields.imageryPos = parseLatLon(attributes);
     
    102104                } else if( qName.equals("object") ) {
    103105                    fields.objectId = Integer.parseInt(accumulator.toString());
    104                 } else if( qName.equals("last-user") ) {
    105                     fields.lastUserId = Integer.parseInt(accumulator.toString());
    106106                } else if( qName.equals("offset") || qName.equals("calibration-object") ) {
    107107                    // store offset
Note: See TracChangeset for help on using the changeset viewer.