Web

From Tygron Support wiki
Revision as of 09:05, 19 June 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Endpoint: web/ ===GET wms=== API Endpoint: web/wms '''Parameters:''' {|class=wikitable !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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Endpoint: web/

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_TOKEN

Query for MapType: CURRENT:

https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&maptype=CURRENT&token=WEB_TOKEN

Query for Grid Style: INTERPOLATED:

https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=INTERPOLATED&token=WEB_TOKEN

Query for Grid Style: NEAREST:

https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=NEAREST&token=WEB_TOKEN

Query for Grid Style: ARROW:

https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=ARROW&token=WEB_TOKEN

Query for Grid Style: COLOR:

https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=COLOR&token=WEB_TOKEN

Query for Grid Style: FLOAT32:

https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=FLOAT32&token=WEB_TOKEN

Query for Grid Style: DIFFERENCE:

https://engine.tygron.com/web/wms?REQUEST=GetCapabilities&styles=DIFFERENCE&token=WEB_TOKEN

GET png

API Endpoint: web/overlay.png

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
maptype Query Map Type MAQUETTE
bbox Query String
width Query int 256
height Query int 256
id Query Integer -1
timeframe Query int 0
crs Query String EPSG:3857
forcexy Query Boolean
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/overlay.png?id=ID&token=WEB_TOKEN

Query with BBOX (EPSG:3857):

https://engine.tygron.com/web/overlay.png?id=ID&crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=WEB_TOKEN

Query with width=512 and height=512:

https://engine.tygron.com/web/overlay.png?id=ID&width=512&height=512&token=WEB_TOKEN

Query for Timeframe: 0:

https://engine.tygron.com/web/overlay.png?id=ID&timeframe=0&token=WEB_TOKEN

Query for MapType: CURRENT:

https://engine.tygron.com/web/overlay.png?id=ID&maptype=CURRENT&token=WEB_TOKEN

GET txt

API Endpoint: web/terrain.txt

Parameters:

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 false
decimation Query int 16

Examples

Basic Query:

https://engine.tygron.com/web/terrain.txt?&token=WEB_TOKEN

Query with BBOX (EPSG:3857):

https://engine.tygron.com/web/terrain.txt?&crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=WEB_TOKEN

Query with width=16 and height=16:

https://engine.tygron.com/web/terrain.txt?width=16&height=16&token=WEB_TOKEN

Query for MapType: CURRENT:

https://engine.tygron.com/web/terrain.txt?maptype=CURRENT&token=WEB_TOKEN

Query with World instead of CRS Datum:

https://engine.tygron.com/web/terrain.txt?worlddatum=true&token=WEB_TOKEN

GET 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_TOKEN

GET txt

API Endpoint: web/terrain/{z}/{x}/{y}.txt

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_TOKEN

GET tex

API Endpoint: web/terrain.tex

Parameters:

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 false
decimation Query int 16

Examples

Basic Query:

https://engine.tygron.com/web/terrain.tex?&token=WEB_TOKEN

Query with BBOX (EPSG:3857):

https://engine.tygron.com/web/terrain.tex?&crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=WEB_TOKEN

Query with width=16 and height=16:

https://engine.tygron.com/web/terrain.tex?width=16&height=16&token=WEB_TOKEN

Query for MapType: CURRENT:

https://engine.tygron.com/web/terrain.tex?maptype=CURRENT&token=WEB_TOKEN

Query with World instead of CRS Datum:

https://engine.tygron.com/web/terrain.tex?worlddatum=true&token=WEB_TOKEN

GET 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.tex?token=WEB_TOKEN

GET tex

API Endpoint: web/terrain/{z}/{x}/{y}.tex

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}.tex:

https://engine.tygron.com/web/terrain/3/2/1.tex?token=WEB_TOKEN

GET bin

API Endpoint: web/terrain.bin

Parameters:

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 false
decimation Query int 16

Examples

Basic Query:

https://engine.tygron.com/web/terrain.bin?&token=WEB_TOKEN

Query with BBOX (EPSG:3857):

https://engine.tygron.com/web/terrain.bin?&crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=WEB_TOKEN

Query with width=16 and height=16:

https://engine.tygron.com/web/terrain.bin?width=16&height=16&token=WEB_TOKEN

Query for MapType: CURRENT:

https://engine.tygron.com/web/terrain.bin?maptype=CURRENT&token=WEB_TOKEN

Query with World instead of CRS Datum:

https://engine.tygron.com/web/terrain.bin?worlddatum=true&token=WEB_TOKEN

GET 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.bin?token=WEB_TOKEN

GET bin

API Endpoint: web/terrain/{z}/{x}/{y}.bin

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}.bin:

https://engine.tygron.com/web/terrain/3/2/1.bin?token=WEB_TOKEN

GET html

API Endpoint: web/2dmap.html

Response Content-Type: text/html

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
base Query WebBaseMap

Examples

2D Map (OpenLayers):

https://engine.tygron.com/web/2dmap.html?token=WEB_TOKEN

GET html

API Endpoint: web/3dmap.html

Response Content-Type: text/html

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
overlay Query Integer
base Query WebBaseMap
style Query WebModelStyle
shadow Query Boolean
texture Query TextureSize
spacing Query Double

Examples

3D Map (Cesium):

https://engine.tygron.com/web/3dmap.html?token=WEB_TOKEN

GET geojson

API Endpoint: web/indicators.geojson

Response Content-Type: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857

Examples

Indicators:

https://engine.tygron.com/web/indicators.geojson?token=WEB_TOKEN

GET geojson

API Endpoint: web/overlays.geojson

Response Content-Type: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857

Examples

Overlays:

https://engine.tygron.com/web/overlays.geojson?token=WEB_TOKEN

Web Viewer Endpoint (GeoJSON):

https://engine.tygron.com/web/overlays.geojson?&token=WEB_TOKEN

GET geojson

API Endpoint: web/neighborhoods.geojson

Response Content-Type: application/json

Parameters:

Name Location Type Default value
crs Query String EPSG:3857

Examples

Neighborhoods:

https://engine.tygron.com/web/neighborhoods.geojson?token=WEB_TOKEN

GET geojson

API Endpoint: web/actionmenus.geojson

Response Content-Type: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857

Examples

Actions:

https://engine.tygron.com/web/actionmenus.geojson?token=WEB_TOKEN

GET geojson

API Endpoint: web/popups.geojson

Response Content-Type: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
bbox Query String
crs Query String EPSG:3857

Examples

Popups:

https://engine.tygron.com/web/popups.geojson?token=WEB_TOKEN

GET geojson

API Endpoint: web/lines.geojson

Response Content-Type: application/json

Parameters:

Name Location Type Default value
bbox Query String
minlength Query Double
maxlength Query Double
type Query Net Type
crs Query String EPSG:3857

Examples

Lines:

https://engine.tygron.com/web/lines.geojson?token=WEB_TOKEN

GET geojson

API Endpoint: web/scenarios.geojson

Response Content-Type: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857

Examples

Scenarios:

https://engine.tygron.com/web/scenarios.geojson?token=WEB_TOKEN

GET html

API Endpoint: web/indicator.html

Response Content-Type: text/html

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
id Query Integer -1
css Query boolean true
maptype Query Map Type MAQUETTE

Examples

Web indicator:

https://engine.tygron.com/web/indicator.html?id=ID&token=WEB_TOKEN

GET geojson

API Endpoint: web/actionmenuactions.geojson

Response Content-Type: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857
id Query Integer -1

Examples

Web actionmenuactions:

https://engine.tygron.com/web/actionmenuactions.geojson?id=ID&token=WEB_TOKEN

GET geojson

API Endpoint: web/measure.geojson

Response Content-Type: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857
forcexy Query Boolean
id Query Integer -1

Examples

Web measure:

https://engine.tygron.com/web/measure.geojson?id=ID&id=ID&token=WEB_TOKEN

GET html

API Endpoint: web/popup.html

Response Content-Type: text/html

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
stakeholderid Query Integer -1
id Query Integer -1
css Query Boolean

Examples

Web popup:

https://engine.tygron.com/web/popup.html?id=ID&token=WEB_TOKEN

See also