SUMO
Simulation of Urban MObility

- Home
- Download
- Documentation
- Wiki
- Trac
- Blog
- Contact
- SF-Project

# TraCI/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.

Overview Retrievable PoI Variables
Variable | ValueType | Description
--- | --- | ---
id list (0x00) | stringList | Returns a list of ids of all poi (the given poi ID is ignored)
count (0x01) | int | Returns the number of pois (the given poi ID is ignored)
type (0x4f) | string | Returns the (abstract) type of the poi
color (0x45) | ubyte,ubyte,ubyte,ubyte | Returns the color of this poi
position (0x42) | 2D-position | Returns the position of this poi

### 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".

This page was last modified on 13 July 2011, at 14:01.