Model Builder - Convert an input XY to a 'point location along a line'

Discussion created by chrisflory on May 7, 2013
Latest reply on May 7, 2013 by rfairhur24
Hello all

I have a problem that I believe can be solved with model builder, however I have limited experience using model builder and need some help putting it together.

My business is in highways maintenance. Everything we do is located by using 'Sections' and 'Chainage'.
A section is simply a defined length of road which has a unique reference and the chainage is the distance in mtrs along the section.
I have a polyline shp for my roads. Sections have a defined direction and the lines are digitised accordingly so that the start and end are always the right way around.

When any new road surface is laid, we need to know the start and end points of the new road surface in 'section & chainage' format.
It is difficult to record measurements in this way on site as sometimes the beginning of a 'section' will not be accessible and so a measuring wheel can not be used, but we will log GPS locations on site.

My idea is to build a model that allows a user to input a GPS location (preferably in 12 figure OSGB e.g. NZ 12345 12345) and for the model to output the 'section' and 'chainage' of that point (or closest possible).

I think the 'core' tool in the model is going to be 'locate features along routes'. I have used this tool before with existing data in tables.
What I'm stuck with is providing an input because there is no 'feature' as such.

So perhaps I need the first step in the model to create the feature (a point shp)? Is there a tool that creates a point shp by entering coordinates? I thought about 'Make XY Event layer' but does that need a table as an input?

This is where I am up to. I think I know what I want; I just don't have the experience to throw a model together knowing which tools to use. Any help appreciated!!!!!!!