I've got a *.foo file type containing multiple layers. I've created a 
FooService which resolves to a list of FooGeoResources. The order of this list 
matters, since I want these layers to be rendered correctly from back to front.

Using the Add Layer dialog, I select myFile.foo and get to the Resource 
Selection page. I select all my resources, only to see them rendered in what 
appears to be random order.

Stepping through this workflow in the debugger, I have the impression that 
somewhere in net.refractions.udig.catalog.internal.ui.ResourceSelectionPage, 
the resource list gets stuffed into a HashMap, which messes up the order. 

Is there a way to enforce the correct ordering?

As a workaround, I implemented a custom command and handler which directly 
create a new map from a *.foo file and insert the layers in the required order, 
but it would be nice anyway if the resource selection did not change the 
resource order. Or would that break something else?

Regards,

Harald 
 
*******************************************
innovative systems GmbH Navigation-Multimedia
Geschaeftsfuehrung: Edwin Summers - Kevin Brown - Regis Baudot 
Sitz der Gesellschaft: Hamburg - Registergericht: Hamburg HRB 59980 
 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe 
dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to