Questions tagged [geoviews]

GeoViews is a Python library that makes it easy to explore and visualize geographical, meteorological, and oceanographic datasets, such as those used in weather, climate, and remote sensing research.

  • GeoViews is built on the HoloViews library for building flexible visualizations of multidimensional data. GeoViews adds a family of geographic plot types based on the Cartopy library, plotted using either the Matplotlib or Bokeh packages. With GeoViews, you can now work easily and naturally with large, multidimensional geographic datasets, instantly visualizing any subset or combination of them, while always being able to access the raw data underlying any plot.
  • See the geoviews project page for installation instructions.
76 questions
0
votes
1 answer

Plotting from array to geoviews/holoviews. Converting to xarray needed?

First of all, if anyone has a link to a good tutorial to creating colomaps with geoviews or holoviews and transporting that to a dashbooard please send a link. I am trying to mimick what they did at the timestamp in the video here . Also having a…
Nwpulver
  • 45
  • 5
0
votes
1 answer

geoviews/geopandas/shapely problem displaying polygons from a shapefile

I am trying to overlay a shapefile representing the range of Coast Redwoods onto some other data I'm processing in geoviews. I can successfully plot the data using cartopy and matplotlib. GeoPandas reads the shapefile, but passing the GeoDataFrame…
0
votes
1 answer

GeoViews saving inline HTML file is very large

I have created geo-dataframe using a combination of geopandas and geoviews. Libraries I'm using are below: import pandas as pd import numpy as np import geopandas as gpd import holoviews as hv import geoviews as gv import matplotlib.pyplot as…
Amen_90
  • 310
  • 2
  • 9
0
votes
1 answer

gv.Polygons DataError When Using OSGB Projection

I have 2 shapefiles for the UK: In [3]: # SHAPEFILE 1: ...: # WESTMINISTER PARLIAMENTARY CONSTITUENCY UK SHAPEFILE ...: shapefile1 = "../Westminster_Parliamentary_Constituencies_De ...:…
mmTmmR
  • 573
  • 2
  • 8
  • 20
0
votes
0 answers

How can I have the plottetd points stay the same size when zooming in with holoviews?

I am plotting points on a map with holoviews in python and I want to have the plotted points stay the same size even if I zoom in. I am using the bokeh extension. I have found this post solving the problem for bokeh, here is a link. But I have not…
sehan2
  • 1,700
  • 1
  • 10
  • 23
0
votes
2 answers

Plotting Xarray images with Geoviews on a Google Colaboratory Notebook

I'm trying to reproduce the code from this link on Google Colaboratory but my Colab Notebook crashes for reasons I don't understand. Is it possible to get this to work properly?
0
votes
0 answers

Geoviews polygons/multipolygon plotting

I'm having a bit of trouble plotting polygon/multipolygon data with Geoviews. I have made a geodataframe that combines my two datasets together nicely. I am able to plot the data easily using the plot function: See below: import geopandas as…
Amen_90
  • 310
  • 2
  • 9
0
votes
1 answer

Geoviews - Plot heat map using tabular data

I have point data in the following tabular format (3 columns, any number of rows): | Latitude | Longitude | Temperature | How can I interpolate values to get a heat map like this: Instead of point data like this:
CodeWarrior
  • 1,239
  • 1
  • 14
  • 19
0
votes
1 answer

Colormap and colorbar not showing correct in Trimesh geoview

I have unstructured data , i'm using trimesh and try to plot it in geoview python atmost its done only the colorbar and colormap is not working. please help me in doing this . Data views x[:10] array([84.0023 , 84.08752 , 83.91598 , 83.93291 ,…
MSA msa
  • 83
  • 1
  • 10
0
votes
1 answer

Geoviews Dataset class taking too much time for medium size xarray grid

I'm trying to plot an xarray grid using the Geoviews Dataset class. The data has shape: (12,1300,1936) with coordinates (months,Longitude, Latitude). The instantiation takes way too much time (almost 7 hours in an i5 32GB Ram computer). Ploting a…
Juan
  • 1,022
  • 9
  • 16
0
votes
2 answers

how can i change the size of points in my map in holoviews?

here is my code: import holoviews as hv import datashader as ds import dask.dataframe as dd import geoviews as gv from cartopy import crs from holoviews.operation.datashader import datashade hv.extension('bokeh', width=95) %opts RGB …
BozhiWang
  • 103
  • 3
  • 7
0
votes
1 answer

Datashader has snappy error

I was using python's datashader 0.5.0 package to plot population density information, generally following the tutorial https://www.continuum.io/blog/developer-blog/analyzing-and-visualizing-big-data-interactively-your-laptop-datashading-2010-us . I…
Docuemada
  • 1,703
  • 2
  • 25
  • 44
0
votes
1 answer

holoviews/geoviews Image range as logarithmic

I have the following line: (dataset.redim(WD_spec001=dict(range=(0, 30000))).to(gv.Image, ['longitude', 'latitude'], ['time']) * gf.coastline()) but really, the range and color scale should be logarithmic. In matplotlib I've been accomplishing by…
John
  • 1,263
  • 2
  • 15
  • 26
0
votes
0 answers

Slider labels do not correspond to the title

I have this xarray dataset defined as ds: Dimensions: (bnds: 2, lag: 61, plev: 63) Coordinates: * plev (plev) float64 1e+03 925.0 850.0 800.0 780.0 750.0 700.0 ... * lag (lag) int64 -30 -29 -28 -27 -26 -25 -24…
Ales
  • 495
  • 3
  • 11
-1
votes
1 answer

Accessing the underlying tile image in holoviews

Is it possible to access the underlying image from hv.element.tiles.EsriImagery()? I would like to access the tile image and run an object detection model on it. When I try accessing the .data property, I see the template url…
SultanOrazbayev
  • 14,900
  • 3
  • 16
  • 46