The Zonar API sometimes returns badly formatted data. Use
zonar_cleanup
to tidy it up.
Use zonar_cleanup
to augment and format the sometimes messy
data returned by the zonar API.
Details
Assets can be recorded as repeatedly going in and out of a zone in short
periods of time, try to clean that up. Another problem is that assets can pass
through zones incidentally. zonar_cleanup
tries to adress this by grouping
repeated gps zone events that occur in a short time, while keeping separate
pass-throughs separate.