Andrea Aime ha scritto: > Oh hum... looks like a trunk only change to me? > Well, in the meantime I'll play with a type creation GUI :-p
Humm... tried to actually use the rest config instead but I'm getting stuck. So, I've added the necessary fields to AttributeTypeInfo and I was expecting to see them appear in the feature types xml descriptions. Unfortunately that's not happening. For feture types already configured, nothing changes, and for the new ones, there are no attributes at all in the output. For what I can see the issue is that the rest configuration is using FeatureTypeInfo.getAttributes(), that is, the stored ones, instead of calling to FeatureTypeInfo.attributes(). If I'm recalling things right the AttributeTypeInfo were used only to drive the schema overrides in terms of hiding/showing an attribute, so trying to use them to actually describe the attributes in the feature type is probably the wrong way to go? Or else, some rework is needed in all REST outputs/inputs to actually make them play the role of the attribute descriptors. Opinions? Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
