Hi,
Is there a way to put multiple FeatureTypes in the same layer in UDig?
We’ve been trying to cut back on the number of layers we produce in
UDig when putting Features on maps, as we have performance issues that
seem to be related to the number of layers we have rather than the
number of features. After digging around in the code and google for
some time I do not believe this is possible, but I wanted to be sure.
The way I understand things, each IGeoResource can only have a single
FeatureType and FeatureSource. LayerImpl, contains a list of
IGeoResources, which would lead me to believe that you can put
multiple IGeoResources and therefore multiple FeatureTypes into a
single layer. However, almost all the code in LayerImpl I see simply
uses the first IGeoResource found in the list (getBounds(),
getCrsInternal(), and getSchema() to name a few). Also, the
LayerFactoryImpl does not contain any methods for creating layers with
multiple IGeoResources. Why then does the LayerImpl contain a list of
IGeoResources rather than just a single IGeoResource member variable?
Thanks,
Joe
------------------------------------------------------------------------
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel