---
title: Geo referencing
summary: Read, extract and store the geo reference of a model version, and set the alignment matrix, from JavaScript, Java and the OpenAPI.
order: 40
languages: [javascript, java]
terms: [geo-reference, alignment, crs, version]
see-also: [explanation/geo-referencing-in-ifc, explanation/alignment, how-to/using-bimworks/set-a-geo-reference, how-to/viewer3d/geo-mode]
---

# Geo referencing

A [[term:geo-reference]] is stored per model [[term:version]]: latitude, longitude, elevation, rotation and the EPSG code they are expressed in, plus the *anchor point*, the point of the model the coordinates refer to. BIM.works keeps it as metadata, next to the IFC file, and the viewer uses it to place models in GEO mode ([[page:how-to/viewer3d/geo-mode]]). An [[term:alignment]] is a different thing: a 4×4 matrix on the version that moves the model relative to the others, in any mode.

The JavaScript SDK has the full set of calls under `client.gis` ([[js:@bimworks/jssdk/Gis|Gis]]); the Java SDK's `GisApi` ([[java:nl.bimbase.bimworks.client.apis.GisApi|GisApi]]) has get, set and extraction by EPSG code; the OpenAPI exposes the stored geo reference through the version ([[openapi:GetVersion]]) and has no operation to change it. The guides:

- [[page:how-to/geo/get-the-geo-reference]]
- [[page:how-to/geo/extract-from-epsg-or-wkt]]
- [[page:how-to/geo/get-the-footprint]]
- [[page:how-to/geo/set-the-geo-reference]]
- [[page:how-to/geo/set-the-alignment]]
