Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class Area extends \Google\Collection
{
protected $collection_key = 'triangleIndices';
protected $basemapZOrderType = BasemapZOrder::class;
protected $basemapZOrderDataType = '';
public $hasExternalEdges;
public $internalEdges;
public $loopBreaks;
public $triangleIndices;
public $type;
protected $vertexOffsetsType = Vertex2DList::class;
protected $vertexOffsetsDataType = '';
public $zOrder;
/**
* @param BasemapZOrder
*/
public function setBasemapZOrder(BasemapZOrder $basemapZOrder)
{
$this->basemapZOrder = $basemapZOrder;
}
/**
* @return BasemapZOrder
*/
public function getBasemapZOrder()
{
return $this->basemapZOrder;
}
public function setHasExternalEdges($hasExternalEdges)
{
$this->hasExternalEdges = $hasExternalEdges;
}
public function getHasExternalEdges()
{
return $this->hasExternalEdges;
}
public function setInternalEdges($internalEdges)
{
$this->internalEdges = $internalEdges;
}
public function getInternalEdges()
{
return $this->internalEdges;
}
public function setLoopBreaks($loopBreaks)
{
$this->loopBreaks = $loopBreaks;
}
public function getLoopBreaks()
{
return $this->loopBreaks;
}
public function setTriangleIndices($triangleIndices)
{
$this->triangleIndices = $triangleIndices;
}
public function getTriangleIndices()
{
return $this->triangleIndices;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
/**
* @param Vertex2DList
*/
public function setVertexOffsets(Vertex2DList $vertexOffsets)
{
$this->vertexOffsets = $vertexOffsets;
}
/**
* @return Vertex2DList
*/
public function getVertexOffsets()
{
return $this->vertexOffsets;
}
public function setZOrder($zOrder)
{
$this->zOrder = $zOrder;
}
public function getZOrder()
{
return $this->zOrder;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Area::class, 'Google_Service_SemanticTile_Area');

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class BasemapZOrder extends \Google\Model
{
public $zGrade;
public $zPlane;
public $zWithinGrade;
public function setZGrade($zGrade)
{
$this->zGrade = $zGrade;
}
public function getZGrade()
{
return $this->zGrade;
}
public function setZPlane($zPlane)
{
$this->zPlane = $zPlane;
}
public function getZPlane()
{
return $this->zPlane;
}
public function setZWithinGrade($zWithinGrade)
{
$this->zWithinGrade = $zWithinGrade;
}
public function getZWithinGrade()
{
return $this->zWithinGrade;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BasemapZOrder::class, 'Google_Service_SemanticTile_BasemapZOrder');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class ExtrudedArea extends \Google\Model
{
protected $areaType = Area::class;
protected $areaDataType = '';
public $maxZ;
public $minZ;
/**
* @param Area
*/
public function setArea(Area $area)
{
$this->area = $area;
}
/**
* @return Area
*/
public function getArea()
{
return $this->area;
}
public function setMaxZ($maxZ)
{
$this->maxZ = $maxZ;
}
public function getMaxZ()
{
return $this->maxZ;
}
public function setMinZ($minZ)
{
$this->minZ = $minZ;
}
public function getMinZ()
{
return $this->minZ;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExtrudedArea::class, 'Google_Service_SemanticTile_ExtrudedArea');

View File

@@ -0,0 +1,102 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class Feature extends \Google\Collection
{
protected $collection_key = 'relations';
public $displayName;
protected $geometryType = Geometry::class;
protected $geometryDataType = '';
public $placeId;
protected $relationsType = Relation::class;
protected $relationsDataType = 'array';
protected $segmentInfoType = SegmentInfo::class;
protected $segmentInfoDataType = '';
public $type;
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Geometry
*/
public function setGeometry(Geometry $geometry)
{
$this->geometry = $geometry;
}
/**
* @return Geometry
*/
public function getGeometry()
{
return $this->geometry;
}
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
public function getPlaceId()
{
return $this->placeId;
}
/**
* @param Relation[]
*/
public function setRelations($relations)
{
$this->relations = $relations;
}
/**
* @return Relation[]
*/
public function getRelations()
{
return $this->relations;
}
/**
* @param SegmentInfo
*/
public function setSegmentInfo(SegmentInfo $segmentInfo)
{
$this->segmentInfo = $segmentInfo;
}
/**
* @return SegmentInfo
*/
public function getSegmentInfo()
{
return $this->segmentInfo;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Feature::class, 'Google_Service_SemanticTile_Feature');

View File

@@ -0,0 +1,102 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class FeatureTile extends \Google\Collection
{
protected $collection_key = 'providers';
protected $coordinatesType = TileCoordinates::class;
protected $coordinatesDataType = '';
protected $featuresType = Feature::class;
protected $featuresDataType = 'array';
public $name;
protected $providersType = ProviderInfo::class;
protected $providersDataType = 'array';
public $status;
public $versionId;
/**
* @param TileCoordinates
*/
public function setCoordinates(TileCoordinates $coordinates)
{
$this->coordinates = $coordinates;
}
/**
* @return TileCoordinates
*/
public function getCoordinates()
{
return $this->coordinates;
}
/**
* @param Feature[]
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return Feature[]
*/
public function getFeatures()
{
return $this->features;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param ProviderInfo[]
*/
public function setProviders($providers)
{
$this->providers = $providers;
}
/**
* @return ProviderInfo[]
*/
public function getProviders()
{
return $this->providers;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
public function setVersionId($versionId)
{
$this->versionId = $versionId;
}
public function getVersionId()
{
return $this->versionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FeatureTile::class, 'Google_Service_SemanticTile_FeatureTile');

View File

@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class FirstDerivativeElevationGrid extends \Google\Collection
{
protected $collection_key = 'rows';
public $altitudeMultiplier;
protected $rowsType = Row::class;
protected $rowsDataType = 'array';
public function setAltitudeMultiplier($altitudeMultiplier)
{
$this->altitudeMultiplier = $altitudeMultiplier;
}
public function getAltitudeMultiplier()
{
return $this->altitudeMultiplier;
}
/**
* @param Row[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return Row[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FirstDerivativeElevationGrid::class, 'Google_Service_SemanticTile_FirstDerivativeElevationGrid');

View File

@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class Geometry extends \Google\Collection
{
protected $collection_key = 'modeledVolumes';
protected $areasType = Area::class;
protected $areasDataType = 'array';
protected $extrudedAreasType = ExtrudedArea::class;
protected $extrudedAreasDataType = 'array';
protected $linesType = Line::class;
protected $linesDataType = 'array';
protected $modeledVolumesType = ModeledVolume::class;
protected $modeledVolumesDataType = 'array';
/**
* @param Area[]
*/
public function setAreas($areas)
{
$this->areas = $areas;
}
/**
* @return Area[]
*/
public function getAreas()
{
return $this->areas;
}
/**
* @param ExtrudedArea[]
*/
public function setExtrudedAreas($extrudedAreas)
{
$this->extrudedAreas = $extrudedAreas;
}
/**
* @return ExtrudedArea[]
*/
public function getExtrudedAreas()
{
return $this->extrudedAreas;
}
/**
* @param Line[]
*/
public function setLines($lines)
{
$this->lines = $lines;
}
/**
* @return Line[]
*/
public function getLines()
{
return $this->lines;
}
/**
* @param ModeledVolume[]
*/
public function setModeledVolumes($modeledVolumes)
{
$this->modeledVolumes = $modeledVolumes;
}
/**
* @return ModeledVolume[]
*/
public function getModeledVolumes()
{
return $this->modeledVolumes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Geometry::class, 'Google_Service_SemanticTile_Geometry');

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class Line extends \Google\Model
{
protected $basemapZOrderType = BasemapZOrder::class;
protected $basemapZOrderDataType = '';
protected $vertexOffsetsType = Vertex2DList::class;
protected $vertexOffsetsDataType = '';
public $zOrder;
/**
* @param BasemapZOrder
*/
public function setBasemapZOrder(BasemapZOrder $basemapZOrder)
{
$this->basemapZOrder = $basemapZOrder;
}
/**
* @return BasemapZOrder
*/
public function getBasemapZOrder()
{
return $this->basemapZOrder;
}
/**
* @param Vertex2DList
*/
public function setVertexOffsets(Vertex2DList $vertexOffsets)
{
$this->vertexOffsets = $vertexOffsets;
}
/**
* @return Vertex2DList
*/
public function getVertexOffsets()
{
return $this->vertexOffsets;
}
public function setZOrder($zOrder)
{
$this->zOrder = $zOrder;
}
public function getZOrder()
{
return $this->zOrder;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Line::class, 'Google_Service_SemanticTile_Line');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class ModeledVolume extends \Google\Collection
{
protected $collection_key = 'strips';
protected $stripsType = TriangleStrip::class;
protected $stripsDataType = 'array';
protected $vertexOffsetsType = Vertex3DList::class;
protected $vertexOffsetsDataType = '';
/**
* @param TriangleStrip[]
*/
public function setStrips($strips)
{
$this->strips = $strips;
}
/**
* @return TriangleStrip[]
*/
public function getStrips()
{
return $this->strips;
}
/**
* @param Vertex3DList
*/
public function setVertexOffsets(Vertex3DList $vertexOffsets)
{
$this->vertexOffsets = $vertexOffsets;
}
/**
* @return Vertex3DList
*/
public function getVertexOffsets()
{
return $this->vertexOffsets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ModeledVolume::class, 'Google_Service_SemanticTile_ModeledVolume');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class ProviderInfo extends \Google\Model
{
public $description;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProviderInfo::class, 'Google_Service_SemanticTile_ProviderInfo');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class Relation extends \Google\Model
{
public $relatedFeatureIndex;
public $relationType;
public function setRelatedFeatureIndex($relatedFeatureIndex)
{
$this->relatedFeatureIndex = $relatedFeatureIndex;
}
public function getRelatedFeatureIndex()
{
return $this->relatedFeatureIndex;
}
public function setRelationType($relationType)
{
$this->relationType = $relationType;
}
public function getRelationType()
{
return $this->relationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Relation::class, 'Google_Service_SemanticTile_Relation');

View File

@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile\Resource;
use Google\Service\SemanticTile\FeatureTile;
/**
* The "featuretiles" collection of methods.
* Typical usage is:
* <code>
* $vectortileService = new Google\Service\SemanticTile(...);
* $featuretiles = $vectortileService->featuretiles;
* </code>
*/
class Featuretiles extends \Google\Service\Resource
{
/**
* Gets a feature tile by its tile resource name. (featuretiles.get)
*
* @param string $name Required. Resource name of the tile. The tile resource
* name is prefixed by its collection ID `tiles/` followed by the resource ID,
* which encodes the tile's global x and y coordinates and zoom level as `@,,z`.
* For example, `tiles/@1,2,3z`.
* @param array $optParams Optional parameters.
*
* @opt_param bool alwaysIncludeBuildingFootprints 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.
* @opt_param string clientInfo.apiClient API client name and version. For
* example, the SDK calling the API. The exact format is up to the client.
* @opt_param string clientInfo.applicationId Application ID, such as the
* package name on Android and the bundle identifier on iOS platforms.
* @opt_param string clientInfo.applicationVersion Application version number,
* such as "1.2.3". The exact format is application-dependent.
* @opt_param string clientInfo.deviceModel Device model as reported by the
* device. The exact format is platform-dependent.
* @opt_param string clientInfo.operatingSystem Operating system name and
* version as reported by the OS. For example, "Mac OS X 10.10.4". The exact
* format is platform-dependent.
* @opt_param string clientInfo.platform Platform where the application is
* running.
* @opt_param string clientInfo.userId Required. A client-generated user ID. The
* ID should be generated and persisted during the first user session or
* whenever a pre-existing ID is not found. The exact format is up to the
* client. This must be non-empty in a GetFeatureTileRequest (whether via the
* header or GetFeatureTileRequest.client_info).
* @opt_param string clientTileVersionId Optional version id identifying the
* tile that is already in the client's cache. This field should be populated
* with the most recent version_id value returned by the API for the requested
* tile. If the version id is empty the server always returns a newly rendered
* tile. If it is provided the server checks if the tile contents would be
* identical to one that's already on the client, and if so, returns a stripped-
* down response tile with STATUS_OK_DATA_UNCHANGED instead.
* @opt_param bool enableDetailedHighwayTypes Flag indicating whether detailed
* highway types should be returned. If this is set, the
* CONTROLLED_ACCESS_HIGHWAY type may be returned. If not, then these highways
* will have the generic HIGHWAY type. This exists for backwards compatibility
* reasons.
* @opt_param bool enableFeatureNames Flag indicating whether human-readable
* names should be returned for features. If this is set, the display_name field
* on the feature will be filled out.
* @opt_param bool enableModeledVolumes Flag indicating whether 3D building
* models should be enabled. If this is set structures will be returned as 3D
* modeled volumes rather than 2.5D extruded areas where possible.
* @opt_param bool enablePoliticalFeatures Flag indicating whether political
* features should be returned.
* @opt_param bool enablePrivateRoads Flag indicating whether the returned tile
* will contain road features that are marked private. Private roads are
* indicated by the Feature.segment_info.road_info.is_private field.
* @opt_param bool enableUnclippedBuildings Flag indicating whether unclipped
* buildings should be returned. If this is set, building render ops will extend
* beyond the tile boundary. Buildings will only be returned on the tile that
* contains their centroid.
* @opt_param string languageCode Required. The BCP-47 language code
* corresponding to the language in which the name was requested, such as "en-
* US" or "sr-Latn". For more information, see
* http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
* @opt_param string regionCode Required. The Unicode country/region code (CLDR)
* of the location from which the request is coming from, such as "US" and
* "419". For more information, see
* http://www.unicode.org/reports/tr35/#unicode_region_subtag.
* @return FeatureTile
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], FeatureTile::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Featuretiles::class, 'Google_Service_SemanticTile_Resource_Featuretiles');

View File

@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile\Resource;
use Google\Service\SemanticTile\TerrainTile;
/**
* The "terraintiles" collection of methods.
* Typical usage is:
* <code>
* $vectortileService = new Google\Service\SemanticTile(...);
* $terraintiles = $vectortileService->terraintiles;
* </code>
*/
class Terraintiles extends \Google\Service\Resource
{
/**
* Gets a terrain tile by its tile resource name. (terraintiles.get)
*
* @param string $name Required. Resource name of the tile. The tile resource
* name is prefixed by its collection ID `terraintiles/` followed by the
* resource ID, which encodes the tile's global x and y coordinates and zoom
* level as `@,,z`. For example, `terraintiles/@1,2,3z`.
* @param array $optParams Optional parameters.
*
* @opt_param int altitudePrecisionCentimeters The precision of terrain
* altitudes in centimeters. Possible values: between 1 (cm level precision) and
* 1,000,000 (10-kilometer level precision).
* @opt_param string clientInfo.apiClient API client name and version. For
* example, the SDK calling the API. The exact format is up to the client.
* @opt_param string clientInfo.applicationId Application ID, such as the
* package name on Android and the bundle identifier on iOS platforms.
* @opt_param string clientInfo.applicationVersion Application version number,
* such as "1.2.3". The exact format is application-dependent.
* @opt_param string clientInfo.deviceModel Device model as reported by the
* device. The exact format is platform-dependent.
* @opt_param string clientInfo.operatingSystem Operating system name and
* version as reported by the OS. For example, "Mac OS X 10.10.4". The exact
* format is platform-dependent.
* @opt_param string clientInfo.platform Platform where the application is
* running.
* @opt_param string clientInfo.userId Required. A client-generated user ID. The
* ID should be generated and persisted during the first user session or
* whenever a pre-existing ID is not found. The exact format is up to the
* client. This must be non-empty in a GetFeatureTileRequest (whether via the
* header or GetFeatureTileRequest.client_info).
* @opt_param int maxElevationResolutionCells The maximum allowed resolution for
* the returned elevation heightmap. Possible values: between 1 and 1024 (and
* not less than min_elevation_resolution_cells). Over-sized heightmaps will be
* non-uniformly down-sampled such that each edge is no longer than this value.
* Non-uniformity is chosen to maximise the amount of preserved data. For
* example: Original resolution: 100px (width) * 30px (height)
* max_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)
* @opt_param int minElevationResolutionCells api-linter: core::0131::request-
* unknown-fields=disabled aip.dev/not-precedent: Maintaining existing request
* parameter pattern. The minimum allowed resolution for the returned elevation
* heightmap. Possible values: between 0 and 1024 (and not more than
* max_elevation_resolution_cells). Zero is supported for backward
* compatibility. Under-sized heightmaps will be non-uniformly up-sampled such
* that each edge is no shorter than this value. Non-uniformity is chosen to
* maximise the amount of preserved data. For example: Original resolution: 30px
* (width) * 10px (height) min_elevation_resolution: 30 New resolution: 30px
* (width) * 30px (height)
* @opt_param string terrainFormats Terrain formats that the client understands.
* @return TerrainTile
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], TerrainTile::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Terraintiles::class, 'Google_Service_SemanticTile_Resource_Terraintiles');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class RoadInfo extends \Google\Model
{
public $isPrivate;
public function setIsPrivate($isPrivate)
{
$this->isPrivate = $isPrivate;
}
public function getIsPrivate()
{
return $this->isPrivate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RoadInfo::class, 'Google_Service_SemanticTile_RoadInfo');

View File

@@ -0,0 +1,36 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class Row extends \Google\Collection
{
protected $collection_key = 'altitudeDiffs';
public $altitudeDiffs;
public function setAltitudeDiffs($altitudeDiffs)
{
$this->altitudeDiffs = $altitudeDiffs;
}
public function getAltitudeDiffs()
{
return $this->altitudeDiffs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Row::class, 'Google_Service_SemanticTile_Row');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class SecondDerivativeElevationGrid extends \Google\Model
{
public $altitudeMultiplier;
public $columnCount;
public $encodedData;
public $rowCount;
public function setAltitudeMultiplier($altitudeMultiplier)
{
$this->altitudeMultiplier = $altitudeMultiplier;
}
public function getAltitudeMultiplier()
{
return $this->altitudeMultiplier;
}
public function setColumnCount($columnCount)
{
$this->columnCount = $columnCount;
}
public function getColumnCount()
{
return $this->columnCount;
}
public function setEncodedData($encodedData)
{
$this->encodedData = $encodedData;
}
public function getEncodedData()
{
return $this->encodedData;
}
public function setRowCount($rowCount)
{
$this->rowCount = $rowCount;
}
public function getRowCount()
{
return $this->rowCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SecondDerivativeElevationGrid::class, 'Google_Service_SemanticTile_SecondDerivativeElevationGrid');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class SegmentInfo extends \Google\Model
{
protected $roadInfoType = RoadInfo::class;
protected $roadInfoDataType = '';
/**
* @param RoadInfo
*/
public function setRoadInfo(RoadInfo $roadInfo)
{
$this->roadInfo = $roadInfo;
}
/**
* @return RoadInfo
*/
public function getRoadInfo()
{
return $this->roadInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SegmentInfo::class, 'Google_Service_SemanticTile_SegmentInfo');

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class TerrainTile extends \Google\Model
{
protected $coordinatesType = TileCoordinates::class;
protected $coordinatesDataType = '';
protected $firstDerivativeType = FirstDerivativeElevationGrid::class;
protected $firstDerivativeDataType = '';
public $name;
protected $secondDerivativeType = SecondDerivativeElevationGrid::class;
protected $secondDerivativeDataType = '';
/**
* @param TileCoordinates
*/
public function setCoordinates(TileCoordinates $coordinates)
{
$this->coordinates = $coordinates;
}
/**
* @return TileCoordinates
*/
public function getCoordinates()
{
return $this->coordinates;
}
/**
* @param FirstDerivativeElevationGrid
*/
public function setFirstDerivative(FirstDerivativeElevationGrid $firstDerivative)
{
$this->firstDerivative = $firstDerivative;
}
/**
* @return FirstDerivativeElevationGrid
*/
public function getFirstDerivative()
{
return $this->firstDerivative;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param SecondDerivativeElevationGrid
*/
public function setSecondDerivative(SecondDerivativeElevationGrid $secondDerivative)
{
$this->secondDerivative = $secondDerivative;
}
/**
* @return SecondDerivativeElevationGrid
*/
public function getSecondDerivative()
{
return $this->secondDerivative;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TerrainTile::class, 'Google_Service_SemanticTile_TerrainTile');

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class TileCoordinates extends \Google\Model
{
public $x;
public $y;
public $zoom;
public function setX($x)
{
$this->x = $x;
}
public function getX()
{
return $this->x;
}
public function setY($y)
{
$this->y = $y;
}
public function getY()
{
return $this->y;
}
public function setZoom($zoom)
{
$this->zoom = $zoom;
}
public function getZoom()
{
return $this->zoom;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TileCoordinates::class, 'Google_Service_SemanticTile_TileCoordinates');

View File

@@ -0,0 +1,36 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class TriangleStrip extends \Google\Collection
{
protected $collection_key = 'vertexIndices';
public $vertexIndices;
public function setVertexIndices($vertexIndices)
{
$this->vertexIndices = $vertexIndices;
}
public function getVertexIndices()
{
return $this->vertexIndices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TriangleStrip::class, 'Google_Service_SemanticTile_TriangleStrip');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class Vertex2DList extends \Google\Collection
{
protected $collection_key = 'yOffsets';
public $xOffsets;
public $yOffsets;
public function setXOffsets($xOffsets)
{
$this->xOffsets = $xOffsets;
}
public function getXOffsets()
{
return $this->xOffsets;
}
public function setYOffsets($yOffsets)
{
$this->yOffsets = $yOffsets;
}
public function getYOffsets()
{
return $this->yOffsets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Vertex2DList::class, 'Google_Service_SemanticTile_Vertex2DList');

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SemanticTile;
class Vertex3DList extends \Google\Collection
{
protected $collection_key = 'zOffsets';
public $xOffsets;
public $yOffsets;
public $zOffsets;
public function setXOffsets($xOffsets)
{
$this->xOffsets = $xOffsets;
}
public function getXOffsets()
{
return $this->xOffsets;
}
public function setYOffsets($yOffsets)
{
$this->yOffsets = $yOffsets;
}
public function getYOffsets()
{
return $this->yOffsets;
}
public function setZOffsets($zOffsets)
{
$this->zOffsets = $zOffsets;
}
public function getZOffsets()
{
return $this->zOffsets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Vertex3DList::class, 'Google_Service_SemanticTile_Vertex3DList');