# Title: How to access geometryId from Space object in MappedIn Web SDK v6? Body: Hi MappedIn community, I'm working with the MappedIn Web SDK v6 (v6.11.0) and need help accessing the geometryId for spaces in my application

**URL:** <https://community.mappedin.com/t/title-how-to-access-geometryid-from-space-object-in-mappedin-web-sdk-v6-body-hi-mappedin-community-im-working-with-the-mappedin-web-sdk-v6-v6-11-0-and-need-help-accessing-the-geometryid-for-spaces-in-my-application/526>\
**Category:** Mappedin JS\
**Created:** [March 18, 2026, 3:58pm UTC](https://community.mappedin.com/t/title-how-to-access-geometryid-from-space-object-in-mappedin-web-sdk-v6-body-hi-mappedin-community-im-working-with-the-mappedin-web-sdk-v6-v6-11-0-and-need-help-accessing-the-geometryid-for-spaces-in-my-application/526 "2026-03-18T15:58:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarah](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Sarah](https://community.mappedin.com/u/Sarah)\
**Post date:** [March 18, 2026, 3:58pm UTC](https://community.mappedin.com/t/title-how-to-access-geometryid-from-space-object-in-mappedin-web-sdk-v6-body-hi-mappedin-community-im-working-with-the-mappedin-web-sdk-v6-v6-11-0-and-need-help-accessing-the-geometryid-for-spaces-in-my-application/526/1 "2026-03-18T15:58:00Z")

</div>

## 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.json` shows that each location has multiple `geometryAnchors`, each with a unique `geometryId` (format: `g_xxx`)

- The `geometry/*.geojson` files contain polygon features with `properties.id` matching these geometryIds

---

<div class="post-metadata">

**Author:** ![msohm](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/msohm/32/6_2.png) [@msohm](https://community.mappedin.com/u/msohm)\
**Post date:** [March 18, 2026, 6:14pm UTC](https://community.mappedin.com/t/title-how-to-access-geometryid-from-space-object-in-mappedin-web-sdk-v6-body-hi-mappedin-community-im-working-with-the-mappedin-web-sdk-v6-v6-11-0-and-need-help-accessing-the-geometryid-for-spaces-in-my-application/526/2 "2026-03-18T18:14:44Z")

</div>

To begin, keep in mind that the ID values are ephemeral and designed to be used at runtime only. They can and will change when the map is edited. If you need static IDs that you can reference in your app the externalId field is designed for this use case. The SDK doesn’t expose the geometry IDs from the space object.

It is true that a Location can be assigned to multiple spaces. This allows a single entry such as Washroom to be used on multiple rooms.

However, you could create multiple similar locations and assign them to different spaces in the editor if you need to uniquely identify them that way. You could also look at other meta data, such as the FloorStack (building) or Floor of the Space.

---

<div class="post-metadata">

**Author:** ![msohm](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/msohm/32/6_2.png) [@msohm](https://community.mappedin.com/u/msohm)\
**Post date:** [April 6, 2026, 12:39pm UTC](https://community.mappedin.com/t/title-how-to-access-geometryid-from-space-object-in-mappedin-web-sdk-v6-body-hi-mappedin-community-im-working-with-the-mappedin-web-sdk-v6-v6-11-0-and-need-help-accessing-the-geometryid-for-spaces-in-my-application/526/3 "2026-04-06T12:39:52Z")

</div>

A post was split to a new topic: [Help with navigation starting point](https://community.mappedin.com/t/help-with-navigation-starting-point/537)
