Skip to content

Commit

Permalink
feat(vectortile): update the API
Browse files Browse the repository at this point in the history
#### vectortile:v1

The following keys were added:
- resources.featuretiles.methods.get.parameters.alwaysIncludeBuildingFootprints.description
- resources.featuretiles.methods.get.parameters.alwaysIncludeBuildingFootprints.location
- resources.featuretiles.methods.get.parameters.alwaysIncludeBuildingFootprints.type

The following keys were changed:
- schemas.Geometry.properties.extrudedAreas.description
- schemas.Geometry.properties.modeledVolumes.description
  • Loading branch information
yoshi-automation authored and sofisl committed Mar 10, 2021
1 parent 8097ede commit d253b57
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
11 changes: 8 additions & 3 deletions discovery/vectortile-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"name"
],
"parameters": {
"alwaysIncludeBuildingFootprints": {
"description": "Flag indicating whether the returned tile will always contain 2.5D footprints for structures. If enabled_modeled_volumes is set, this will mean that structures will have both their 3D models and 2.5D footprints returned.",
"location": "query",
"type": "boolean"
},
"clientInfo.apiClient": {
"description": "API client name and version. For example, the SDK calling the API. The exact format is up to the client.",
"location": "query",
Expand Down Expand Up @@ -338,7 +343,7 @@
}
}
},
"revision": "20201202",
"revision": "20210307",
"rootUrl": "https://vectortile.googleapis.com/",
"schemas": {
"Area": {
Expand Down Expand Up @@ -618,7 +623,7 @@
"type": "array"
},
"extrudedAreas": {
"description": "The extruded areas present in this geometry.",
"description": "The extruded areas present in this geometry. Not populated if modeled_volumes are included in this geometry unless always_include_building_footprints is set in GetFeatureTileRequest, in which case the client should decide which (extruded areas or modeled volumes) should be used (they should not be rendered together).",
"items": {
"$ref": "ExtrudedArea"
},
Expand All @@ -632,7 +637,7 @@
"type": "array"
},
"modeledVolumes": {
"description": "The modeled volumes present in this geometry.",
"description": "The modeled volumes present in this geometry. Not populated unless enable_modeled_volumes has been set in GetFeatureTileRequest.",
"items": {
"$ref": "ModeledVolume"
},
Expand Down
10 changes: 8 additions & 2 deletions src/apis/vectortile/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,15 +278,15 @@ export namespace vectortile_v1 {
*/
areas?: Schema$Area[];
/**
* The extruded areas present in this geometry.
* The extruded areas present in this geometry. Not populated if modeled_volumes are included in this geometry unless always_include_building_footprints is set in GetFeatureTileRequest, in which case the client should decide which (extruded areas or modeled volumes) should be used (they should not be rendered together).
*/
extrudedAreas?: Schema$ExtrudedArea[];
/**
* The lines present in this geometry.
*/
lines?: Schema$Line[];
/**
* The modeled volumes present in this geometry.
* The modeled volumes present in this geometry. Not populated unless enable_modeled_volumes has been set in GetFeatureTileRequest.
*/
modeledVolumes?: Schema$ModeledVolume[];
}
Expand Down Expand Up @@ -501,6 +501,8 @@ export namespace vectortile_v1 {
*
* // Do the magic
* const res = await vectortile.featuretiles.get({
* // Flag indicating whether the returned tile will always contain 2.5D footprints for structures. If enabled_modeled_volumes is set, this will mean that structures will have both their 3D models and 2.5D footprints returned.
* alwaysIncludeBuildingFootprints: 'placeholder-value',
* // API client name and version. For example, the SDK calling the API. The exact format is up to the client.
* 'clientInfo.apiClient': 'placeholder-value',
* // Application ID, such as the package name on Android and the bundle identifier on iOS platforms.
Expand Down Expand Up @@ -638,6 +640,10 @@ export namespace vectortile_v1 {
}

export interface Params$Resource$Featuretiles$Get extends StandardParameters {
/**
* Flag indicating whether the returned tile will always contain 2.5D footprints for structures. If enabled_modeled_volumes is set, this will mean that structures will have both their 3D models and 2.5D footprints returned.
*/
alwaysIncludeBuildingFootprints?: boolean;
/**
* API client name and version. For example, the SDK calling the API. The exact format is up to the client.
*/
Expand Down

0 comments on commit d253b57

Please sign in to comment.