Larry,

One thing to note on the hierarchical feature model, I'm mainly using it for some file based formats thats support it. When using a database typically I'd design a flatter model and use the concepts of code tables. for shared nested attributes.

For a hierarchical database model (where you implement it using relationships to other tables) you could have a related table data loader to get the information to display in a hierarchical fashion.

Paul

Larry Becker wrote:
Hi Paul,

  Sounds like a pretty cool idea.  I agree with Martin that a
hierarchical feature model would be difficult.  I'm not aware of
anything already developed like you are referring to.

  Talking about databases, I'm thinking of loading all of the
in-memory attribute stuff into an embedded Java database like Derby or
H2.  This would probably make a lot of things easier, like lookup
tables.  I'm not sure how R1's group plans to use H2, but I noticed
that some uDig people were also interested in it.

regards,
Larry

On 6/1/07, Martin Davis <[EMAIL PROTECTED]> wrote:
Is your use case only for a property which contains a single Feature?
The general case would be to have a property which contains a
FeatureCollection (this is the full GML model, for instance).  In this
case the UI gets a bit more complicated.

How are you creating the Feature property?  Do you need to spatially
visualize it?

I'm asking these questions because while your use case may simply be to
view a single Feature property, it's nice to look a bit further down the
road at a more general design, in order to avoid making the
implementation overly specific and hard to extend.

In general supporting a hierarchical feature model introduces tons of
issues all through JUMP... which is why we didn't go there at first.
The closest we got was to support a custom object hierarchy and expose
different classes of it as separate FeatureCollections.  This allowed
treating the various classes as map layers, which worked pretty well.
But this was all custom code and hard to make general-purpose.

As for the code-value entry plugin, the general concept would clearly be
nice to have.  Would your entry screen only support that single
attribute, or would you make a general entry panel which showed all
attributes?  This was talked about a week or two ago - it would be nice
to have this as another view in the Attribute View window.  How would
you supply the code-value mapping?

Paul Austin wrote:
I have a data set where a property of a feature is another feature
object. In the schema it has the type Object but it's actually a
Feature instance.What I would like to do is have the following.

   1. A right click on the feature row to view the whole feature and
      have a view/edit feature frame that would display the list of
      property names and values with nested panels for each nested
      feature.
   2. Use the feature display panel to display the feature on say roll
      over of a complex property value

Has anyone worked on such a feature? If not I'll start writing one.

Also I was thinking that in databases you have the concept of code
lookup tables, I was thinking of a plugi-in that you can configure to
display the code value instead of the code ID and have a drop down for
changing the values instead of entering the codes.

Paul
------------------------------------------------------------------------

-------------------------------------------------------------------------
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

--
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



-------------------------------------------------------------------------
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