Justin Deoliveira ha scritto: > Hi all, > > I am emailing the list hoping to get some feedback for an idea that i > have. First a bit of context. I am working on the wfs xlink > implementation for OWS-5. One of the requirements is to be able to > "xlink" geometries. > > Now... i know the proper way to do this is with associations in the new > feature model. But for various reasons i am not using the full > capabilities of the new feature model. So i have restorted to using > "userData" on attributes for storing things like xlink and gml > identifiers. Which has worked pretty good so far. > > However... i am at a point where i need to create features that does not > have geometries. Actually, they have geometries, except the geometry has > to be "empty". I can not simply have a null object because i still need > the geometry userData for strogin things like crs, gml identifier, > etc... But i need to recognize it as a "null" or "empty" geometry.
What baout using the new feature model userdata instead? Anyways, yeah, userdata is available on Feature only so it annoying to store attributes related metadata there... The trouble about creating a new kind of geometry is that you would have to teach everything how to deal with it (renderer, datastores write wise...) Cheers Andrea ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
