comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/YearChoice.java @ 9481:787fc085459b

TSV introduced; uinfo.inundationWMS-Config
author gernotbelger
date Wed, 12 Sep 2018 10:55:09 +0200
parents 1a4d2ce77423
children
comparison
equal deleted inserted replaced
9480:7228bd10a8cc 9481:787fc085459b
26 // in helper-klasse; dann hier label lazy loaden 26 // in helper-klasse; dann hier label lazy loaden
27 final LinkedHashMap<String, String> entries = new LinkedHashMap<>(); 27 final LinkedHashMap<String, String> entries = new LinkedHashMap<>();
28 if (artifact != null) {// necessary; otherwise crashes randomly when reloading old calculations 28 if (artifact != null) {// necessary; otherwise crashes randomly when reloading old calculations
29 final InundationDurationAccess access = new InundationDurationAccess((UINFOArtifact) artifact); 29 final InundationDurationAccess access = new InundationDurationAccess((UINFOArtifact) artifact);
30 30
31 final UedauernPropertiesHelper helper = UedauernPropertiesHelper.getInstance(access.getRiverName());
32 final LinkedHashMap<String, String> extras = helper.getExtraLayers(meta);
33 entries.put("state.uinfo.year", null); 31 entries.put("state.uinfo.year", null);
34 entries.putAll(extras); 32 entries.put("state.uinfo.epoch", null);
35 } 33 }
36 return entries; 34 return entries;
37 } 35 }
38 36
39 @Override 37 @Override

http://dive4elements.wald.intevation.org