Api session overlays: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
API Endpoint: api/session/overlays | API Endpoint: api/session/overlays | ||
===GET | ===GET wms=== | ||
API Endpoint: web/ | API Endpoint: web/wms | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 17: | Line 15: | ||
| Integer | | Integer | ||
| | | | ||
|- | |||
| request | |||
| Query | |||
| [[Request]] | |||
| GetCapabilities | |||
|- | |||
| bbox | |||
| Query | |||
| String | |||
| | |||
|- | |||
| width | |||
| Query | |||
| int | |||
| 256 | |||
|- | |||
| height | |||
| Query | |||
| int | |||
| 256 | |||
|- | |||
| layers | |||
| Query | |||
| String | |||
| | |||
|- | |||
| layer | |||
| Query | |||
| String | |||
| | |||
|- | |||
| timeframe | |||
| Query | |||
| int | |||
| 0 | |||
|- | |- | ||
| crs | | crs | ||
| Line 22: | Line 55: | ||
| String | | String | ||
| EPSG:3857 | | EPSG:3857 | ||
|- | |||
| forcexy | |||
| Query | |||
| Boolean | |||
| | |||
|- | |||
| maptype | |||
| Query | |||
| [[Map Type]] | |||
| MAQUETTE | |||
|- | |||
| x | |||
| Query | |||
| int | |||
| -1 | |||
|- | |||
| y | |||
| Query | |||
| int | |||
| -1 | |||
|- | |||
| i | |||
| Query | |||
| int | |||
| -1 | |||
|- | |||
| j | |||
| Query | |||
| int | |||
| -1 | |||
|- | |||
| bgcolor | |||
| Query | |||
| String | |||
| | |||
|- | |||
| format | |||
| Query | |||
| String | |||
| | |||
|- | |||
| info_format | |||
| Query | |||
| String | |||
| text/plain | |||
|- | |||
| walled | |||
| Query | |||
| boolean | |||
| true | |||
|- | |||
| styles | |||
| Query | |||
| String | |||
| | |||
|} | |} | ||
===='''Examples==== | |||
'''Basic Endpoint''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&token=WEB_TOKEN</syntaxhighlight> | |||
'''Query for MapType: CURRENT''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&maptype=CURRENT&token=WEB_TOKEN</syntaxhighlight> | |||
'''Query for Grid Style: INTERPOLATED''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=INTERPOLATED&token=WEB_TOKEN</syntaxhighlight> | |||
'''Query for Grid Style: NEAREST''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=NEAREST&token=WEB_TOKEN</syntaxhighlight> | |||
'''Query for Grid Style: ARROW''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=ARROW&token=WEB_TOKEN</syntaxhighlight> | |||
'''Query for Grid Style: COLOR''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=COLOR&token=WEB_TOKEN</syntaxhighlight> | |||
'''Query for Grid Style: FLOAT32''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=FLOAT32&token=WEB_TOKEN</syntaxhighlight> | |||
'''Query for Grid Style: DIFFERENCE''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=DIFFERENCE&token=WEB_TOKEN</syntaxhighlight> | |||
{{article end | {{article end | ||
Revision as of 11:43, 15 June 2026
API Endpoint: api/session/overlays
GET wms
API Endpoint: web/wms
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| webStakeholderID | Header | Integer | |
| request | Query | Request | GetCapabilities |
| bbox | Query | String | |
| width | Query | int | 256 |
| height | Query | int | 256 |
| layers | Query | String | |
| layer | Query | String | |
| timeframe | Query | int | 0 |
| crs | Query | String | EPSG:3857 |
| forcexy | Query | Boolean | |
| maptype | Query | Map Type | MAQUETTE |
| x | Query | int | -1 |
| y | Query | int | -1 |
| i | Query | int | -1 |
| j | Query | int | -1 |
| bgcolor | Query | String | |
| format | Query | String | |
| info_format | Query | String | text/plain |
| walled | Query | boolean | true |
| styles | Query | String |
Examples
Basic Endpoint:
https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&token=WEB_TOKENQuery for MapType: CURRENT:
https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&maptype=CURRENT&token=WEB_TOKENQuery for Grid Style: INTERPOLATED:
https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=INTERPOLATED&token=WEB_TOKENQuery for Grid Style: NEAREST:
https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=NEAREST&token=WEB_TOKENQuery for Grid Style: ARROW:
https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=ARROW&token=WEB_TOKENQuery for Grid Style: COLOR:
https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=COLOR&token=WEB_TOKENQuery for Grid Style: FLOAT32:
https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=FLOAT32&token=WEB_TOKENQuery for Grid Style: DIFFERENCE:
https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=DIFFERENCE&token=WEB_TOKEN