Mauro Bartolomeoli ha scritto: > Developing a module for GeoServer I discovered the usage of Converters > to assign values given to a Feature setAttribute method the correct > binding class described in the associated FeatureType. Nevertheless I > didn't find any ConverterFactory for Geometry to Geometry conversion > (for example to convert a Point to a MultiPoint). > Am I right that no converter actually exists to handle this type of > conversions? > If anyone is interested I wrote one for my module and I could attach it > to a JIRA for inclusion among the standard converters.
Sound like a very good idea, one common issue we have is that data has a mix of geometry types that only more or less conform to the feature type expectations (as in your example, mixes of simple and multiple geometries when the metadata say the type is multiple ones). Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
