add constraint on lat and lon in table measurments