Both excellent ideas, Jukka. I've thought about both of these myself as 
well...

I think a nice way to provide #1 would be to enhance the HTML View in 
the Feature Info window to compute and display the area and length for 
each feature which is displayed.  This should be an easy enhancement to 
make.  Would this meet your need?

Larry's point about the Tooltips may also meet #1 (although is the 
tooltip always guaranteed to provide this information?  In some cases 
they may be customized to show something different, right? ).  Anyway, 
doesn't hurt to have this information provided in more than one place.

As for #2, I think this is also a very good idea.  We could perhaps use 
the old MS Access UI as an inspiration.  In it you could display a table 
in either a grid view (like JUMP does now) or in a "Sheet" view, which 
displayed one record at a time with the fields laid out vertically.  A 
navigation control was provided to move between records.  This seems 
like it would be a nifty thing to have available, in both the Attribute 
View window and the Feature Info window.  It shouldn't be *too* hard to 
do - you would have to autogenerate a Swing layout for the fields, but 
Jon's nifty dialog generation API shows how to do that pretty easily.
I think the actual geometry should probably not be displayed as part of 
the fields, but the usual View/Edit button can be provided on the panel. 
Area & Length could be shown too, as non-editable fields.
Perhaps some other geometry metadata would be useful as well, such as 
number of vertices, number of components, number of holes, etc.  (the 
same info as shown in the Feature Stats layer)

Larry, I don't see the layout of large numbers of fields as a problem.  
The panel can simply be allowed to scroll.

-- 
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to