Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java @ 1707:3bf464ec436f
Added a further attribute to the feature type description for barriers.
flys-artifacts/trunk@2953 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 12 Oct 2011 16:52:43 +0000 |
parents | aaf8d32f85bd |
children | 93fe7debd687 |
comparison
equal
deleted
inserted
replaced
1706:f7813b0c68ff | 1707:3bf464ec436f |
---|---|
378 protected SimpleFeatureType getBarriersFeatureType( | 378 protected SimpleFeatureType getBarriersFeatureType( |
379 String name, | 379 String name, |
380 String srs, | 380 String srs, |
381 Class type | 381 Class type |
382 ) { | 382 ) { |
383 Object[][] attrs = new Object[2][]; | 383 Object[][] attrs = new Object[3][]; |
384 attrs[0] = new Object[] { "typ", String.class }; | 384 attrs[0] = new Object[] { "typ", String.class }; |
385 attrs[1] = new Object[] { "elevation", Double.class }; | 385 attrs[1] = new Object[] { "elevation", Double.class }; |
386 attrs[2] = new Object[] { "mark.selected", Integer.class }; | |
386 | 387 |
387 return GeometryUtils.buildFeatureType(name, srs, type, attrs); | 388 return GeometryUtils.buildFeatureType(name, srs, type, attrs); |
388 } | 389 } |
389 | 390 |
390 | 391 |