//getting distance of an element that is not in the DB (not in scenario, not connected) returns error code 400 (bad parameters) in the API. Using that error code to track that request made it to GIS but no good result, so ignore that address (monitored or ref)
ifhttpResp.StatusCode==http.StatusBadRequest{
//ignore that pair and continue processing
continue
}else{
log.Error("Failed to communicate with gis engine: ",err)
//getting element that is not in the DB (not in scenario, not connected) returns error code 400 (bad parameters) in the API. Using that error code to track that request made it to GIS but no good result, so ignore that address (monitored or ref)
ifhttpResp.StatusCode==http.StatusBadRequest{
//if the UE was within the zone, continue processing to send a LEAVING notification, otherwise, go to next subscription
if!areaCircleCheck.AddrInArea[addr]{
continue
}
}else{
log.Error("Failed to communicate with gis engine: ",err)
//checkImmediate and NextTts apply more to a periodic notification, setting them but ignoring both in notification code because of unclear spec on that matter