Skip to content

Commit cb467b7

Browse files
committed
doc strings: .. to . to end sentences
1 parent f986b66 commit cb467b7

File tree

7 files changed

+53
-53
lines changed

7 files changed

+53
-53
lines changed

geemap/common.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9069,7 +9069,7 @@ def vector_to_geojson(
90699069
out_geojson (str, optional): The file path to the output GeoJSON. Defaults to None.
90709070
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.
90719071
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.
90739073
epsg (str, optional): The EPSG number to convert to. Defaults to "4326".
90749074

90759075
Raises:
@@ -9120,7 +9120,7 @@ def vector_to_ee(
91209120
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).
91219121
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.
91229122
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.
91249124
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.
91259125

91269126
Returns:
@@ -9310,8 +9310,8 @@ def random_sampling(
93109310
Args:
93119311
image (ee.Image): The image to sample.
93129312
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.
93159315
factor (float, optional): A subsampling factor, within (0, 1]. If specified, 'numPixels' must not be specified. Defaults to no subsampling. Defaults to None.
93169316
numPixels (int, optional): The approximate number of pixels to sample. If specified, 'factor' must not be specified. Defaults to None.
93179317
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(
1047010470
vmin (float, optional): The minimum value to use when colormapping the colormap when plotting a single band. Defaults to None.
1047110471
vmax (float, optional): The maximum value to use when colormapping the colormap when plotting a single band. Defaults to None.
1047210472
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.
1047410474
tile_format (str, optional): The tile layer format. Can be either ipyleaflet or folium. Defaults to "ipyleaflet".
1047510475
layer_name (str, optional): The layer name to use. Defaults to None.
1047610476
return_client (bool, optional): If True, the tile client will be returned. Defaults to False.
@@ -11921,7 +11921,7 @@ def netcdf_tile_layer(
1192111921
nodata (float, optional): The value from the band to use to interpret as not valid data. Defaults to None.
1192211922
debug (bool, optional): If True, the server will be started in debug mode. Defaults to False.
1192311923
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.
1192511925
tile_format (str, optional): The tile layer format. Can be either ipyleaflet or folium. Defaults to "ipyleaflet".
1192611926
layer_name (str, optional): The layer name to use. Defaults to "NetCDF layer".
1192711927
return_client (bool, optional): If True, the tile client will be returned. Defaults to False.

0 commit comments

Comments
 (0)