CRSLocationData
The complete set of properties that define a Coordinate Reference System location.
This interface closely mirrors the IFC IfcProjectedCRS and
IfcMapConversion specifications. Use CRSLocation (which
implements this interface) to work with CRS data in the SDK.
Properties
Section titled “Properties”calibrationFileName?
Section titled “calibrationFileName?”
readonlyoptionalcalibrationFileName?:string
Optional metadata that should be set IF the CRS was defined from a calibration file.
Calibration files are typically either .jxl or .dc files.
description?
Section titled “description?”
readonlyoptionaldescription?:string
The description of the coordinate reference system.
This should not be parsed in any meaningful way.
eastings
Section titled “eastings”
readonlyeastings:number
The offset in the “X” direction from the CRS center to the origin of the SketchUp model
geodeticDatum?
Section titled “geodeticDatum?”
readonlyoptionalgeodeticDatum?:string
Optional string that identifies the geodetic datum for the CRS. Typically only defined if the “name” field is not specific enough
height
Section titled “height”
readonlyheight:number
The offset from “0” in the “Z” direction at the origin of the SketchUp model
mapProjection?
Section titled “mapProjection?”
readonlyoptionalmapProjection?:string
Optional string that identifies the map projection used by the CRS. Typically only defined if the “name” field is not specific enough
mapUnit?
Section titled “mapUnit?”
readonlyoptionalmapUnit?:MapUnit
Optional unit for the CRS
If not defined, Meters is assumed. When overriding this value, make sure to set the appropriate value for scale.
mapZone?
Section titled “mapZone?”
readonlyoptionalmapZone?:string
Optional string that identifies the map zone used by the CRS. Typically only defined if the “name” field is not specific enough
readonlyname:string
The name of the coordinate reference system being used.
It is convention for this to reference an EPSG code in the form “EPSG:27700”
northings
Section titled “northings”
readonlynorthings:number
The offset in the “Y” direction from the CRS center to the origin of the SketchUp model
scale?
Section titled “scale?”
readonlyoptionalscale?:number
Represents the conversion between the units of the SketchUp coordinate system (inches) and the units of the CRS.
If not present, the scale will be determined based on the map unit If the map unit is not present, it is assumed to be Meters and this will default to
tglID?
Section titled “tglID?”
readonlyoptionaltglID?:string
If present - the Trimble Geodetic Library encoding of the CRS This can be used to perform conversions between the CRS and WGS84
verticalDatum?
Section titled “verticalDatum?”
readonlyoptionalverticalDatum?:string
Optional string that identifies the map zone used by the CRS. Typically only defined if the “name” field is not specific enough
xAxis?
Section titled “xAxis?”
readonlyoptionalxAxis?:Vector2Like
The direction vector of the xAxis as projected on the 2d plane of the CRS
The x value represents the xAxisAbscissa from the IFC spec The y value represents the xAxisOrdinate from the IFC spec
If not present the vector [1, 0] is assumed