Search for a room #37

Closed
opened 2026-10-17 20:40:39 +00:00 by sermuns · 1 comment
Owner

docs/mazemap.md lists an endpoint that has never been called:

search.mazemap.com/search/equery/?campusid=742&q=A1

and the campus has 6234 rooms with identifiers like 325-G101 and
E0007040:242, plus 793 named generic POIs -- a restaurant, a reading seat, a
printer, a defibrillator. There is no way to ask the map any of this today.

The natural interaction is the existing chat field: type /A-huset or
/toalett and get the answer. That needs no new UI, and hud.rs already has a
text field and a chat contract.

A search result wants a distance and a bearing so "you want the one 40 m north",
which is arithmetic over the same ENU points locate already takes.

Bake-time or runtime is the open question: the search endpoint is live, but the
bake caches everything, so a baked room-name index is the consistent choice and
lets the scan be local.


Related

  • #38 an answer needs a destination
  • #21 room classes make the answer readable
  • #36 map mode is where a result goes
  • #22 a baked index rather than a live walk
`docs/mazemap.md` lists an endpoint that has never been called: ``` search.mazemap.com/search/equery/?campusid=742&q=A1 ``` and the campus has **6234 rooms** with identifiers like `325-G101` and `E0007040:242`, plus 793 named generic POIs -- a restaurant, a reading seat, a printer, a defibrillator. There is no way to ask the map any of this today. The natural interaction is the existing chat field: type `/A-huset` or `/toalett` and get the answer. That needs no new UI, and `hud.rs` already has a text field and a chat contract. A search result wants a distance and a bearing so "you want the one 40 m north", which is arithmetic over the same ENU points `locate` already takes. Bake-time or runtime is the open question: the search endpoint is live, but the bake caches everything, so a baked room-name index is the consistent choice and lets the scan be local. --- **Related** - #38 an answer needs a destination - #21 room classes make the answer readable - #36 map mode is where a result goes - #22 a baked index rather than a live walk
sermuns added this to the Wayfinding milestone 2026-10-19 22:18:47 +00:00
Author
Owner

Don't like this.

Don't like this.
Sign in to join this conversation.
No description provided.