Closed kcpevey closed 5 years ago
This is happening even when I explicitly reinstantiate the dframe as a gv.Path
.
gvpath = gv.Path([grabcuts.result.dframe()], kdims=['Longitude', 'Latitude'], crs=ccrs.PlateCarree())
ann = PolyAndPointAnnotator(path_type=gv.Path, extent=(np.NaN,)*4,
tile_url='https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{Z}/{Y}/{X}',
crs=proj_param.get_crs(), points=[],
polys=gvpath, poly_columns=['type'])
I'm thinking this might be a bug.
@philippjfr Can you weigh in on this?
Looking at this tonight.
Once again I can't reproduce this, although I can't fully reproduce your example since I do not know what proj_param.get_crs()
is, so what I tried was:
ann = PolyAndPointAnnotator(path_type=gv.Path,
tile_url='https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{Z}/{Y}/{X}',
crs=dashboard.result.crs, points=[],
polys=dashboard.result, poly_columns=['type'])
(ann.tiles * ann.polys * ann.points + ann.poly_table).cols(1)
For reference here are my versions:
GeoViews: '1.5.4a8.post2+g400b850' HoloViews: ''1.11.0a5.post12'
Looks great. I had the same hv but my gv was very slightly behind yours. Everything works now!
I'm trying to use the
grabcut.result
to feed into a new annotator for additional editing and attributing. Instantiating the annotator doesn't throw an error, but if I try to visualizepoly_table
I'm getting an error.This is using https://github.com/pyviz/EarthSim/pull/186
@jlstevens @philippjfr - Any ideas on what's going on here?