59 |
import org.apache.log4j.Logger; |
import org.apache.log4j.Logger; |
60 |
import org.geotools.factory.GeoTools; |
import org.geotools.factory.GeoTools; |
61 |
import org.geotools.factory.Hints; |
import org.geotools.factory.Hints; |
|
import org.geotools.feature.AttributeType; |
|
62 |
import org.geotools.feature.IllegalAttributeException; |
import org.geotools.feature.IllegalAttributeException; |
63 |
import org.geotools.geometry.jts.LiteShape2; |
import org.geotools.geometry.jts.LiteShape2; |
64 |
import org.geotools.renderer.lite.StyledShapePainter; |
import org.geotools.renderer.lite.StyledShapePainter; |
75 |
import org.geotools.util.NumberRange; |
import org.geotools.util.NumberRange; |
76 |
import org.opengis.feature.simple.SimpleFeature; |
import org.opengis.feature.simple.SimpleFeature; |
77 |
import org.opengis.feature.simple.SimpleFeatureType; |
import org.opengis.feature.simple.SimpleFeatureType; |
78 |
|
import org.opengis.feature.type.AttributeDescriptor; |
79 |
|
|
80 |
import schmitzm.geotools.feature.FeatureUtil; |
import schmitzm.geotools.feature.FeatureUtil; |
81 |
|
|
94 |
* <li>07.02.2008:<br> |
* <li>07.02.2008:<br> |
95 |
* Determining the default values of a {@link SimpleFeatureType} by |
* Determining the default values of a {@link SimpleFeatureType} by |
96 |
* {@link FeatureUtil#getDefaultAttributeValues(SimpleFeatureType)} instead of using |
* {@link FeatureUtil#getDefaultAttributeValues(SimpleFeatureType)} instead of using |
97 |
* {@link AttributeType#createDefaultValue()} directly, because the latter |
* {@link AttributeDescriptor#createDefaultValue()} directly, because the latter |
98 |
* returns {@code null} even though the attribut is not nillable.</li> |
* returns {@code null} even though the attribut is not nillable.</li> |
99 |
* </ul> |
* </ul> |
100 |
* |
* |