Объявление : Все некоммерческие проекты, зарегистрированные для использования Earth Engine до 15 апреля 2025 года, должны подтвердить некоммерческое право на сохранение доступа к Earth Engine.
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Создает диаграмму из изображения. Извлекает и отображает значения полос в одной или нескольких областях изображения, причем каждая полоса находится в отдельной серии.
- Ось X = область, помеченная xProperty (по умолчанию: 'system:index')
- Ось Y = Выход редуктора.
- Серия = Название группы.
Возвращает диаграмму.
Использование
Возвраты
ui.Chart.image.byRegion(image, regions , reducer , scale , xProperty )
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-08 UTC."],[[["Generates a chart that visualizes band values within specified regions of an image."],["Charts display band values on the y-axis, region labels on the x-axis, and separate series for each band."],["Users can customize the chart by defining regions, specifying a reducer for calculations, setting a scale, and choosing a property for x-axis labels."],["The default reducer is `ee.Reducer.mean()`, and the default x-axis property is `'system:index'`."],["The function returns a `ui.Chart` object."]]],["The core functionality involves creating a chart from an image by extracting and plotting band values from specified regions. Users define `image`, `regions`, `reducer`, `scale`, and `xProperty`. It extracts band values, uses the provided `reducer` to compute a single y-value per band, which are then plotted as separate series. `regions` are labeled on the x-axis, based on the provided `xProperty`. The chart plots the reduced values per band in different regions, returning a `ui.Chart` object.\n"]]