You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: geemap/common.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -9069,7 +9069,7 @@ def vector_to_geojson(
9069
9069
out_geojson (str, optional): The file path to the output GeoJSON. Defaults to None.
9070
9070
bbox (tuple | GeoDataFrame or GeoSeries | shapely Geometry, optional): Filter features by given bounding box, GeoSeries, GeoDataFrame or a shapely geometry. CRS mis-matches are resolved if given a GeoSeries or GeoDataFrame. Cannot be used with mask. Defaults to None.
9071
9071
mask (dict | GeoDataFrame or GeoSeries | shapely Geometry, optional): Filter for features that intersect with the given dict-like geojson geometry, GeoSeries, GeoDataFrame or shapely geometry. CRS mis-matches are resolved if given a GeoSeries or GeoDataFrame. Cannot be used with bbox. Defaults to None.
9072
-
rows (int or slice, optional): Load in specific rows by passing an integer (first n rows) or a slice() object.. Defaults to None.
9072
+
rows (int or slice, optional): Load in specific rows by passing an integer (first n rows) or a slice() object. Defaults to None.
9073
9073
epsg (str, optional): The EPSG number to convert to. Defaults to "4326".
9074
9074
9075
9075
Raises:
@@ -9120,7 +9120,7 @@ def vector_to_ee(
9120
9120
filename (str): Either the absolute or relative path to the file or URL to be opened, or any object with a read() method (such as an open file or StringIO).
9121
9121
bbox (tuple | GeoDataFrame or GeoSeries | shapely Geometry, optional): Filter features by given bounding box, GeoSeries, GeoDataFrame or a shapely geometry. CRS mis-matches are resolved if given a GeoSeries or GeoDataFrame. Cannot be used with mask. Defaults to None.
9122
9122
mask (dict | GeoDataFrame or GeoSeries | shapely Geometry, optional): Filter for features that intersect with the given dict-like geojson geometry, GeoSeries, GeoDataFrame or shapely geometry. CRS mis-matches are resolved if given a GeoSeries or GeoDataFrame. Cannot be used with bbox. Defaults to None.
9123
-
rows (int or slice, optional): Load in specific rows by passing an integer (first n rows) or a slice() object.. Defaults to None.
9123
+
rows (int or slice, optional): Load in specific rows by passing an integer (first n rows) or a slice() object. Defaults to None.
9124
9124
geodesic (bool, optional): Whether line segments should be interpreted as spherical geodesics. If false, indicates that line segments should be interpreted as planar lines in the specified CRS. If absent, defaults to true if the CRS is geographic (including the default EPSG:4326), or to false if the CRS is projected.
9125
9125
9126
9126
Returns:
@@ -9310,8 +9310,8 @@ def random_sampling(
9310
9310
Args:
9311
9311
image (ee.Image): The image to sample.
9312
9312
region (ee.Geometry, optional): The region to sample from. If unspecified, uses the image's whole footprint. Defaults to None.
9313
-
scale (float, optional): A nominal scale in meters of the projection to sample in.. Defaults to None.
9314
-
projection (ee.Projection, optional): The projection in which to sample. If unspecified, the projection of the image's first band is used. If specified in addition to scale, rescaled to the specified scale.. Defaults to None.
9313
+
scale (float, optional): A nominal scale in meters of the projection to sample in. Defaults to None.
9314
+
projection (ee.Projection, optional): The projection in which to sample. If unspecified, the projection of the image's first band is used. If specified in addition to scale, rescaled to the specified scale. Defaults to None.
9315
9315
factor (float, optional): A subsampling factor, within (0, 1]. If specified, 'numPixels' must not be specified. Defaults to no subsampling. Defaults to None.
9316
9316
numPixels (int, optional): The approximate number of pixels to sample. If specified, 'factor' must not be specified. Defaults to None.
9317
9317
seed (int, optional): A randomization seed to use for subsampling. Defaults to True. Defaults to 0.
@@ -10470,7 +10470,7 @@ def get_local_tile_layer(
10470
10470
vmin (float, optional): The minimum value to use when colormapping the colormap when plotting a single band. Defaults to None.
10471
10471
vmax (float, optional): The maximum value to use when colormapping the colormap when plotting a single band. Defaults to None.
10472
10472
nodata (float, optional): The value from the band to use to interpret as not valid data. Defaults to None.
10473
-
attribution (str, optional): Attribution for the source raster. This defaults to a message about it being a local file.. Defaults to None.
10473
+
attribution (str, optional): Attribution for the source raster. This defaults to a message about it being a local file. Defaults to None.
10474
10474
tile_format (str, optional): The tile layer format. Can be either ipyleaflet or folium. Defaults to "ipyleaflet".
10475
10475
layer_name (str, optional): The layer name to use. Defaults to None.
10476
10476
return_client (bool, optional): If True, the tile client will be returned. Defaults to False.
@@ -11921,7 +11921,7 @@ def netcdf_tile_layer(
11921
11921
nodata (float, optional): The value from the band to use to interpret as not valid data. Defaults to None.
11922
11922
debug (bool, optional): If True, the server will be started in debug mode. Defaults to False.
11923
11923
projection (str, optional): The projection of the GeoTIFF. Defaults to "EPSG:3857".
11924
-
attribution (str, optional): Attribution for the source raster. This defaults to a message about it being a local file.. Defaults to None.
11924
+
attribution (str, optional): Attribution for the source raster. This defaults to a message about it being a local file. Defaults to None.
11925
11925
tile_format (str, optional): The tile layer format. Can be either ipyleaflet or folium. Defaults to "ipyleaflet".
11926
11926
layer_name (str, optional): The layer name to use. Defaults to "NetCDF layer".
11927
11927
return_client (bool, optional): If True, the tile client will be returned. Defaults to False.
0 commit comments