Christophe Rousson ha scritto:
> Hi list,
> 
> sorry to insist on asking about this problem. but I am missing a simple 
> way to serialize FeatureType.

The xml road is not too easy... there is code for going that way, 
because GeoServer generates xml schemas out of feature types, and the
wfs datastore reads them back into feature types, but getting an example
out of the code would take quite some time.

On the contrary, apparently the PropertyDataStore is able to store its
definitions in a simple one line format and parse them back, so for the
time being I suggest you isolate the FEatureType persistence issue in
a reader/writer method/class/whatever using the same code as the 
PropertyDataStore.

Would that work for you?
Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to