get stopsTree from sqlite