sql: added get links for poi_id.