When terminal is in area of two overlapping geofences (geofence 1 and geofence 0) and it moves to area covered by one geofence (geofence 0) in the ZoneExit message there is the PreviousZoneId = 1 and that is not according to specification (Table 1: Crossing Zones Example, page 40 in AS027 Automatic Vehicle Location Agent User Guide.)
Steps to reproduce:
Define two overlapping geofences (geofence 1 inside geofence 0)
Simulate terminal's position inside geofence 1
Simulate terminal's position outside geofence 1 but inside geofence 0
Check the ZoneExit message sent by terminal - there is PreviousZoneId = 1
According to the information in the User Guide PreviousZoneId should be 0 in this case (the lowest).
When terminal is in area of two overlapping geofences (geofence 1 and geofence 0) and it moves to area covered by one geofence (geofence 0) in the ZoneExit message there is the PreviousZoneId = 1 and that is not according to specification (Table 1: Crossing Zones Example, page 40 in AS027 Automatic Vehicle Location Agent User Guide.)
Steps to reproduce:
According to the information in the User Guide PreviousZoneId should be 0 in this case (the lowest).