comparison flys-artifacts/ChangeLog @ 1650:aaf8d32f85bd

Improved Facet creation for floodmaps - WSPLGEN and barriers Facets are only created if the calculation was successful. flys-artifacts/trunk@2837 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 27 Sep 2011 12:40:42 +0000
parents 74142aa5d938
children a7def20539fb
comparison
equal deleted inserted replaced
1649:74142aa5d938 1650:aaf8d32f85bd
1 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
2
3 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: New. Code
4 from FloodMapState moved to its own class with the intent, to use it in
5 classes different from FloodMapState.
6
7 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
8 Removed the inner class FacetCreator.
9
10 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
11 an instance of FacetCreator.
12 NOTE: Maybe we should move the WSPLGEN parameters into an own class
13 which might be serializable.
14
15 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use the
16 FacetCreator instance stored in the WSPLGENJob to create a new WSPLGEN
17 facet if the calculation was successfully (without errors). Finally, the
18 facets of FacetCreator are added to the Facet list of the FLYSArtifacts.
19
1 2011-09-27 Ingo Weinzierl <ingo@intevation.de> 20 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
2 21
3 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: 22 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
4 Put Artifact in background mode first before starting WSPLGEN, otherwise 23 Put Artifact in background mode first before starting WSPLGEN, otherwise
5 a very fast errors (call CallContext.afterBackground() before Artifact is 24 a very fast errors (call CallContext.afterBackground() before Artifact is

http://dive4elements.wald.intevation.org