Permalink
Browse files

set resource title

  • Loading branch information...
1 parent 4cb81d2 commit ae386930a19b9fe1d5e1cdccecd5dbc9596912db @rmarianski rmarianski committed Oct 25, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 importer/src/main/java/org/opengeo/data/importer/format/KMLFileFormat.java
@@ -252,6 +252,7 @@ public SimpleFeatureType convertParsedFeatureType(SimpleFeatureType ft, String n
ftinfo.setEnabled(true);
ftinfo.setNativeName(name);
ftinfo.setName(name);
+ ftinfo.setTitle(name);
ftinfo.setNamespace(catalog.getDefaultNamespace());
List<AttributeTypeInfo> attributes = ftinfo.getAttributes();
for (AttributeDescriptor ad : featureType.getAttributeDescriptors()) {

0 comments on commit ae38693

Please sign in to comment.