Web terrain: Difference between revisions
Jump to navigation
Jump to search
Created page with "API Endpoint: web/terrain.{format} ===GET terrain.{format}=== API Endpoint: web/terrain.{format} '''Parameters:''' {|class=wikitable !Name !Location !Type !Default value |- | format | Path | String | |- | bbox | Query | String | |- | crs | Query | String | EPSG:3857 |- | id | Query | Integer | |- | maptype | Query | Map Type | MAQUETTE |- | width | Query | int | 256 |- | height | Query | int | 256 |- | offset | Query | float | 0 |- | worlddatum | Query | boolean..." |
No edit summary |
||
| Line 1: | Line 1: | ||
API Endpoint: web/terrain.{format} | API Endpoint: web/terrain/{z}/{x}/{y}.{format} | ||
===GET terrain.{format}=== | ===GET terrain/{z}/{x}/{y}.{format}=== | ||
API Endpoint: web/terrain.{format} | API Endpoint: web/terrain/{z}/{x}/{y}.{format} | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 16: | Line 16: | ||
| | | | ||
|- | |- | ||
| | | z | ||
| | | Path | ||
| | | int | ||
| | | | ||
|- | |- | ||
| | | x | ||
| | | Path | ||
| | | int | ||
| | | | ||
|- | |- | ||
| | | y | ||
| | | Path | ||
| | | int | ||
| | | | ||
|- | |- | ||
| | | v | ||
| Query | | Query | ||
| | | String | ||
| | | | ||
|- | |- | ||
| width | | width | ||
| Line 50: | Line 50: | ||
| float | | float | ||
| 0 | | 0 | ||
|- | |||
| maptype | |||
| Query | |||
| [[Map Type]] | |||
| MAQUETTE | |||
|- | |- | ||
| worlddatum | | worlddatum | ||
| Line 63: | Line 68: | ||
===='''Examples==== | ===='''Examples==== | ||
''' | '''Query Tiling endpoint: /terrain/{y}/{x}/{y}.txt''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/terrain/3/2/1.txt?token=WEB_TOKEN</syntaxhighlight> | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/terrain | |||
'''Query | '''Query Tiling endpoint: /terrain/{y}/{x}/{y}.tex''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/terrain. | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/terrain/3/2/1.tex?token=WEB_TOKEN</syntaxhighlight> | ||
'''Query | '''Query Tiling endpoint: /terrain/{y}/{x}/{y}.bin''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/terrain.bin? | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/terrain/3/2/1.bin?token=WEB_TOKEN</syntaxhighlight> | ||
{{article end | {{article end | ||
Revision as of 15:02, 15 June 2026
API Endpoint: web/terrain/{z}/{x}/{y}.{format}
GET terrain/{z}/{x}/{y}.{format}
API Endpoint: web/terrain/{z}/{x}/{y}.{format}
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| format | Path | String | |
| z | Path | int | |
| x | Path | int | |
| y | Path | int | |
| v | Query | String | |
| width | Query | int | 256 |
| height | Query | int | 256 |
| offset | Query | float | 0 |
| maptype | Query | Map Type | MAQUETTE |
| worlddatum | Query | boolean | false |
| decimation | Query | int | 16 |
Examples
Query Tiling endpoint: /terrain/{y}/{x}/{y}.txt:
https://engine.tygron.com/web/terrain/3/2/1.txt?token=WEB_TOKENQuery Tiling endpoint: /terrain/{y}/{x}/{y}.tex:
https://engine.tygron.com/web/terrain/3/2/1.tex?token=WEB_TOKENQuery Tiling endpoint: /terrain/{y}/{x}/{y}.bin:
https://engine.tygron.com/web/terrain/3/2/1.bin?token=WEB_TOKEN