Comments (3)
Can anyone weigh in on my approach to this? If the annotators get generalized, the direction of my approach may change completely.
from earthsim.
This will require some consideration, particularly considering potential refactors/changes to the Annotators
. The main obstacle here and elsewhere will be whether we can find a nice mechanism to share datasources between the polygon datastructure and the annotated values. Currently the main complexity in the PolyAnnotator
, which is not shared by the PointAnnotator
is that we have to manually sync the labels and the polygon/polyline data with the associated labels, while the point data can simply share the same underlying data source.
This is because the mechanism used by HoloViews to share datasources is to check whether the .data
attribute on the elements has the same identity, which is no problem for Points
and Table
but is currently not entirely straightforward for Polygons
/Path
elements and a Table
.
Once we have solved that problem we should fairly easily be able to display the full set of lat/lons or add some additional column that describes the lats/lons for each polygon/line.
from earthsim.
... this is because the mechanism used by HoloViews to share datasources is to check whether the .data attribute on the elements has the same identity
This has generally worked better than I expected but maybe we should consider a way to extend this mechanism as required in HoloViews. The core of it is a boolean predicate to decide whether something 'is the same thing' or not.
from earthsim.
Related Issues (20)
- Specifying opts.defaults in Analyzing_Meshes HOT 2
- Linked objects (map+table) in panel HOT 13
- Missing import in __init__
- Dynamically adding to param.ObjectSelector after instantiation
- How to force Annotator poly_stream population HOT 4
- Branching and converging pipelines HOT 1
- Earthsim install directions need to be updated HOT 1
- GSSHA dependencies need to be removed HOT 2
- How to set width on panel tabs widget HOT 2
- Updating the annotator doesn't update poly_table and point_table HOT 1
- Bug in vertex promotion to node HOT 1
- Add narrative and explanation in Generating Meshes HOT 1
- Generalizing Annotators HOT 4
- Editable dataframes HOT 2
- Fix tool and annotator UI issues
- vectror plot and colorbar issue
- Migration summary HOT 4
- Editing large meshes
- Reading UGRID-compliant NetCDF files HOT 12
- Working environment to execute GrabCut with earthsim
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from earthsim.