comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/DistanceInfoService.java @ 8406:6ae0c5116d58

Distinguish between types of measurement stations and filter appropriately (plus minor cleanup in related classes).
author Tom Gottfried <tom@intevation.de>
date Tue, 14 Oct 2014 12:41:37 +0200
parents e4606eae8ea5
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8405:a779ee47aa79 8406:6ae0c5116d58
96 96
97 if (name != null) { 97 if (name != null) {
98 if ("locations".equals(name)) return FastAnnotations.IS_POINT; 98 if ("locations".equals(name)) return FastAnnotations.IS_POINT;
99 if ("distances".equals(name)) return FastAnnotations.IS_RANGE; 99 if ("distances".equals(name)) return FastAnnotations.IS_RANGE;
100 if ("measuringpoint".equals(name)) 100 if ("measuringpoint".equals(name))
101 return new FastAnnotations.NameFilter("Messstelle"); 101 return new FastAnnotations.NameFilter(".*[Mm]essstelle");
102 } 102 }
103 103
104 return FastAnnotations.ALL; 104 return FastAnnotations.ALL;
105 } 105 }
106 106

http://dive4elements.wald.intevation.org