Splitting a polyline shapefile using a fishnet shapefile?

2855
9
Jump to solution
07-08-2014 08:19 AM
AlexanderPeace
New Contributor

Hi,

I have a polyline shapefile that I would like to split into boxes of equal size. I have been told the best way to do this is to use a fishnet grid, is this the best way?

At the moment I have a fishnet polygon shapefile and I am attempting to use the 'Split (Analysis)' tool in Arc Map 10 but I get an error:

"Field Shape not of type TEXT"

Any help appreciated,

Regards,

Alex

0 Kudos
1 Solution

Accepted Solutions
DuncanHornby
MVP Notable Contributor

Well for starters just use the FID field, that's unique?

View solution in original post

0 Kudos
9 Replies
DuncanHornby
MVP Notable Contributor

Are you setting the Shape field to be the Split Field? I think this parameter needs to be a field containing a unique ID, so a numeric field like ObjectID or FID.

AlexanderPeace
New Contributor

Hi Duncan,

Thanks for your help. Yes I am setting the Shapefile generated by the fishnet as the split field. What do you keen by a field containing a unique ID? How can I generate one of these?

Thanks,

Alex

0 Kudos
DuncanHornby
MVP Notable Contributor

The third parameter of the split tool, it should be a field that holds a unique ID such as the FID field.

0 Kudos
AlexanderPeace
New Contributor

Ok, so how would I create something which contain an appropriate field for this purpose?

Thanks,

Alex

0 Kudos
DuncanHornby
MVP Notable Contributor

Well for starters just use the FID field, that's unique?

0 Kudos
AlexanderPeace
New Contributor

Got it!! Thanks!

Alex

0 Kudos
AlexanderPeace
New Contributor

The key to this if anybody else tries is to make sure that the Field you are using to split is set to 'Text'

Alex

0 Kudos
BruceHarold
Esri Regular Contributor

Hi

Despite being slightly flamed by Duncan H. I can offer:

http://www.arcgis.com/home/item.html?id=9398bd2232cb4c8490b0b05015364d28

Except you'll need to make a minimum bounding rectangle by width from your polyline first.

🙂

0 Kudos
BuzaVictoria
New Contributor

useless

0 Kudos