Ignore:
Timestamp:
2017-09-22T22:25:11+02:00 (7 years ago)
Author:
donvip
Message:

Edigeo: improve support of NF Z 52-000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/EdigeoFileTHF.java

    r33653 r33655  
    5353        /** LOC */ int nLots;
    5454        /** VOC */ int nVolumes;
    55         /**     */ final List<String> volumeLabels = new ArrayList<>(); // TODO
     55        /** VOL */ final List<String> volumeLabels = new ArrayList<>();
    5656        /** SEC */ SecurityClassification security;
    5757        /** RDI */ String diffusionRestriction = "";
     
    7474            case "LOC": nLots = safeGetInt(r); break;
    7575            case "VOC": nVolumes = safeGetInt(r); break;
     76            case "VOL": safeGet(r, volumeLabels); break;
    7677            case "SEC": security = SecurityClassification.of(safeGetInt(r)); break;
    7778            case "RDI": safeGetAndLog(r, s -> diffusionRestriction += s, tr("Diffusion restriction")); break;
     
    123124        public final int getnVolumes() {
    124125            return nVolumes;
     126        }
     127
     128        /**
     129         * Returns volume labels.
     130         * @return volume labels
     131         */
     132        public final List<String> getVolumeLabels() {
     133            return Collections.unmodifiableList(volumeLabels);
    125134        }
    126135
Note: See TracChangeset for help on using the changeset viewer.