This is specifically to measure river miles. I want to draw out a line and then have ArcGIS insert measures points at defined intervals.
Sounds like a job for linear referencing.
One workflow might be to create station points along the line network at the desired intervals (using ETGeoTools free functions). That tool outputs the point locations which could then be used to Split Line by Point (Esri ArcCatalog tool). Probably a couple of other ways to tackle this as well, good luck!
I guess the most common way of doing this would be using Hatching. This will require converting a center line of the river to a route.
If you're doing this manually, the Construct Points tool might work. You could then split the line at the points if needed.
If you want to do this programmatically, this thread might be helpful.
How can i create points per 10 and 100 meters for several lines with ArcPy?
I'm doing about 200 miles and some areas I need to do 1/2 mile intervals. I'm trying to to do it manually.
If you are also trying to number them, do the numbers need to be sequential or follow a direction/pattern?
I like Blake's suggestion
I got this. Calculate the length of the line. Open an edit session. Select Split. Do some math and figure out how many desired segments are in your line and split it up. 314 miles and you want 1 mile segments? Split it 314 times! I had to join a table with the right corresponding numbers because the splits started at the wrong end but that's easy enough. Then label according to the field you just joined. Boom. Done.
I really don't understand why you would want to reinvent the wheel if there is standard functionality available for this purpose called hatching.
Hatching is a type of labeling that is designed to post and label hatch marks or symbols at a regular interval along measured linear features. Hatching can be used for both distance-based measures and nondistance-based measures. Distance-based measures include kilometers, miles, feet, and meters...
If you split a feature "into equal parts" and the length is not an exact multiple of the value you want to split it into, you will end up with parts that will not have the exact split length.
For those that want to look into a python solution, there is a nice post here:
Split into equal length features | ArcPy Café
Thanks, that's very useful. I could not figure out where to activate it though. Also, if I export the shapefile to JSON, will it retain the hatch marks?
Sent from Yahoo Mail on Android
From:"Xander Bakker" <email@example.com>
Date:Wed, Apr 29, 2015 at 7:44 AM
Subject:Re: - how do I create a numbered line with intervals per mile?
how do I create a numbered line with intervals per mile?
reply from Xander Bakker in GIS - View the full discussion
Reply to this message by replying to this email, or go to the message on GeoNet Start a new discussion in GIS by email or at GeoNet Following how do I create a numbered line with intervals per mile? in these streams: Inbox
This email was sent by GeoNet because you are a registered user.
You may unsubscribe instantly from GeoNet, or adjust email frequency in your email preferences
You should have mentioned that your goal was to export the featureclass to json. The hatch functionality is dynamical and won't be in the exported json.
Well excuuuuuuse me!
Date:Wed, Apr 29, 2015 at 8:18 AM
Apology accepted, but take it into account the next time you post a question.
BTW: marking your own answer as the correct answer is something "not done" at GeoNet...
The comment left here by the OP has been removed since it doesn't represent the goal of GeoNet.
Should people wish to post opinions not appropriate to the site, please take them up with GeoNet Administration
Retrieving data ...