Field | Type | Label | Description |
userID | string | ユーザID |
|
organizationID | string | 組織ID |
|
password | string |
|
Field | Type | Label | Description |
has_value | bool | 値を持っているか否か |
|
spatial_id | SpatialIdentification | 空間ID |
期間
Field | Type | Label | Description |
start_time | int64 | 開始時刻 UNIX Time (UTC sec) |
|
end_time | int64 | 終了時刻 UNIX Time (UTC sec) |
座標情報
Field | Type | Label | Description |
latitude | double | WGS84 |
|
longitude | double | WGS84 |
|
altitude | float |
|
|
altitude_attribute | Point.AltitudeAttribute |
|
管理サーバーアドレス
Field | Type | Label | Description |
grpc | string | gRPCサーバーアドレスおよびポート |
|
rest | string | RESTサーバーベースURL |
|
other | string | その他形式 |
エリアや空間の領域の指定
Field | Type | Label | Description |
identification | SpatialIdentification | [oneof figure] |
|
tube | SpatialFigure.Tube | [oneof figure] |
|
polygon | SpatialFigure.Polygon | [oneof figure] |
多角形(表現形式検討中)
角柱形状
Field | Type | Label | Description |
start | Point | 始点座標 |
|
end | Point | 終点座標 |
|
radian | float | 1辺長(m) |
空間ID
Field | Type | Label | Description |
ID | string | z/f/x/y |
空間ID
Field | Type | Label | Description |
ID | string | repeated | z/f/x/y |
Field | Type | Label | Description |
result | Token.Code |
|
|
token | string |
|
Name | Number | Description |
ALTITUDE_ATTRIBUTE_ELIPSOIDE | 0 | 楕円球体面高(当面対象外) |
ALTITUDE_ATTRIBUTE_MSL | 1 | ジオイド高 |
ALTITUDE_ATTRIBUTE_AGL | 2 | 地上高(当面対象外) |
Name | Number | Description |
COMPLETE | 0 | ログイン成功 |
INVALID | 3 | パスワードが無効 |
UNAVAILABLE_UAV | 4 | 許容されない機体(他組織など) |
INTERNAL_ERROR | 10 |
Method Name | Request Type | Response Type | Description |
ConnectServer | ConnectServerRequest | Token | サーバー接続(ログイン) ユーザIDとパスワードでトークンを得る |
Field | Type | Label | Description |
outof_space | generic.v2.SpatialIdentifications | 当該SDSP_UASの管理外の領域およびオーバーレイ領域 |
|
flyable_space | generic.v2.SpatialIdentifications | 指定範囲内の飛行許容領域。領域が変化し増えた場合は追加領域のみ通知。 |
|
occupied_space | generic.v2.SpatialIdentifications | 飛行許容領域から閉塞領域に変更された領域 |
|
error | ErrorCode |
|
Field | Type | Label | Description |
object_id | int64 | 登録ID。0の場合は新規登録。User名が一致していない場合はエラー。 |
Field | Type | Label | Description |
error | ErrorCode |
|
DeleteRequest入力パラメータ定義
ユーザ追加は要素番号30以降を利用すること
Field | Type | Label | Description |
object_id | int64 | repeated | リクエストしたUserIDが登録したUserIDと不一致の場合はエラー。 |
GetObject入力パラメータ定義
Field | Type | Label | Description |
object_id | int64 | 登録IDの空間ID属性値を得る |
Field | Type | Label | Description |
figure | generic.v2.SpatialFigure | 取得する領域 |
|
request_type | ObjectType | repeated | 取得するオブジェクトのタイプ。バリアへの対応はオプション。 |
Field | Type | Label | Description |
values | Objects | repeated |
|
error | ErrorCode |
|
Field | Type | Label | Description |
object_id | int64 | 登録ID。0の場合は新規登録。User名が一致していない場合はエラー。 |
|
overwrite | bool | trueの場合は旧のデータを削除し入力の情報で上書き。falseの場合は入力の情報を追加、同じ空間IDであれば値を上書きする。 |
|
voxels | Voxels |
|
設定できるエリアの種別(AirspaceInfo)はユーザ権限による
Field | Type | Label | Description |
object_id | int64 | 登録ID |
|
error | ErrorCode |
|
Field | Type | Label | Description |
object_id | int64 | 登録ID。0の場合は新規登録。User名が一致していない場合はエラー。 |
|
overwrite | bool | trueの場合は旧のデータを削除し入力の情報で上書き。falseの場合は入力の情報を追加、同じ空間IDであれば値を上書きする。 |
|
area | ValueReserveArea | repeated | 設定するエリア。 |
Field | Type | Label | Description |
object_id | int64 | 登録ID |
|
error | ErrorCode |
|
SelectAirspaceArrangement入力パラメータ定義
ユーザ追加は要素番号30以降を利用すること
Field | Type | Label | Description |
figure | generic.v2.SpatialFigure | 取得する領域 |
|
period | generic.v2.Period | 取得する時間帯 |
|
include_reserve_area | bool | trueで飛行計画で予約されたエリアやルートも除外する。trueへの対応はオプショナル。 |
Field | Type | Label | Description |
outof_space | generic.v2.SpatialIdentifications | 当該SDSP_UASの管理外の領域およびオーバーレイ領域 |
|
flyable_space | generic.v2.SpatialIdentifications | 飛行許容領域 |
|
error | ErrorCode |
|
指定エリア内に存在するオブジェクトを返す
Field | Type | Label | Description |
area | generic.v2.SpatialFigure | repeated | 指定エリア。 |
type | ObjectType | 取得する地物の種類。バリアへの対応はオプション。 |
|
with_forecast_weather | bool | 天気予報情報を取得する |
|
with_current_weather | bool | 現在の天候情報を取得する |
|
microwave_carrier_code | string | optional | 指定したキャリアの電波強度を取得する |
指定エリア内に存在するオブジェクト
Field | Type | Label | Description |
object_id | SelectObjectResponse.FlyableArea | repeated |
|
Field | Type | Label | Description |
id | generic.v2.SpatialIdentification | 空間ID |
|
current_weather | ValueWeather.CurrentWeather | optional | 現況 |
forecast | ValueWeather.Forecast | optional | 予報 |
microwave | ValueMicrowave.MicrowaveInfomation | optional | 電波強度 |
エラーコード
Name | Number | Description |
ErrorCode_UNSPECIFIED | 0 | |
ErrorCode_Duplicate | 1 | 重複 |
ErrorCode_AccessDeny | 2 | アクセス権限なし |
エアモビリティ向け空間情報基盤
GenericAPIのConnectServerで得たトークンをheaderにuseridと共に設定する
Method Name | Request Type | Response Type | Description |
PutObject | PutObjectRequest | PutObjectResponse | 空間情報登録 オブジェクトを空間ID群で登録する。 |
GetObject | GetObjectRequest | Object stream | 空間情報取得 オブジェクトの値を得る |
DeleteObject | DeleteObjectRequest | DeleteObjectResponse | 空間情報削除 空間情報を削除する。 |
GetValue | GetValueRequest | Objects stream | 指定領域空間情報取得 指定した領域のリスク値などの空間情報の値を得る。 |
PutReserveArea | PutReserveAreaRequest | PutReserveAreaResponse | 飛行計画登録(予約) 飛行計画(各種形状の空域空間)を空間ID群で登録する。 重複はエラー |
SelectAirspaceArrangement | SelectAirspaceArrangementRequest | SelectAirspaceArrangementResponse | 飛行許容空域取得 指定した領域および時刻を指定し、飛行許容領域の空間ID群を得る。 空域空間の値の取得にはGetValue()を利用する。 飛行許容領域は下記を含まない領域 ・バリア ・飛行制限空域 ・緊急用務空域 ・飛行計画空域 ・オーバーレイ |
SelectAirspaceArrangementStream | SelectAirspaceArrangementRequest | AirspaceArrangement stream | 飛行許容空域取得(ストリーム) 指定した領域および時刻で飛行可能な空域空間の空間ID群をストリームで得る。 次のようなケースに利用する。 ・大量のデータを分割して取得 ・変化を取得 |
.proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
double | double | double | float | float64 | double | float | Float | |
float | float | float | float | float32 | float | float | Float | |
int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
bool | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | |
string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |