Skip to main content

I want to split my shape file to 6 parts. The count is aprox 600000. How to do this using if condition. Pls guide me

Do the parts have to be geographically contiguous?


Do the parts have to be geographically contiguous?

no i just wanted to divide this huge shape file to smaller parts. And just now i found how to do it by writing conditions. Thanks for your response.

 


I'd suggest that to split a large spatial data set, you tile it. As @Hans van der Maarel​ alluded to, you may not need it to be geographicalyl contiguous, but there are massive benefits of having the data in a constrained spatial extent


@Abinash Rout​ You can use the ModuloCounter - set the Count Maximum to six. Then out the output feature type, for the Shapefile Name, use the Text editor to add the count as a suffix:

myshapefile-@Value(_modulo_count)

 


Reply