comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java @ 459:9c2767fcb388

Added the possibility to enter a Polygon represented by an WKT into the Workflow of the HorizontalCrossSections gnv-artifacts/trunk@513 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 08 Jan 2010 10:01:35 +0000
parents 8975de9d7483
children 3ddc22aab764
comparison
equal deleted inserted replaced
458:92d6cf448598 459:9c2767fcb388
17 17
18 import au.com.bytecode.opencsv.CSVWriter; 18 import au.com.bytecode.opencsv.CSVWriter;
19 import de.intevation.gnv.chart.Chart; 19 import de.intevation.gnv.chart.Chart;
20 import de.intevation.gnv.chart.ChartLabels; 20 import de.intevation.gnv.chart.ChartLabels;
21 import de.intevation.gnv.geobackend.base.Result; 21 import de.intevation.gnv.geobackend.base.Result;
22 import de.intevation.gnv.state.InputData;
22 import de.intevation.gnv.state.exception.StateException; 23 import de.intevation.gnv.state.exception.StateException;
23 import de.intevation.gnv.state.timeseries.TimeSeriesOutputState; 24 import de.intevation.gnv.state.timeseries.TimeSeriesOutputState;
24 import de.intevation.gnv.statistics.Statistics; 25 import de.intevation.gnv.statistics.Statistics;
25 26
26 import de.intevation.artifacts.CallContext; 27 import de.intevation.artifacts.CallContext;
90 if (CACHE_CHART) { 91 if (CACHE_CHART) {
91 log.info("Put chart into cache."); 92 log.info("Put chart into cache.");
92 purifyChart(chart, uuid); 93 purifyChart(chart, uuid);
93 } 94 }
94 */ 95 */
96
97 InputData meshPolygon = inputData.get("mesh_polygon");
98 String meshPolygonWkt = null;
99 if (meshPolygon != null){
100 meshPolygonWkt = meshPolygon.getValue();
101
102 }
103 log.debug("Used Polygon: "+meshPolygonWkt);
95 104
96 return chart; 105 return chart;
97 } 106 }
98 107
99 108

http://dive4elements.wald.intevation.org