Fix issues with unwrapping longitudes in RangeXY stream #950
Annotations
2 errors
Test Examples:
examples\user_guide\Geometries.ipynb#L1
examples\user_guide\Geometries.ipynb::Cell 5
Notebook cell execution failed
Cell 5: Cell execution caused an exception
Input:
gv.operation.resample_geometry(gf.coastline.geoms('10m')).opts(width=400, height=400, color='black')
Traceback:
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
Cell In[1], line 1
----> 1 gv.operation.resample_geometry(gf.coastline.geoms('10m')).opts(width=400, height=400, color='black')
File D:\a\geoviews\geoviews\geoviews\element\geo.py:219, in Feature.geoms(self, scale, bounds, as_element)
217 else:
218 extent = None
--> 219 geoms = [g for g in feature.intersecting_geometries(extent) if g is not None]
220 if not as_element:
221 return geoms
File D:\a\geoviews\geoviews\.pixi\envs\test-312\Lib\site-packages\cartopy\feature\__init__.py:309, in NaturalEarthFeature.intersecting_geometries(self, extent)
302 """
303 Returns an iterator of shapely geometries that intersect with
304 the given extent.
305 The extent is assumed to be in the CRS of the feature.
306 If extent is None, the method returns all geometries for this dataset.
307 """
308 self.scaler.scale_from_extent(extent)
--> 309 return super().intersecting_geometries(extent)
File D:\a\geoviews\geoviews\.pixi\envs\test-312\Lib\site-packages\cartopy\feature\__init__.py:115, in Feature.intersecting_geometries(self, extent)
112 return (geom for geom in self.geometries() if
113 geom is not None and extent_geom.intersects(geom))
114 else:
--> 115 return self.geometries()
File D:\a\geoviews\geoviews\.pixi\envs\test-312\Lib\site-packages\cartopy\feature\__init__.py:291, in NaturalEarthFeature.geometries(self)
289 key = (self.name, self.category, self.scale)
290 if key not in _NATURAL_EARTH_GEOM_CACHE:
--> 291 path = shapereader.natural_earth(resolution=self.scale,
292
|
Test Examples
Process completed with exit code 1.
|
Loading