Revision 22033
branches/v2_0_0_prep/libraries/libFMap_dataFile/src/org/gvsig/fmap/data/datastores/vectorial/file/dxf/DXFResource.java | ||
---|---|---|
713 | 713 |
} |
714 | 714 |
|
715 | 715 |
defaultLegend = LegendFactory |
716 |
.createVectorialUniqueValueLegend(Geometry.TYPES.AGGREGATE);
|
|
716 |
.createVectorialUniqueValueLegend(Geometry.TYPES.GEOMETRY);
|
|
717 | 717 |
defaultLegend.setClassifyingFieldNames(new String[] {"Color"}); |
718 | 718 |
defaultLegend.setClassifyingFieldTypes(new String[]{FeatureAttributeDescriptor.TYPE_INT,FeatureAttributeDescriptor.TYPE_STRING,FeatureAttributeDescriptor.TYPE_STRING,FeatureAttributeDescriptor.TYPE_STRING,FeatureAttributeDescriptor.TYPE_INT,FeatureAttributeDescriptor.TYPE_DOUBLE,FeatureAttributeDescriptor.TYPE_DOUBLE}); |
719 | 719 |
|
720 | 720 |
Logger.getAnonymousLogger().info("DXFStore: should check if this is a text symbol"); |
721 | 721 |
ISymbol myDefaultSymbol = SymbologyFactory. |
722 |
createDefaultSymbolByShapeType(Geometry.TYPES.AGGREGATE, Color.BLACK);
|
|
722 |
createDefaultSymbolByShapeType(Geometry.TYPES.GEOMETRY, Color.BLACK);
|
|
723 | 723 |
|
724 | 724 |
defaultLegend.setDefaultSymbol(myDefaultSymbol); |
725 | 725 |
|
branches/v2_0_0_prep/libraries/libFMap_dataFile/src/org/gvsig/fmap/data/datastores/vectorial/file/dgn/DGNResource.java | ||
---|---|---|
598 | 598 |
cellFeature.stopLoading(); |
599 | 599 |
auxFeature.stopLoading(); |
600 | 600 |
complexFeature.stopLoading(); |
601 |
defaultLegend = LegendFactory.createVectorialUniqueValueLegend(Geometry.TYPES.AGGREGATE);
|
|
601 |
defaultLegend = LegendFactory.createVectorialUniqueValueLegend(Geometry.TYPES.GEOMETRY);
|
|
602 | 602 |
defaultLegend.setClassifyingFieldNames(new String[] {"Color"} ); |
603 | 603 |
defaultLegend.setClassifyingFieldTypes(new String[]{FeatureAttributeDescriptor.TYPE_INT,FeatureAttributeDescriptor.TYPE_STRING,FeatureAttributeDescriptor.TYPE_INT,FeatureAttributeDescriptor.TYPE_INT,FeatureAttributeDescriptor.TYPE_FLOAT,FeatureAttributeDescriptor.TYPE_DOUBLE,FeatureAttributeDescriptor.TYPE_STRING}); |
604 | 604 |
|
605 | 605 |
|
606 | 606 |
ISymbol myDefaultSymbol = SymbologyFactory. |
607 |
createDefaultSymbolByShapeType(Geometry.TYPES.AGGREGATE);
|
|
607 |
createDefaultSymbolByShapeType(Geometry.TYPES.GEOMETRY);
|
|
608 | 608 |
|
609 | 609 |
defaultLegend.setDefaultSymbol(myDefaultSymbol); |
610 | 610 |
}catch (IsNotFeatureSettingException e) { |
Also available in: Unified diff