Map Query
VPS Query API
Code to identify the VPS map (required if mapSetCode is not provided)
MAP-X2P23E7Q35VDCode to identify the map set (required if mapCode is not provided)
MAPSET-ABC123List of map codes for spatial hints (only valid with mapSetCode)
["MAP-X2P23E7Q35VD","MAP-Y3Q34F8R46WE"]Position hint [x, y, z] for spatial filtering. Must be in the map's left-handed (LHS / Unity) coordinate system — the same frame as the position field in a successful localization response (isRightHanded=false).
[2.5,0.1,8]Geographic hint [latitude, longitude, altitude] - converts to local hintPosition
[37.7749,-122.4194,10]Search radius in meters for spatial filtering (default 25m). Only applies when geoHint or hintPosition is provided.
25When true, skip altitude (Y-axis) in geoHint spatial filtering, using only horizontal distance (X and Z axes). Only applies when geoHint is provided.
falseExample: falseFloor height band [y_min, y_max] in map-local coordinates. Search run within this vertical range. Works for both single Map and MapSet (positions are in global/MapSet coordinate space). Order does not matter — [-3, -1] and [-1, -3] both select y ∈ [-3, -1].
[1.5,4.5]Convert result to geographic coordinates (adds GeoPose to response)
falseFlag to indicate if response pose is in right-handed coordinate system
falseBase64 encoded image data
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAALQCAIAAADQFY7jAAAgAElEQVR4AaS9+5NdR5Lfh34BjW4AxJMgOTN8zCw5OzHriV2vvFrZDjtCVki2Xt5VaKVdybLClsL+3xz23+DQr9ZPlmO16xmvhQuery successful
Indicates if the pose was successfully found
trueConfidence score of the pose estimation
0.46875Array of matched map IDs
["67e12d4bff7ecf561f2f8a0c"]Array of matched map codes
["MAP_RJFKKWQ1787J"]Response time in milliseconds
2572Bad request
Unauthorized
Sample Response (JSON Body)
The map code for the map to query (required if mapSetCode is not provided)
The map set code for the map set to query (required if mapCode is not provided)
truePossible values: 669.535888671875669.535888671875478.8777160644531364.9244079589844960720Image file for multipart requests
Convert result to geographic coordinates
falsePossible values: List of map codes for hints (only valid with mapSetCode)
["MAP-X2P23E7Q35VD","MAP-Y3Q34F8R46WE"]Position hint "x,y,z" (comma-separated string). Must be in the map's left-handed (LHS / Unity) coordinate system — the same frame as the position field in a successful localization response (isRightHanded=false).
2.5,0.1,8.0Geographic hint "latitude,longitude,altitude" (comma-separated)
37.7749,-122.4194,10.0Search radius in meters for spatial filtering (default 25m). Only applies when geoHint or hintPosition is provided. Range 1-100.
25When true, skip altitude (Y-axis) in geoHint spatial filtering. Only applies when geoHint is provided.
falsePossible values: JSON-encoded floor height band "[y_min, y_max]" in map-local coordinates. Search run within this vertical range. Order does not matter.
[1.5, 4.5]Query successful
Indicates if the pose was successfully found
Bad request
Unauthorized
Sample Response (Form Data)
Spatial Hint: hintPosition
Floor-Level Search: hintFloorHeight
VPS Multi Image Query API
Performs a query using one or more uploaded images, along with camera intrinsics and optional map or map-set identifiers. Supports up to four images in a single request.
Specifies whether the coordinate system is right-handed. Because this is form-data, it's sent as a string ("true" or "false").
truePossible values: The width (in pixels) of the input image(s).
960The height (in pixels) of the input image(s).
720The principal point x-coordinate.
478.838623046875The principal point y-coordinate.
365.346618652343The focal length along x-axis.
670.4620971679688The focal length along y-axis.
670.4620971679688Code to identify the map (required if mapSetCode is not provided).
A code to identify the map set.
Convert result to geographic coordinates
falsePossible values: List of map codes for hints (only valid with mapSetCode)
["MAP-X2P23E7Q35VD","MAP-Y3Q34F8R46WE"]Position hint "x,y,z" (comma-separated string). Must be in the map's left-handed (LHS / Unity) coordinate system — the same frame as the position field in a successful localization response (isRightHanded=false).
2.5,0.1,8.0Geographic hint "latitude,longitude,altitude" (comma-separated)
37.7749,-122.4194,10.0Search radius in meters for spatial filtering (default 25m). Only applies when geoHint or hintPosition is provided. Range 1-100.
25When true, skip altitude (Y-axis) in geoHint spatial filtering. Only applies when geoHint is provided.
falsePossible values: JSON-encoded floor height band "[y_min, y_max]" in map-local coordinates. Search run within this vertical range. Order does not matter.
[1.5, 4.5]The first image file to be uploaded.
JSON-encoded metadata for image1 (e.g., position and rotation).
{"x":-5.1772,"y":0.2936,"z":-2.6439,"qx":-0.0185,"qy":0.9949,"qz":-0.0691,"qw":0.0703}The second image file to be uploaded.
JSON-encoded metadata for image2.
{"x":-3.12,"y":1.01,"z":2.56,"qx":0.0,"qy":0.707,"qz":0.0,"qw":0.707}The third image file to be uploaded.
JSON-encoded metadata for image3.
{"x":1.23,"y":-0.56,"z":5.0,"qx":-0.0185,"qy":0.9949,"qz":-0.0691,"qw":0.0703}The fourth image file to be uploaded.
JSON-encoded metadata for image4.
{"x":10.0,"y":-2.0,"z":0.0,"qx":0.0,"qy":1.0,"qz":0.0,"qw":0.0}Query successful
Bad request
Unauthorized - Missing or invalid token
Map/MapSet not found (if applicable)
Internal server error
Sample Response (Multi Image)
Last updated
Was this helpful?

