Fix test error
Function for split vetor data by polygon