Api session 3dtiles

From Tygron Support wiki
Jump to navigation Jump to search

API Endpoint: api/session/3dtiles

GET tileset.json

API Endpoint: web/3dtiles/tileset.json

Produces: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
style Query WebModelStyle WHITE
maptype Query Map Type MAQUETTE
texture Query TextureSize MEDIUM
spacing Query double 2.0
bbox Query String
crs Query String LOCAL

Examples

Basic endpoint:

https://engine.tygron.com/web/3dtiles/tileset.json?token=WEB_TOKEN

Query for MapType: CURRENT:

https://engine.tygron.com/web/3dtiles/tileset.json?maptype=CURRENT&token=WEB_TOKEN

Model Style: WHITE:

https://engine.tygron.com/web/3dtiles/tileset.json?style=WHITE&token=WEB_TOKEN

Model Style: COLORED:

https://engine.tygron.com/web/3dtiles/tileset.json?style=COLORED&token=WEB_TOKEN

Texture Size (smaller reduces memory): SMALL:

https://engine.tygron.com/web/3dtiles/tileset.json?texture=SMALL&token=WEB_TOKEN

Texture Size (smaller reduces memory): MEDIUM:

https://engine.tygron.com/web/3dtiles/tileset.json?texture=MEDIUM&token=WEB_TOKEN

Texture Size (smaller reduces memory): LARGE:

https://engine.tygron.com/web/3dtiles/tileset.json?texture=LARGE&token=WEB_TOKEN

Model Spacing (larger means e.g. trees further apart): 1.0:

https://engine.tygron.com/web/3dtiles/tileset.json?spacing=1.0&token=WEB_TOKEN

Model Spacing (larger means e.g. trees further apart): 2.0:

https://engine.tygron.com/web/3dtiles/tileset.json?spacing=2.0&token=WEB_TOKEN

Model Spacing (larger means e.g. trees further apart): 4.0:

https://engine.tygron.com/web/3dtiles/tileset.json?spacing=4.0&token=WEB_TOKEN

See also