API Namespace Gis is used for GIS related API calls.

Constructors

Methods

  • Download one or multiple models serialized to CityGML

    Parameters

    Returns Promise<string>

  • Extract the GeoReference from the given Version by using the IfcMapConversion object, this is only available in IFC4 and later. This is the recommended way to extract geo references. Note, this to persist this extracted EPSG code on the model, subsequently use setGeoReference

    Parameters

    • versionUuid: string

    Returns Promise<GeoReferenceExtractionResult>

  • Extract the GeoReference from the given Version by using the IfcMapConversion information from a Pset, this is a fallback method in Ifc2x3 and not recommended to use. Note, this to persist this extracted EPSG code on the model, subsequently use setGeoReference

    Parameters

    • versionUuid: string

    Returns Promise<GeoReferenceExtractionResult>

  • Extract the GeoReference from the given Version by using a specific EPSG code. This method assumes that the LocalPlacement of IfcSite was used to write the x/y coordinates of the given EPSG system This method is not the recommended to extract geo refererences from models because it requires external data (the EPSG code) to extract the information and because it makes working with models in local coordinates confusing because of the large numbers
    Note, this to persist this extracted EPSG code on the model, subsequently use setGeoReference

    Parameters

    • versionUuid: string
    • epsgCode: string

    Returns Promise<GeoReferenceExtractionResult>

  • Extract the GeoReference from the given Version by using the latitude/longitude stored as attributes on the IfcSite object. This is not the recommended way to extract geo references from models because it's generally not accurately exported. Note, this to persist this extracted EPSG code on the model, subsequently use setGeoReference

    Parameters

    • versionUuid: string

    Returns Promise<GeoReferenceExtractionResult>

  • Extract the GeoReference from the given Version by using a specific WKT string. This can be useful for CRS definitions that do not exist in the EPSG database. This method assumes that the LocalPlacement of IfcSite was used to write the x/y coordinates of the given EPSG system This method is not the recommended to extract geo refererences from models because it requires external data (the EPSG code) to extract the information and because it makes working with models in local coordinates confusing because of the large numbers
    Note, this to persist this extracted EPSG code on the model, subsequently use setGeoReference

    Parameters

    • versionUuid: string
    • wkt: string

    Returns Promise<GeoReferenceExtractionResult>

  • Generate a 3D Tiles URL for all models in a specific Node. Keep in mind that the nodeUuid will become part of the URL, and should not be shared publicly Also the content available on this URL is dynamic, when models are added/removed to/from this node, it will be reflected in the tile stream Also the returned URL will recusively read all the models, so also from subfolders

    Parameters

    • nodeUuid: string
    • Optionalsettings: unknown

    Returns Promise<string>

  • Set/update the GeoReference of the given Version

    Parameters

    Returns Promise<unknown>