Wind
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Reprezentuje zestaw właściwości wiatru.
Pola |
direction |
object (WindDirection )
Kierunek wiatru, kąt, z którego wieje.
|
speed |
object (WindSpeed )
Prędkość wiatru.
|
gust |
object (WindSpeed )
Porywy wiatru (nagły wzrost prędkości wiatru).
|
WindDirection
Reprezentuje kierunek, z którego wieje wiatr.
Pola |
cardinal |
enum (CardinalDirection )
Kod reprezentujący kierunek podstawowy, z którego wieje wiatr.
|
degrees |
integer
Kierunek wiatru w stopniach (wartości od 0 do 360).
|
CardinalDirection
Oznacza kierunek świata (w tym kierunki porządkowe).
Wartości w polu enum |
CARDINAL_DIRECTION_UNSPECIFIED |
Kierunek świata nie jest określony. |
NORTH |
Kierunek północny. |
NORTH_NORTHEAST |
Drugi kierunek międzykardinalny północny-wschodni. |
NORTHEAST |
Kierunek północno-wschodni. |
EAST_NORTHEAST |
Kierunek pośredni wschodnio-północno-wschodni. |
EAST |
Punkt kardynalny wschodni. |
EAST_SOUTHEAST |
Kierunek pośredni między wschodnim a południowo-wschodnim. |
SOUTHEAST |
Kierunek południowo-wschodni. |
SOUTH_SOUTHEAST |
Kierunek południowo-wschodni. |
SOUTH |
Kierunek wschodni. |
SOUTH_SOUTHWEST |
Kierunek pośredni między południem a południowo-zachodem. |
SOUTHWEST |
Kierunek międzykardinalny południowo-zachodni. |
WEST_SOUTHWEST |
Kierunek pośredni między zachodnim a południowo-zachodnim. |
WEST |
Kierunek świata zachodni. |
WEST_NORTHWEST |
Kierunek pośredni między zachodnim a północno-zachodnim. |
NORTHWEST |
Kierunek pośredni między północnym a zachodnim. |
NORTH_NORTHWEST |
Drugorzędny kierunek międzykardinalny północ-północny-zachodni. |
WindSpeed
Zapis JSON |
{
"unit": enum (SpeedUnit ),
"value": number
} |
Pola |
unit |
enum (SpeedUnit )
Kod reprezentujący jednostkę służącą do pomiaru prędkości wiatru.
|
value |
number
Wartość prędkości wiatru.
|
SpeedUnit
Reprezentuje jednostkę używaną do pomiaru prędkości.
Wartości w polu enum |
SPEED_UNIT_UNSPECIFIED |
Jednostka prędkości jest nieokreślona. |
KILOMETERS_PER_HOUR |
Prędkość jest mierzona w kilometrach na godzinę. |
MILES_PER_HOUR |
Prędkość jest mierzona w milach na godzinę. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-29 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-29 UTC."],[],[],null,["# Wind\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [WindDirection](#WindDirection)\n - [JSON representation](#WindDirection.SCHEMA_REPRESENTATION)\n- [CardinalDirection](#CardinalDirection)\n- [WindSpeed](#WindSpeed)\n - [JSON representation](#WindSpeed.SCHEMA_REPRESENTATION)\n- [SpeedUnit](#SpeedUnit)\n\nRepresents a set of wind properties.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"direction\": { object (/maps/documentation/weather/reference/rest/v1/Wind#WindDirection) }, \"speed\": { object (/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed) }, \"gust\": { object (/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed) } } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `direction` | `object (`[WindDirection](/maps/documentation/weather/reference/rest/v1/Wind#WindDirection)`)` The direction of the wind, the angle it is coming from. |\n| `speed` | `object (`[WindSpeed](/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed)`)` The speed of the wind. |\n| `gust` | `object (`[WindSpeed](/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed)`)` The wind gust (sudden increase in the wind speed). |\n\nWindDirection\n-------------\n\nRepresents the direction from which the wind originates.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"cardinal\": enum (/maps/documentation/weather/reference/rest/v1/Wind#CardinalDirection), \"degrees\": integer } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cardinal` | `enum (`[CardinalDirection](/maps/documentation/weather/reference/rest/v1/Wind#CardinalDirection)`)` The code that represents the cardinal direction from which the wind is blowing. |\n| `degrees` | `integer` The direction of the wind in degrees (values from 0 to 360). |\n\nCardinalDirection\n-----------------\n\nRepresents a cardinal direction (including ordinal directions).\n\n| Enums ||\n|----------------------------------|--------------------------------------------------------|\n| `CARDINAL_DIRECTION_UNSPECIFIED` | The cardinal direction is unspecified. |\n| `NORTH` | The north cardinal direction. |\n| `NORTH_NORTHEAST` | The north-northeast secondary intercardinal direction. |\n| `NORTHEAST` | The northeast intercardinal direction. |\n| `EAST_NORTHEAST` | The east-northeast secondary intercardinal direction. |\n| `EAST` | The east cardinal direction. |\n| `EAST_SOUTHEAST` | The east-southeast secondary intercardinal direction. |\n| `SOUTHEAST` | The southeast intercardinal direction. |\n| `SOUTH_SOUTHEAST` | The south-southeast secondary intercardinal direction. |\n| `SOUTH` | The south cardinal direction. |\n| `SOUTH_SOUTHWEST` | The south-southwest secondary intercardinal direction. |\n| `SOUTHWEST` | The southwest intercardinal direction. |\n| `WEST_SOUTHWEST` | The west-southwest secondary intercardinal direction. |\n| `WEST` | The west cardinal direction. |\n| `WEST_NORTHWEST` | The west-northwest secondary intercardinal direction. |\n| `NORTHWEST` | The northwest intercardinal direction. |\n| `NORTH_NORTHWEST` | The north-northwest secondary intercardinal direction. |\n\nWindSpeed\n---------\n\nRepresents the speed of the wind.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------|\n| ``` { \"unit\": enum (/maps/documentation/weather/reference/rest/v1/Wind#SpeedUnit), \"value\": number } ``` |\n\n| Fields ||\n|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `unit` | `enum (`[SpeedUnit](/maps/documentation/weather/reference/rest/v1/Wind#SpeedUnit)`)` The code that represents the unit used to measure the wind speed. |\n| `value` | `number` The value of the wind speed. |\n\nSpeedUnit\n---------\n\nRepresents the unit used to measure speed.\n\n| Enums ||\n|--------------------------|-----------------------------------------------|\n| `SPEED_UNIT_UNSPECIFIED` | The speed unit is unspecified. |\n| `KILOMETERS_PER_HOUR` | The speed is measured in kilometers per hour. |\n| `MILES_PER_HOUR` | The speed is measured in miles per hour. |"]]