Combination View Flat View Tree View
Threads [ Previous | Next ]
RE: Vector Data Node and ROIs
toggle
Vector Data Node and ROIs
roi vectors
11/11/09 8:19 PM
The vector data node is looking very good. Has it settled now and we can begin using the API?

As far as the ROIs go, what plans do you have in the next couple of weeks?
Should the AbstractCreateFigureTool insert the figure into the products vectorData node?
Should the drawingEditor display all vectors in the product or should something be specifically be designated as an ROI?

Thanks
Luis
Flag Flag
RE: Vector Data Node and ROIs
11/20/09 8:32 AM as a reply to Luis Veci.
Luis Veci:
The vector data node is looking very good. Has it settled now and we can begin using the API?

Yes, but still you need to be aware of changes. The class org.esa.beam.framework.datamodel.VectorDataNode is currently used only as a data source for bitmasks derived from shapes (FeatureCollection). There is no other support, e.g. we still cannot read/write vector data or let the user add new vector datasets.

Luis Veci:
As far as the ROIs go, what plans do you have in the next couple of weeks?
Should the AbstractCreateFigureTool insert the figure into the products vectorData node?
Should the drawingEditor display all vectors in the product or should something be specifically be designated as an ROI?

We are focusing our work on shape creation, selection & editing. The existing Figure (beam-core) and Tool (beam-ui) APIs will completely revised or deprecated or even removed. The new idea is as as you guess: at the time a user creates a new shape, a vector data node is created which will serve as the data container for the shape and its attributes. While new vector data nodes are being created, corresponding shape bitmasks will be available on the fly. These can be used as ROI, same as for all other types of bitmasks (e.g. band math masks). The statistics dialog will then also work for multiple, user-selectable bitmasks (=ROIs).

Norman
Flag Flag

 

Welcome to the BEAM Forum!

We encourage you to sign in our forum and participate in the BEAM community. The forum is maintained by the BEAM project team who will most likely answer your questions within 24 hours (except during common holidays) - if not done by other community members. Collaborate, share your knowledge and learn from other users!

If you don't find what you are looking for, please also consider the following external forums: