holoviz-topics / EarthSim

Tools for working with and visualizing environmental simulations.
https://earthsim.holoviz.org
BSD 3-Clause "New" or "Revised" License
65 stars 21 forks source link

Differing projection in annotator input #247

Closed kcpevey closed 5 years ago

kcpevey commented 5 years ago

Now that elements can be added as input to annotators, I would expect that each element could have its own projection. For example, I have a reservoir_df that is in UTM and a dam_df data frame that is in Plate Carree. I could feed these as data frames directly into the annotator, but to define the distinct projections, I converted them to gv objects each with their own projection. However, when I feed these into PolyAndPointAnnotator it doesn't honor them. If I give the annotator a crs, I think it overrules everything. If I don't give a crs and just give the gv objects (one as polys and one as points) it takes the first one and assumes the second is the same. Shouldn't it just honor the projection of the element?

kcpevey commented 5 years ago

Closing.