Mercurial > dive4elements > river
changeset 4849:f86c8d75fd85
ATExporter: Use RangeAccess.getLocations instead of FLYSUtils.getLocations.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 23 Jan 2013 10:43:27 +0100 (2013-01-23) |
parents | 7887112c37cc |
children | c9a27912840d |
files | flys-artifacts/src/main/java/de/intevation/flys/exports/ATExporter.java |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ATExporter.java Wed Jan 23 10:42:50 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ATExporter.java Wed Jan 23 10:43:27 2013 +0100 @@ -20,7 +20,7 @@ import de.intevation.flys.collections.FLYSArtifactCollection; import de.intevation.flys.utils.FLYSUtils; - +import de.intevation.flys.artifacts.access.RangeAccess; public class ATExporter implements OutGenerator @@ -84,7 +84,8 @@ } String river = FLYSUtils.getRiver(master).getName(); - double[] kms = FLYSUtils.getLocations(master); + RangeAccess rangeAccess = new RangeAccess(master, context); + double[] kms = rangeAccess.getLocations(); at.write( new OutputStreamWriter(out, DEFAULT_ENCODING),