---
title: POI Value Retrieval
---

## Command 0xa7: Get PoI Variable

|  ubyte   | string |
| :------: | :----: |
| Variable | PoI ID |

Asks for the value of a certain variable of the named poi.

The following variable values can be retrieved, the type of the return
value is also shown in the table.

<center>
**Overview Retrievable PoI Variables**
</center>

| Variable          | ValueType               | Description              | [Python Method](../TraCI/Interfacing_TraCI_from_Python.md)   |
| ----------------- | ----------------------- | ------------------------ | ------------------------------------------------------------ |
| id list (0x00)    | stringList              | Returns a list of ids of all poi (the given poi ID is ignored) | [getIDList](https://sumo.dlr.de/pydoc/traci._poi.html#PoiDomain-getIDList)       |
| count (0x01)      | int                     | Returns the number of pois (the given poi ID is ignored)       | [getIDCount](https://sumo.dlr.de/pydoc/traci._poi.html#PoiDomain-getIDCount)     |
| type (0x4f)       | string                  | Returns the (abstract) type of the poi                         | [getType](https://sumo.dlr.de/pydoc/traci._poi.html#PoiDomain-getType)           |
| color (0x45)      | ubyte,ubyte,ubyte,ubyte | Returns the color of this poi (rgba)                           | [getColor](https://sumo.dlr.de/pydoc/traci._poi.html#PoiDomain-getColor)         |
| position (0x42)   | 2D-position             | Returns the position of this poi                               | [getPosition](https://sumo.dlr.de/pydoc/traci._poi.html#PoiDomain-getPosition)   |
| image file (0x93) | string                  | Returns the path to the image file of the poi                  | [getImageFile](https://sumo.dlr.de/pydoc/traci._poi.html#PoiDomain-getImageFile) |
| width (0x4d)      | float                   | Returns the width for the rendered image file                  | [getWidth](https://sumo.dlr.de/pydoc/traci._poi.html#PoiDomain-getWidth)         |
| height (0xbc)     | float                   | Returns the height for the rendered image file                 | [getHeight](https://sumo.dlr.de/pydoc/traci._poi.html#PoiDomain-getHeight)       |
| angle (0x43)      | float                   | Returns the angle for the rendered image file                  | [getAngle](https://sumo.dlr.de/pydoc/traci._poi.html#PoiDomain-getAngle)         |


### Response 0xb7: PoI Variable

|  ubyte   | string |            ubyte            |  <return_type\>   |
| :------: | :----: | :-------------------------: | :--------------: |
| Variable | PoI ID | Return type of the variable | <VARIABLE_VALUE\> |

The respond to a **"Command Get PoI Variable"**.