Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Map Rendering 20240401 #27950

Merged
merged 90 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
f7141d5
Adds base for updating Render from version stable/2022-08-01 to versi…
miaxzhitong Feb 26, 2024
daacd65
Updates readme
miaxzhitong Feb 26, 2024
09ff166
Updates API version in new specs and examples
miaxzhitong Feb 26, 2024
1ac875a
update static map API doc
miaxzhitong Feb 27, 2024
eeb1baf
small change on static map doc
miaxzhitong Feb 27, 2024
0d050cb
update tilesetId section
miaxzhitong Feb 27, 2024
3fcfd51
add static map supported tilesetid and trafficLayer
miaxzhitong Feb 28, 2024
cf8790d
update range table and static image example
miaxzhitong Mar 4, 2024
d5c050a
fix typo
miaxzhitong Mar 4, 2024
040a980
add additional static image example
miaxzhitong Mar 4, 2024
a41d3e9
error fix
miaxzhitong Mar 4, 2024
6d9cb66
run prettier on static image example json
miaxzhitong Mar 4, 2024
5f50070
set tilesetId as optional
miaxzhitong Apr 23, 2024
6e91986
update max/min latitude/longitude table
miaxzhitong Apr 25, 2024
ad97665
update Accept header for static image API
miaxzhitong Apr 30, 2024
36859ee
error fix
miaxzhitong Apr 30, 2024
4e3adb2
add explanation for Accept header
miaxzhitong Apr 30, 2024
ac95ff2
typo
miaxzhitong May 16, 2024
38092b0
add parameter limitation
miaxzhitong May 22, 2024
057e02b
improve wording
miaxzhitong May 23, 2024
483bb42
add path and pin parameter type
miaxzhitong May 23, 2024
6be148a
fix tables
miaxzhitong May 23, 2024
56499f4
improve on example
miaxzhitong May 24, 2024
909706c
typo fix
miaxzhitong May 24, 2024
07aaa76
run prettier
miaxzhitong May 29, 2024
842731e
wording fix
miaxzhitong Jun 3, 2024
9aac21e
map attribution description update
miaxzhitong Jun 3, 2024
ddb550e
state tile description update
miaxzhitong Jun 3, 2024
f962ecb
map tile description update
miaxzhitong Jun 3, 2024
e94cccd
map tileset description update
miaxzhitong Jun 3, 2024
068ee2f
map copyright caption description change
miaxzhitong Jun 3, 2024
7442674
map copyright bounding description update
miaxzhitong Jun 3, 2024
0c74272
weather radar tile description update
miaxzhitong Jun 3, 2024
2dbe380
weather infrared tiles description update
miaxzhitong Jun 3, 2024
5f0fa2d
map copyright tile description update
miaxzhitong Jun 3, 2024
51835e0
map copyright world description update
miaxzhitong Jun 3, 2024
afb1588
remove pricing tiers applies
miaxzhitong Jun 3, 2024
4ad56a9
Merge branch 'miaxzhitong-maps-Render-2024-04-01' of https://github.c…
miaxzhitong Jun 3, 2024
d268e99
Adds base for updating Render from version stable/2022-08-01 to versi…
miaxzhitong Feb 26, 2024
e4a7139
Updates readme
miaxzhitong Feb 26, 2024
dae26d2
Updates API version in new specs and examples
miaxzhitong Feb 26, 2024
c6bea98
update static map API doc
miaxzhitong Feb 27, 2024
7388696
small change on static map doc
miaxzhitong Feb 27, 2024
8b38a34
update tilesetId section
miaxzhitong Feb 27, 2024
4216a25
add static map supported tilesetid and trafficLayer
miaxzhitong Feb 28, 2024
b6f488f
update range table and static image example
miaxzhitong Mar 4, 2024
9ccfd1a
fix typo
miaxzhitong Mar 4, 2024
fe47c97
add additional static image example
miaxzhitong Mar 4, 2024
e1a791a
error fix
miaxzhitong Mar 4, 2024
13bb9ab
run prettier on static image example json
miaxzhitong Mar 4, 2024
a8c7ee6
set tilesetId as optional
miaxzhitong Apr 23, 2024
f6dcb16
update max/min latitude/longitude table
miaxzhitong Apr 25, 2024
c10c3a9
update Accept header for static image API
miaxzhitong Apr 30, 2024
ebc1347
error fix
miaxzhitong Apr 30, 2024
2822416
add explanation for Accept header
miaxzhitong Apr 30, 2024
ab40052
typo
miaxzhitong May 16, 2024
e15f384
add parameter limitation
miaxzhitong May 22, 2024
3299da7
improve wording
miaxzhitong May 23, 2024
2b848a1
add path and pin parameter type
miaxzhitong May 23, 2024
e5cd30d
fix tables
miaxzhitong May 23, 2024
aa51b5e
improve on example
miaxzhitong May 24, 2024
c469518
typo fix
miaxzhitong May 24, 2024
bcdd355
run prettier
miaxzhitong May 29, 2024
45139c5
wording fix
miaxzhitong Jun 3, 2024
918b50f
map attribution description update
miaxzhitong Jun 3, 2024
e5e4463
state tile description update
miaxzhitong Jun 3, 2024
f0bf3f1
map tile description update
miaxzhitong Jun 3, 2024
d7a600c
map tileset description update
miaxzhitong Jun 3, 2024
f6e0e80
map copyright caption description change
miaxzhitong Jun 3, 2024
a6b378f
map copyright bounding description update
miaxzhitong Jun 3, 2024
8cd5ff8
weather radar tile description update
miaxzhitong Jun 3, 2024
319fc10
weather infrared tiles description update
miaxzhitong Jun 3, 2024
ab86f21
map copyright tile description update
miaxzhitong Jun 3, 2024
247439d
map copyright world description update
miaxzhitong Jun 3, 2024
84c6cf7
remove pricing tiers applies
miaxzhitong Jun 3, 2024
94686e3
Merge branch 'main' into miaxzhitong-maps-Render-2024-04-01
miaxzhitong Jun 3, 2024
3efb49e
Merge branch 'miaxzhitong-maps-Render-2024-04-01' of https://github.c…
miaxzhitong Jun 4, 2024
a131644
reduce get copyright example length
miaxzhitong Jun 4, 2024
7ae0902
add summary for render 20240401
miaxzhitong Jun 4, 2024
02bd91f
remove summary from static image
miaxzhitong Jun 4, 2024
9fda34c
remove please from language and view
miaxzhitong Jun 4, 2024
8ac5920
add package-2024-04-01 to readme
miaxzhitong Jun 5, 2024
972d006
revert back common change
miaxzhitong Jun 5, 2024
30ccc49
revert changes in maps readme
miaxzhitong Jun 5, 2024
a0513c4
\n fix
miaxzhitong Jun 5, 2024
e114e51
typo fix
miaxzhitong Jun 5, 2024
18db631
typo fix for map copyright caption
miaxzhitong Jun 5, 2024
acccae0
typo fix for statetile
miaxzhitong Jun 5, 2024
42b5535
typo fix for map copyright world
miaxzhitong Jun 5, 2024
cc98478
Merge branch 'main' into miaxzhitong-maps-Render-2024-04-01
jhendrixMSFT Jun 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions specification/maps/data-plane/Render/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ These are the global settings for Render Client.
``` yaml
title: RenderClient
openapi-type: data-plane
tag: 2.1 # removed "preview" as it started causing validation errors from v0.26 of the Swagger Lintdiff.
# at some point those credentials will move away to Swagger according to [this](https://github.com/Azure/autorest/issues/3718)
tag: package-2024-04-01
add-credentials: true
credential-default-policy-type: BearerTokenCredentialPolicy
credential-scopes: https://atlas.microsoft.com/.default
credential-scopes: 'https://atlas.microsoft.com/.default'
track2: true
verbose: true
sdk-integration: true
Expand All @@ -48,9 +47,19 @@ directive:
reason: false positive from oav is breaking our example validation. See azure/oav#1021.
```


### Tag: package-2024-04-01

These settings apply only when `--tag=package-2024-04-01` is specified on the command line.

```yaml $(tag) == 'package-2024-04-01'
input-file:
- stable/2024-04-01/render.json
```
### Tag: 2022-08-01

These settings apply only when `--tag=2022-08-01` is specified on the command line.

``` yaml $(tag) == '2022-08-01'
input-file:
- stable/2022-08-01/render.json
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2024-04-01",
"format": "json"
},
"responses": {
"200": {
"body": {
"formatVersion": "0.0.1",
"copyrightsCaption": "© 1992 - 2022 TomTom."
}
}
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"api-version": "2024-04-01",
"format": "json"
},
"responses": {
"200": {
"body": {
"formatVersion": "0.0.1",
"generalCopyrights": [
"© 1992 - 2022 TomTom. All rights reserved. This material is proprietary and the subject of copyright protection, database right protection and other intellectual property rights owned by TomTom or its suppliers. The use of this material is subject to the terms of a license agreement. Any unauthorized copying or disclosure of this material will lead to criminal and civil liabilities.",
"Data Source © 2022 TomTom",
"based on"
],
"regions": [
{
"country": {
"ISO3": "ABW",
"label": "Aruba"
},
"copyrights": [
"You agree to include as soon as practically possible, but no later than the first new release of the Authorized Application following Your receipt of any 3D Landmarks, any copyright notices related to the display of such landmarks on every Authorized Application and in the “about box” of the Authorized Application. Notwithstanding the aforementioned, TomTom has the right to decide, at its sole discretion, to remove specific 3D Landmarks in subsequent releases of the Licensed Products. In such case, You will remove those 3D Landmarks from the Authorized Application as soon as practically possible, but not later than the first new release of the Authorized Application following Your receipt of the Update to the Licensed Product. TomTom shall not be held responsible for any possible damages, costs or expenses incurred by You related to such removal of a 3D Landmark by TomTom from the Licensed Product or failure to remove a 3D Landmark by You from the Authorized Application.",
"TomTom hereby grants to You a non-exclusive, non-transferable license to use the Software Licensed Products for the sole and limited purpose of assisting You in viewing, analyzing and sectioning the Licensed Products. In no event shall You use the Software Licensed Products to view, analyze, section or in any way manipulate spatial map data that is not provided by TomTom. You shall not derive or attempt to derive the source code of all or any portion of the Licensed Products by reverse engineering, disassembly, decompilation, translation or any other means. You shall affix the following copyright notice on any copy of the GDF Viewer, or any portion of the Licensed Products: “Software ©2011-2020 TomTom North America, Inc. All rights reserved.",
"Neither the Data nor the Licensed Products such as Speed Profiles or TomTom Traffic or any derivatives thereof shall be used for the purpose of enforcement of traffic laws including but not limited to the selection of potential locations for the installation of speed cameras, speed traps or other speed tracking devices. With regards to Speed Profiles, You acknowledge and agrees that the actual speeds may not reflect the legally imposed speed limits.",
"You specifically agree that it shall not: (i) store the data for more than twenty-four (24) hours on Your servers; (ii) broadcast or make Live Services Licensed Products available except to authorized End Users; and (iii) use the feed or information received via the feed for historical data purposes (including but not limited to collection or analysis)."
]
},
"......",
{
"country": {
"ISO3": "ZWE",
"label": "Zimbabwe"
},
"copyrights": [
"You agree to include as soon as practically possible, but no later than the first new release of the Authorized Application following Your receipt of any 3D Landmarks, any copyright notices related to the display of such landmarks on every Authorized Application and in the “about box” of the Authorized Application. Notwithstanding the aforementioned, TomTom has the right to decide, at its sole discretion, to remove specific 3D Landmarks in subsequent releases of the Licensed Products. In such case, You will remove those 3D Landmarks from the Authorized Application as soon as practically possible, but not later than the first new release of the Authorized Application following Your receipt of the Update to the Licensed Product. TomTom shall not be held responsible for any possible damages, costs or expenses incurred by You related to such removal of a 3D Landmark by TomTom from the Licensed Product or failure to remove a 3D Landmark by You from the Authorized Application.",
"TomTom hereby grants to You a non-exclusive, non-transferable license to use the Software Licensed Products for the sole and limited purpose of assisting You in viewing, analyzing and sectioning the Licensed Products. In no event shall You use the Software Licensed Products to view, analyze, section or in any way manipulate spatial map data that is not provided by TomTom. You shall not derive or attempt to derive the source code of all or any portion of the Licensed Products by reverse engineering, disassembly, decompilation, translation or any other means. You shall affix the following copyright notice on any copy of the GDF Viewer, or any portion of the Licensed Products: “Software ©2011-2020 TomTom North America, Inc. All rights reserved.",
"Neither the Data nor the Licensed Products such as Speed Profiles or TomTom Traffic or any derivatives thereof shall be used for the purpose of enforcement of traffic laws including but not limited to the selection of potential locations for the installation of speed cameras, speed traps or other speed tracking devices. With regards to Speed Profiles, You acknowledge and agrees that the actual speeds may not reflect the legally imposed speed limits.",
"You specifically agree that it shall not: (i) store the data for more than twenty-four (24) hours on Your servers; (ii) broadcast or make Live Services Licensed Products available except to authorized End Users; and (iii) use the feed or information received via the feed for historical data purposes (including but not limited to collection or analysis)."
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"api-version": "2024-04-01",
"format": "json",
"mincoordinates": [
52.41064,
4.84228
],
"maxcoordinates": [
52.41072,
4.84239
],
"text": "yes"
},
"responses": {
"200": {
"headers": {},
"body": {
"formatVersion": "0.0.1",
"generalCopyrights": [
"© 1992 - 2022 TomTom. All rights reserved. This material is proprietary and the subject of copyright protection, database right protection and other intellectual property rights owned by TomTom or its suppliers. The use of this material is subject to the terms of a license agreement. Any unauthorized copying or disclosure of this material will lead to criminal and civil liabilities.",
"Data Source © 2022 TomTom",
"based on"
],
"regions": [
{
"country": {
"ISO3": "NLD",
"label": "Netherlands"
},
"copyrights": [
"You agree to include as soon as practically possible, but no later than the first new release of the Authorized Application following Your receipt of any 3D Landmarks, any copyright notices related to the display of such landmarks on every Authorized Application and in the “about box” of the Authorized Application. Notwithstanding the aforementioned, TomTom has the right to decide, at its sole discretion, to remove specific 3D Landmarks in subsequent releases of the Licensed Products. In such case, You will remove those 3D Landmarks from the Authorized Application as soon as practically possible, but not later than the first new release of the Authorized Application following Your receipt of the Update to the Licensed Product. TomTom shall not be held responsible for any possible damages, costs or expenses incurred by You related to such removal of a 3D Landmark by TomTom from the Licensed Product or failure to remove a 3D Landmark by You from the Authorized Application.",
"TomTom hereby grants to You a non-exclusive, non-transferable license to use the Software Licensed Products for the sole and limited purpose of assisting You in viewing, analyzing and sectioning the Licensed Products. In no event shall You use the Software Licensed Products to view, analyze, section or in any way manipulate spatial map data that is not provided by TomTom. You shall not derive or attempt to derive the source code of all or any portion of the Licensed Products by reverse engineering, disassembly, decompilation, translation or any other means. You shall affix the following copyright notice on any copy of the GDF Viewer, or any portion of the Licensed Products: “Software ©2011-2020 TomTom North America, Inc. All rights reserved.",
"Neither the Data nor the Licensed Products such as Speed Profiles or TomTom Traffic or any derivatives thereof shall be used for the purpose of enforcement of traffic laws including but not limited to the selection of potential locations for the installation of speed cameras, speed traps or other speed tracking devices. With regards to Speed Profiles, You acknowledge and agrees that the actual speeds may not reflect the legally imposed speed limits.",
"You specifically agree that it shall not: (i) store the data for more than twenty-four (24) hours on Your servers; (ii) broadcast or make Live Services Licensed Products available except to authorized End Users; and (iii) use the feed or information received via the feed for historical data purposes (including but not limited to collection or analysis).",
"Contains data licensed under CC-BY 4.0. For more information visit: * Kadaster Top10NL http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/29d5310f-dd0d-45ba-abad-b4ffc6b8785f?tab=general * Kadaster BGT http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2cb4769c-b56e-48fa-8685-c48f61b9a319?tab=general * CBS Bestand Bodemgebruik http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56?tab=general",
"Contains data licensed under CC-BY 2.0. For more information visit: * Municipality of Amsterdam Datasets Parkeergarages https://data.amsterdam.nl/index.html#?dte=https:%2F%2Fapi.datapunt.amsterdam.nl%2Fcatalogus%2Fapi%2F3%2Faction%2Fpackage_show%3Fid%3Df06f5a77-04f6-432f-9fd9-ce9d740631aa&dtfs=T&mpb=topografie&mpz=9&mpv=52.3719:4.9012",
"Contains data licensed under CC-BY 3.0. For more information visit: * Municipality of Amsterdam Multiple cat POI's https://data.amsterdam.nl/index.html#?dsd=dcatd&dsp=1&dsq=open%2520data&dsv=CATALOG&mpb=topografie&mpz=11&mpv=52.3731081:4.8932945",
"This product contains public transport stops data made available under 9292 Open Data framework as documented on March 2013. This is specified in their terms available here: http://9292opendata.org/sla",
"This product contains traffic incident information made available by NDW under open source data policy: https://www.ndw.nu/pagina/nl/103/datalevering/120/open_data/"
]
},
{
"country": {
"ISO3": "ONL",
"label": ""
},
"copyrights": [
"You agree to include as soon as practically possible, but no later than the first new release of the Authorized Application following Your receipt of any 3D Landmarks, any copyright notices related to the display of such landmarks on every Authorized Application and in the “about box” of the Authorized Application. Notwithstanding the aforementioned, TomTom has the right to decide, at its sole discretion, to remove specific 3D Landmarks in subsequent releases of the Licensed Products. In such case, You will remove those 3D Landmarks from the Authorized Application as soon as practically possible, but not later than the first new release of the Authorized Application following Your receipt of the Update to the Licensed Product. TomTom shall not be held responsible for any possible damages, costs or expenses incurred by You related to such removal of a 3D Landmark by TomTom from the Licensed Product or failure to remove a 3D Landmark by You from the Authorized Application.",
"TomTom hereby grants to You a non-exclusive, non-transferable license to use the Software Licensed Products for the sole and limited purpose of assisting You in viewing, analyzing and sectioning the Licensed Products. In no event shall You use the Software Licensed Products to view, analyze, section or in any way manipulate spatial map data that is not provided by TomTom. You shall not derive or attempt to derive the source code of all or any portion of the Licensed Products by reverse engineering, disassembly, decompilation, translation or any other means. You shall affix the following copyright notice on any copy of the GDF Viewer, or any portion of the Licensed Products: “Software ©2011-2020 TomTom North America, Inc. All rights reserved.",
"Neither the Data nor the Licensed Products such as Speed Profiles or TomTom Traffic or any derivatives thereof shall be used for the purpose of enforcement of traffic laws including but not limited to the selection of potential locations for the installation of speed cameras, speed traps or other speed tracking devices. With regards to Speed Profiles, You acknowledge and agrees that the actual speeds may not reflect the legally imposed speed limits.",
"You specifically agree that it shall not: (i) store the data for more than twenty-four (24) hours on Your servers; (ii) broadcast or make Live Services Licensed Products available except to authorized End Users; and (iii) use the feed or information received via the feed for historical data purposes (including but not limited to collection or analysis)."
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2024-04-01",
"tilesetId": "microsoft.base",
"zoom": 6,
"bounds": [
-122.414162,
47.579490,
-122.247157,
47.668372
]
},
"responses": {
"200": {
"headers": {},
"body": {
"copyrights": [
"<a data-azure-maps-attribution-tileset=\"microsoft.base\">&copy;2022 TomTom</a>"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"api-version": "2024-04-01",
"statesetId": "[statesetId]",
"zoom": 6,
"x": 10,
"y": 22
},
"responses": {
"200": {
"headers": {
"Content-Type": "application/vnd.mapbox-vector-tile"
},
"body": "{file}"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"api-version": "2024-04-01",
"zoom": 10,
"center": [
-122.177621,
47.613079
],
"tilesetId": "microsoft.base.road"
},
"responses": {
"200": {
"headers": {
"Content-Type": "image/png"
},
"body": "{file}"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"api-version": "2024-04-01",
"tilesetId": "microsoft.base",
"zoom": 6,
"x": 10,
"y": 22
},
"responses": {
"200": {
"headers": {
"Content-Type": "application/vnd.mapbox-vector-tile"
},
"body": "binary image string"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2024-04-01",
"tilesetId": "microsoft.base"
},
"responses": {
"200": {
"headers": {},
"body": {
"tilejson": "2.2.0",
"version": "1.0.0",
"attribution": "<a data-azure-maps-attribution-tileset=\"microsoft.base\">&copy;2022 TomTom</a>",
"scheme": "xyz",
"tiles": [
"https://atlas.microsoft.com/map/tile?api-version=2024-04-01&tilesetId={tilesetId}&zoom={zoom}&x={x}&y={y}"
],
"minzoom": 0,
"maxzoom": 22,
"bounds": [
-180.0,
-90.0,
180.0,
90.0
]
}
}
}
}
Loading