MCPcopy
hub / github.com/google/earthengine-api / getFilmstripThumbURL

Method getFilmstripThumbURL

python/ee/imagecollection.py:226–252  ·  view source on GitHub ↗

Get the URL for a "filmstrip" thumbnail of the given collection. Args: params: Parameters identical to getMapId, plus, optionally: dimensions - (a number or pair of numbers in format WIDTHxHEIGHT) Max dimensions of the thumbnail to render, in pixels. If only one numb

(self, params: Any | None = None)

Source from the content-addressed store, hash-verified

224 return self._getThumbURL(['gif'], params, thumbType='video')
225
226 def getFilmstripThumbURL(self, params: Any | None = None) -> str:
227 """Get the URL for a "filmstrip" thumbnail of the given collection.
228
229 Args:
230 params: Parameters identical to getMapId, plus, optionally:
231 dimensions -
232 (a number or pair of numbers in format WIDTHxHEIGHT) Max dimensions of
233 the thumbnail to render, in pixels. If only one number is passed, it is
234 used as the maximum, and the other dimension is computed by proportional
235 scaling.
236 crs - a CRS string specifying the projection of the output.
237 crs_transform - the affine transform to use for the output pixel grid.
238 scale - a scale to determine the output pixel grid; ignored if both crs
239 and crs_transform are specified.
240 region - (E,S,W,N or GeoJSON) Geospatial region of the result. By default,
241 the whole image.
242 format - (string) The output format (e.g., "png", "jpg").
243 Visualization parameters - ['bands', 'gain', 'bias', 'min', 'max',
244 'gamma', 'palette', 'opacity', 'forceRgbOutput'] see Earth Engine
245 API for ee.Image.visualize for more information.
246 Returns:
247 A URL to download a thumbnail of the specified ImageCollection.
248
249 Raises:
250 EEException: If the region parameter is not an array or GeoJSON object.
251 """
252 return self._getThumbURL(['png', 'jpg'], params, thumbType='filmstrip')
253
254 def _getThumbURL(
255 self,

Calls 1

_getThumbURLMethod · 0.95