Commit f418f1f1 authored by Bensmann, Felix's avatar Bensmann, Felix

Fixed bug in fake coordinates loader

parent 2ef83a45
......@@ -41,13 +41,14 @@ public class FakeCoordinateProvider {
for (String[] entry : list) {
String epsg = entry[IDX_EPSG];
if (coordinateMap.containsKey(epsg)) {
if (!coordinateMap.containsKey(epsg)) {
coordinateMap.put(epsg, new ArrayList<>());
}
IndicatorQueryBody.Coordinate c = new IndicatorQueryBody.Coordinate();
c.id = -1;
c.x = entry[IDX_X];
c.y = entry[IDX_Y];
coordinateMap.get(epsg).add(c);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment