comparison gnv-artifacts/ChangeLog @ 724:9ba6bb85d6dd

Integrate lookup for MapFileTemplate for the different Layer. gnv-artifacts/trunk@754 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 09 Mar 2010 12:54:05 +0000
parents 199982e8866e
children dde7f51dbe1e
comparison
equal deleted inserted replaced
723:199982e8866e 724:9ba6bb85d6dd
1 2010-03-09 Tim Englich <tim.englich@intevation.de>
2
3 * doc/conf/queries.properties:
4 Modified the Query for the lookup of the Tablename and the Whereclaus to
5 a choosen Layer. Now also the Templateid containing the Mapservice-ID and
6 the Layer-Id was added to the Query.
7
8 * src/main/java/de/intevation/gnv/utils/MapfileGenerator.java (templateExists):
9 Add a method which will return if a given Template exists.
10 this could be used for determining if a specialized Template for a Layer
11 is given or the Default one should be used.
12
13 * src/main/java/de/intevation/gnv/state/layer/LayerOutputState.java (getWMS):
14 Integrate lookup for MapFileTemplate for the different Layer.
15 If a special Template should be used it must be storde according to the
16 following Syntax in the Folder which contain all other Mapfile-Templates.
17
18 layer_{ID_MAPSERVICE}_${ID_LAYER} e.g. layer_BSH_IMS_CONTIS_Resources_2
19
20 If there is no Template matching the given Name the Defaulttemplates
21 layer_point,
22 layer_polygon or
23 layer_linestring
24 will be used.
25
1 2010-03-09 Tim Englich <tim.englich@intevation.de> 26 2010-03-09 Tim Englich <tim.englich@intevation.de>
2 27
3 * src/main/java/de/intevation/gnv/state/layer/LayerOutputState.java (out): 28 * src/main/java/de/intevation/gnv/state/layer/LayerOutputState.java (out):
4 Integrated ExceptionHandling if no Data was found for the given Layer. 29 Integrated ExceptionHandling if no Data was found for the given Layer.
5 If no data couuld be retrieved from the Database an XMl-Exceptionreport 30 If no data couuld be retrieved from the Database an XMl-Exceptionreport

http://dive4elements.wald.intevation.org