Read points from database