<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Model Builder - Convert an input XY to a 'point location along a line' in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-convert-an-input-xy-to-a-point/m-p/443737#M14928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello all&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;BR /&gt;My business is in highways maintenance. Everything we do is located by using 'Sections' and 'Chainage'.&lt;BR /&gt;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.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;When any new road surface is laid, we need to know the start and end points of the new road surface in 'section &amp;amp; chainage' format.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Method:&lt;/STRONG&gt;&lt;BR /&gt;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.&lt;BR /&gt;What I'm stuck with is providing an input because there is no 'feature' as such.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;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!!!!!!!&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You do need a table as input to Make XY Event Layer, and that is the tool to use.&amp;nbsp; You are going to have to take the data entered by the user and create a table or feature class at some point, but you can create an in memory table and/or feature class to generate the point event table and locate features along route table if you do not intend to store these values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Basic starting point is to copy a table in memory by borrowing a schema already built to store the Lat Long of the user.&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Using_in_memory_workspace/002w0000005s000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Using_in_memory_workspace/002w0000005s000000/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; To make it simple the copied table should have a single record in it with blank data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Use Field Calculator to fill in the Lat Long fields from user input into the in memory table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Generate the XY point event table (set your environment to the same coordinate system as your routes).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Process locate feature along route to an appropriate output (in memory, temporary or permanent table).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Do whatever other process you need to do to translate the Route ID and measure to your section and chainage (if the routes are not already built to output this information).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Append the final output to a QC database.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 13:52:23 GMT</pubDate>
    <dc:creator>RichardFairhurst</dc:creator>
    <dc:date>2013-05-07T13:52:23Z</dc:date>
    <item>
      <title>Model Builder - Convert an input XY to a 'point location along a line'</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-convert-an-input-xy-to-a-point/m-p/443736#M14927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;My business is in highways maintenance. Everything we do is located by using 'Sections' and 'Chainage'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When any new road surface is laid, we need to know the start and end points of the new road surface in 'section &amp;amp; chainage' format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;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).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Method:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm stuck with is providing an input because there is no 'feature' as such.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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!!!!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 12:54:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-convert-an-input-xy-to-a-point/m-p/443736#M14927</guid>
      <dc:creator>chrisflory</dc:creator>
      <dc:date>2013-05-07T12:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder - Convert an input XY to a 'point location along a line'</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-convert-an-input-xy-to-a-point/m-p/443737#M14928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello all&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;BR /&gt;My business is in highways maintenance. Everything we do is located by using 'Sections' and 'Chainage'.&lt;BR /&gt;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.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;When any new road surface is laid, we need to know the start and end points of the new road surface in 'section &amp;amp; chainage' format.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Method:&lt;/STRONG&gt;&lt;BR /&gt;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.&lt;BR /&gt;What I'm stuck with is providing an input because there is no 'feature' as such.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;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!!!!!!!&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You do need a table as input to Make XY Event Layer, and that is the tool to use.&amp;nbsp; You are going to have to take the data entered by the user and create a table or feature class at some point, but you can create an in memory table and/or feature class to generate the point event table and locate features along route table if you do not intend to store these values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Basic starting point is to copy a table in memory by borrowing a schema already built to store the Lat Long of the user.&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Using_in_memory_workspace/002w0000005s000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Using_in_memory_workspace/002w0000005s000000/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; To make it simple the copied table should have a single record in it with blank data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Use Field Calculator to fill in the Lat Long fields from user input into the in memory table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Generate the XY point event table (set your environment to the same coordinate system as your routes).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Process locate feature along route to an appropriate output (in memory, temporary or permanent table).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Do whatever other process you need to do to translate the Route ID and measure to your section and chainage (if the routes are not already built to output this information).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Append the final output to a QC database.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 13:52:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-convert-an-input-xy-to-a-point/m-p/443737#M14928</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-05-07T13:52:23Z</dc:date>
    </item>
  </channel>
</rss>

