CityGML

load citygml files using the loadmodel docid xdql7190ezuig6zbcais method supported formats are gml , city json and gmlzip example 1\ create a download token request a create download token docid\ kiztmyh6f3ldtn8 gi3fl for the asset stored in the documents section providing the format model/gltf binary curl request post \\ \ url 'https //api catenda com/v2/projects/{project id}/libraries/{library id}/items/{document id}/token?format=model/gltf binary' \\ \ header 'authorization bearer your access token' 2\ use the token to load the model invoke the loadmodel method with the asset url, model type and format const options = { modeltype "mesh", format "gltf" }; const url = "https //api catenda com/v2/download?token={token}"; viewer3d loadmodel(url, options);