The Problem
I’ve discovered that space.locationProfiles[0].id can be duplicated across multiple physical spaces (e.g., two “Classroom 1” rooms in different buildings share the same locationProfiles ID: loc_7ececa8d243e0639). This causes issues when trying to uniquely identify rooms.
Looking at the MVF bundle structure:
-
locations.jsonshows that each location has multiplegeometryAnchors, each with a uniquegeometryId(format:g_xxx) -
The
geometry/*.geojsonfiles contain polygon features withproperties.idmatching these geometryIds// From locations.json
{
“id”: “loc_7ececa8d243e0639”,
“details”: {“name”: “Classroom 1”},
“geometryAnchors”: [
{“geometryId”: “g_ff33b46ae249e48d”, “floorId”: “f_90bea84dbc84ccc0”},
{“geometryId”: “g_3f36faa9d834f506”, “floorId”: “f_9b293a5d6e6f2075”}
]
}What I Need
I need to access the geometryId (the
g_xxxidentifier) for each space to use as a unique location identifier.What I’ve Tried
-
Checked
space.polygonandspace.polygons- Both returnundefined -
Checked
space.geoJSON.properties- Returnsnull -
Checked space object keys - Only shows
['id', '__type'] -
Explored
space.id- Returns formats_ff33b46ae249e48d(note thes_prefix instead ofg_)Questions
-
Is there an official SDK method to access the geometryId from a Space object?
-
what’s the recommended approach to get a unique identifier per physical space that matches the geometry bundle data?**
**
-
-