Web water: Difference between revisions
Jump to navigation
Jump to search
Created page with "API Endpoint: web/water.{format} ===GET water.{format}=== API Endpoint: web/water.{format} '''Parameters:''' {|class=wikitable !Name !Location !Type !Default value |- | format | Path | String | |- | id | Query | Integer | |- | maptype | Query | Map Type | MAQUETTE |- | width | Query | int | 256 |- | height | Query | int | 256 |- | offset | Query | float | 0 |- | flipY | Query | boolean | false |- | worlddatum | Query | boolean | false |- | decimation | Query | in..." |
No edit summary |
||
| Line 1: | Line 1: | ||
API Endpoint: web/water. | API Endpoint: web/water.txt | ||
===GET water.{format}=== | ===GET water.txt=== | ||
API Endpoint: web/water.{format} | API Endpoint: web/water.txt | ||
'''Parameters:''' | |||
{|class=wikitable | |||
!Name | |||
!Location | |||
!Type | |||
!Default value | |||
|- | |||
| format | |||
| Path | |||
| String | |||
| | |||
|- | |||
| id | |||
| Query | |||
| Integer | |||
| | |||
|- | |||
| maptype | |||
| Query | |||
| [[Map Type]] | |||
| MAQUETTE | |||
|- | |||
| width | |||
| Query | |||
| int | |||
| 256 | |||
|- | |||
| height | |||
| Query | |||
| int | |||
| 256 | |||
|- | |||
| offset | |||
| Query | |||
| float | |||
| 0 | |||
|- | |||
| flipY | |||
| Query | |||
| boolean | |||
| false | |||
|- | |||
| worlddatum | |||
| Query | |||
| boolean | |||
| false | |||
|- | |||
| decimation | |||
| Query | |||
| int | |||
| 16 | |||
|} | |||
===='''Examples==== | |||
'''Query Water instead of Terrain elevation''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.txt?token=WEB_TOKEN</syntaxhighlight> | |||
'''Query Water instead of Terrain elevation''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.tex?token=WEB_TOKEN</syntaxhighlight> | |||
'''Query Water instead of Terrain elevation''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.bin?token=WEB_TOKEN</syntaxhighlight> | |||
===GET water.tex=== | |||
API Endpoint: web/water.tex | |||
'''Parameters:''' | |||
{|class=wikitable | |||
!Name | |||
!Location | |||
!Type | |||
!Default value | |||
|- | |||
| format | |||
| Path | |||
| String | |||
| | |||
|- | |||
| id | |||
| Query | |||
| Integer | |||
| | |||
|- | |||
| maptype | |||
| Query | |||
| [[Map Type]] | |||
| MAQUETTE | |||
|- | |||
| width | |||
| Query | |||
| int | |||
| 256 | |||
|- | |||
| height | |||
| Query | |||
| int | |||
| 256 | |||
|- | |||
| offset | |||
| Query | |||
| float | |||
| 0 | |||
|- | |||
| flipY | |||
| Query | |||
| boolean | |||
| false | |||
|- | |||
| worlddatum | |||
| Query | |||
| boolean | |||
| false | |||
|- | |||
| decimation | |||
| Query | |||
| int | |||
| 16 | |||
|} | |||
===='''Examples==== | |||
'''Query Water instead of Terrain elevation''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.txt?token=WEB_TOKEN</syntaxhighlight> | |||
'''Query Water instead of Terrain elevation''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.tex?token=WEB_TOKEN</syntaxhighlight> | |||
'''Query Water instead of Terrain elevation''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.bin?token=WEB_TOKEN</syntaxhighlight> | |||
===GET water.bin=== | |||
API Endpoint: web/water.bin | |||
'''Parameters:''' | '''Parameters:''' | ||
Revision as of 08:09, 19 June 2026
API Endpoint: web/water.txt
GET water.txt
API Endpoint: web/water.txt
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| format | Path | String | |
| id | Query | Integer | |
| maptype | Query | Map Type | MAQUETTE |
| width | Query | int | 256 |
| height | Query | int | 256 |
| offset | Query | float | 0 |
| flipY | Query | boolean | false |
| worlddatum | Query | boolean | false |
| decimation | Query | int | 16 |
Examples
Query Water instead of Terrain elevation:
https://engine.tygron.com/web/water.txt?token=WEB_TOKENQuery Water instead of Terrain elevation:
https://engine.tygron.com/web/water.tex?token=WEB_TOKENQuery Water instead of Terrain elevation:
https://engine.tygron.com/web/water.bin?token=WEB_TOKENGET water.tex
API Endpoint: web/water.tex
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| format | Path | String | |
| id | Query | Integer | |
| maptype | Query | Map Type | MAQUETTE |
| width | Query | int | 256 |
| height | Query | int | 256 |
| offset | Query | float | 0 |
| flipY | Query | boolean | false |
| worlddatum | Query | boolean | false |
| decimation | Query | int | 16 |
Examples
Query Water instead of Terrain elevation:
https://engine.tygron.com/web/water.txt?token=WEB_TOKENQuery Water instead of Terrain elevation:
https://engine.tygron.com/web/water.tex?token=WEB_TOKENQuery Water instead of Terrain elevation:
https://engine.tygron.com/web/water.bin?token=WEB_TOKENGET water.bin
API Endpoint: web/water.bin
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| format | Path | String | |
| id | Query | Integer | |
| maptype | Query | Map Type | MAQUETTE |
| width | Query | int | 256 |
| height | Query | int | 256 |
| offset | Query | float | 0 |
| flipY | Query | boolean | false |
| worlddatum | Query | boolean | false |
| decimation | Query | int | 16 |
Examples
Query Water instead of Terrain elevation:
https://engine.tygron.com/web/water.txt?token=WEB_TOKENQuery Water instead of Terrain elevation:
https://engine.tygron.com/web/water.tex?token=WEB_TOKENQuery Water instead of Terrain elevation:
https://engine.tygron.com/web/water.bin?token=WEB_TOKEN