comparison flys-artifacts/src/main/java/de/intevation/flys/wsplgen/FacetCreator.java @ 5379:61bf64b102bc mapgenfix

Merge with default branch
author Christian Lins <christian.lins@intevation.de>
date Fri, 22 Mar 2013 11:25:54 +0100
parents cc50e1b9fc60 ac2746f3e75f
children
comparison
equal deleted inserted replaced
5175:cfc5540a4eec 5379:61bf64b102bc
157 ComputeType.ADVANCE, 157 ComputeType.ADVANCE,
158 stateId, 158 stateId,
159 hash, 159 hash,
160 getUrl()); 160 getUrl());
161 161
162 barriers.addLayer( 162 barriers.addLayer(MapfileGenerator.MS_LAYER_PREFIX +
163 MapfileGenerator.MS_PREFIX_WSPLGEN + artifact.identifier()); 163 MapfileGenerator.MS_PREFIX_WSPLGEN + "lines" + artifact.identifier());
164 barriers.addLayer( MapfileGenerator.MS_LAYER_PREFIX +
165 MapfileGenerator.MS_PREFIX_WSPLGEN + "poly" + artifact.identifier());
164 barriers.setSrid(getSrid()); 166 barriers.setSrid(getSrid());
165 barriers.setExtent(getBounds()); 167 barriers.setExtent(getBounds());
166 168
167 tmpFacets.add(barriers); 169 tmpFacets.add(barriers);
168 } 170 }
169 171
170 172
171 public void createUserShapeFacet() { 173 public void createShapeFacet(
174 String desc,
175 String layer,
176 String type,
177 int ndx) {
172 WMSLayerFacet shape = new WMSLayerFacet( 178 WMSLayerFacet shape = new WMSLayerFacet(
173 1, 179 1,
174 FLOODMAP_USERSHAPE, 180 type,
175 Resources.getMsg( 181 Resources.getMsg(
176 cc.getMeta(), 182 cc.getMeta(),
177 I18N_USERSHAPE, 183 desc,
178 I18N_USERSHAPE_DEFAULT), 184 I18N_USERSHAPE_DEFAULT),
179 ComputeType.ADVANCE, 185 ComputeType.ADVANCE,
180 stateId, 186 stateId,
181 hash, 187 hash,
182 getUrl()); 188 getUrl());

http://dive4elements.wald.intevation.org