I have a streets layer which I want to divide into 2 mile segments. I have searched and read enough for days but there is no information on how to do this. The split command allows you to select and divide the poly-line which is manual. It is practically impossible for me to do it for a streets layer which has tens of thousands of poly-lines.

Is there any tool, script or combinations of tools I can use to achieve this?


Here is a pretty straight-forward approach using only the free tools available in the ET GeoWizards toolset for Arc:

  1. Open the ET GeoWizards toolbox. In the 'Point' menu, select 'Create Station Points'
  2. It will prompt you to enter your polyline layer and an output file, and on the subsequent screen, ask for your distance between stations (it will indicate the unit of measure based on your data coordinate system). Select 'Finish' and the tool will output a set of points along all lines (based on line direction) at the prescribed distance.
  3. Open the ET GeoWizards toolbox again and in the 'Polyline' menu select 'Split Polyline with Layer' - this will appear locked, but the free functionality will work for your purposes.
  4. Enter your original polyline layer as the input 'layer to split', and your newly created point file as the 'split layer'.

Your output from this operation will be all of your original polylines, split into segments of your desired length (with remainders segments left over where lines are not evenly divisible). Note that this approach will create points at the start of each polyline segment that is shorter than 2 miles, but this should not be an issue as the subsequent 'split' operation will have no affect on these shorter segments. If this is problematic, you could simply select only lines whose length exceeds 2 miles for the operation.

Not the answer you're looking for? Browse other questions tagged or ask your own question.