[udig-devel] How to programmatically add a new layer displaying what's inside a FeatureCollection ?

Jody Garnett jgarnett at refractions.net
Tue Jan 8 15:26:18 PST 2008


Benjamin CABÉ wrote:
> Well, as you might have noticed, I'm absolutely not a uDig (nor 
> Geotools) expert. I think I just need some hints to know how to obtain 
> an IGeoResource from a FeatureCollection ...!
Just a quick answer from me today ... IGeoResource represents your 
content (ie the query); the FeaureSource is the API used by the renderer 
to ask for a feature collection for rendering. Have a look in the 
tutorials folder for an example based on a property file.

> On the other hand, I'm not that bad in Eclipse based development, and 
> I hope I'll be able to contribute a solution to be able to display 
> Maps in an Eclipse view instead of being stuck with a MapEditor when 
> you only need (and want) to _display_ maps :-)
Cool.
Jody


More information about the udig-devel mailing list