Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] get currently selected features?

Hi Vince.

I guess I should clarify that comment then. The bug is that the getBounds will throw an exception if you don't request an geometry attribute to be loaded. Everything works as expected if you do request a geometry.

Jesse

On Apr 16, 2007, at 10:36 AM, Vince Darley wrote:

Hi Jesse,

I did indeed read those comments, but was rather but off by "this is a bug that still needs to be fixed", which seems quite different to what you are suggesting. ANyway, I'll test it out then.

regards,

Vince.

At 18:17 16/04/2007, you wrote:
Hi Vince,

You have to look at the comment before that about the query that is
used.  There is a comment that discusses what a query is.  In the
example the second parameter is new String[0], which indicates that
no attributes will be loaded.  You can remove that parameter and all
attributes will be loaded (this will be slower of course).  Or you
can do an array of the names of all the attributes you want to load.

Jesse

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top