Web 3dtiles Endpoint: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


==QM==
==QM==
===getQMLayer===
Path: web/3dtiles/layer.json
Type: GET
Produces: application/json
'''Parameters:''' None
===getQuantizedMesh===
===getQuantizedMesh===
Path: web/3dtiles/{z}/{x}/{y}.terrain
Path: web/3dtiles/{z}/{x}/{y}.terrain
Line 45: Line 37:
|}
|}


===getQMLayer===
Path: web/3dtiles/layer.json
Type: GET
Produces: application/json
'''Parameters:''' None
==Tiles3D==
==Tiles3D==
===getTile===
===getTile===
Line 166: Line 166:
'''GET Examples''':
'''GET Examples''':


Basic endpoint:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?token=WEB_TOKEN</syntaxhighlight>
Basic endpoint:
Basic endpoint:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?token=WEB_TOKEN</syntaxhighlight>
Query for MapType: CURRENT:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?maptype=CURRENT&token=WEB_TOKEN</syntaxhighlight>
Query for MapType: CURRENT:
Query for MapType: CURRENT:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?maptype=CURRENT&token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?maptype=CURRENT&token=WEB_TOKEN</syntaxhighlight>
Model Style: WHITE:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?style=WHITE&token=WEB_TOKEN</syntaxhighlight>
Model Style: WHITE:
Model Style: WHITE:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?style=WHITE&token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?style=WHITE&token=WEB_TOKEN</syntaxhighlight>
Model Style: COLORED:
Model Style: COLORED:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?style=COLORED&token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?style=COLORED&token=WEB_TOKEN</syntaxhighlight>
Model Style: COLORED:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?style=COLORED&token=WEB_TOKEN</syntaxhighlight>
Texture Size (smaller reduces memory): SMALL:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?texture=SMALL&token=WEB_TOKEN</syntaxhighlight>
Texture Size (smaller reduces memory): SMALL:
Texture Size (smaller reduces memory): SMALL:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?texture=SMALL&token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?texture=SMALL&token=WEB_TOKEN</syntaxhighlight>
Texture Size (smaller reduces memory): MEDIUM:
Texture Size (smaller reduces memory): MEDIUM:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?texture=MEDIUM&token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?texture=MEDIUM&token=WEB_TOKEN</syntaxhighlight>
Texture Size (smaller reduces memory): MEDIUM:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?texture=MEDIUM&token=WEB_TOKEN</syntaxhighlight>
Texture Size (smaller reduces memory): LARGE:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?texture=LARGE&token=WEB_TOKEN</syntaxhighlight>
Texture Size (smaller reduces memory): LARGE:
Texture Size (smaller reduces memory): LARGE:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?texture=LARGE&token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?texture=LARGE&token=WEB_TOKEN</syntaxhighlight>
Model Spacing (larger means e.g. trees further apart): 1.0:
Model Spacing (larger means e.g. trees further apart): 1.0:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?spacing=1.0&token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?spacing=1.0&token=WEB_TOKEN</syntaxhighlight>
Model Spacing (larger means e.g. trees further apart): 1.0:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?spacing=1.0&token=WEB_TOKEN</syntaxhighlight>
Model Spacing (larger means e.g. trees further apart): 2.0:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?spacing=2.0&token=WEB_TOKEN</syntaxhighlight>
Model Spacing (larger means e.g. trees further apart): 2.0:
Model Spacing (larger means e.g. trees further apart): 2.0:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?spacing=2.0&token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?spacing=2.0&token=WEB_TOKEN</syntaxhighlight>
Model Spacing (larger means e.g. trees further apart): 4.0:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?spacing=4.0&token=WEB_TOKEN</syntaxhighlight>
Model Spacing (larger means e.g. trees further apart): 4.0:
Model Spacing (larger means e.g. trees further apart): 4.0:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?spacing=4.0&token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/3dtiles/tileset.json?spacing=4.0&token=WEB_TOKEN</syntaxhighlight>

Revision as of 14:37, 10 June 2026

General path: web/3dtiles/

QM

getQuantizedMesh

Path: web/3dtiles/{z}/{x}/{y}.terrain

Type: GET

Produces: application/vnd.quantized-mesh

Parameters:

Name Location Type Default value
z Path Integer
x Path Integer
y Path Integer
v Query String

getQMLayer

Path: web/3dtiles/layer.json

Type: GET

Produces: application/json

Parameters: None

Tiles3D

getTile

Path: web/3dtiles/{id}.gltf

Type: GET

Parameters:

Name Location Type Default value
style Query WebModelStyle WHITE
maptype Query Map Type MAQUETTE
id Path Integer
custom Query boolean false
detail Query boolean false
texture Query TextureSize MEDIUM
spacing Query double 2.0

getAssets

Path: web/3dtiles/Textures/{path : [a-zA-Z0-9/._-]+}

Type: GET

Produces: image/png , image/jpeg

Parameters:

Name Location Type Default value
path Path String

getTileset

Path: web/3dtiles/tileset.json

Type: GET

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

GET 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