<?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: Clip polyline file with polygon file - output several polyline files in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502151#M16672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ben,&lt;BR /&gt;&lt;BR /&gt;Original model tool was created in ArcGIS 10 and it doesn't work in 9.3.&lt;BR /&gt;&lt;BR /&gt;I attached a script tool with the same functionality which should work in 9.3 (and also in 10).&lt;BR /&gt;There're two more options compared to original tool - you can specify a unique identifier field of feature in feature class (usually OBJECTID or FID)&lt;BR /&gt;and a unique field which values will be added to output file name to make them unique.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Marcin, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like its what i need to use, but unfortunately I am getting this error...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15679[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Hints?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2012 21:49:33 GMT</pubDate>
    <dc:creator>BenVan_Kesteren1</dc:creator>
    <dc:date>2012-07-02T21:49:33Z</dc:date>
    <item>
      <title>Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502144#M16665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a file of polylines and a file of 20 polygons. I want to produce 20 new polyline files, subsetting the original&amp;nbsp; polyline file with the polygons. I know I could do this one by one with the clip tool, but there must be a way to doing this in one go.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 07:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502144#M16665</guid>
      <dc:creator>MiikaMäkelä1</dc:creator>
      <dc:date>2012-06-14T07:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502145#M16666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've created simple model which takes each polygon in polygon feature class (Input Iterator Feature Class) and use it to clip lines feature class (Input Feature Class to Clip).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It was tested for feature classes in file geodatabase, and if you use shapefiles modify 'Field' in Iterate Feature Selection iterator from OBJECTID to FID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure that at the end of Output Clipped Feature Class is &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;%Value%&lt;/SPAN&gt;&lt;SPAN&gt; which allows to differentiate outputs (add number based on OBJECTID of polygon layer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if something goes wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To use the model just unzip attached file (toolbox) and browse to it in files tree in Catalog window (or ArcCatalog).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 08:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502145#M16666</guid>
      <dc:creator>MarcinGasior</dc:creator>
      <dc:date>2012-06-14T08:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502146#M16667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Fantastic job! Thanks so much Marcin!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the field to FID as I'm working with shapes and had no issues with that. I helpful tweak would be to know how I can change the value to something else besides the ID. I tried using my "NAME" field where I have a max. 50 char string. I couldn't get it to work however. Any solution to this? And a supertweak would be to have the possibility of 2 NAME fields concatenated as the file name. Then I wouldn't have to do any renaming afterwards. But I think I am pushing it here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 10:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502146#M16667</guid>
      <dc:creator>MiikaMäkelä1</dc:creator>
      <dc:date>2012-06-14T10:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502147#M16668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm glad I could help:)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What error do you get when using NAME field? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe this field contains some characters which are not allowed in shapefile name?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to concatenate names, it's easier to do it prior to using the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just add new field and concatenate values from two fields in Field Calculator.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 11:11:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502147#M16668</guid>
      <dc:creator>MarcinGasior</dc:creator>
      <dc:date>2012-06-14T11:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502148#M16669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks, had a closer look at the error description and indeed some of the characters are not accepted. I think I've come across this before that the clip tool does not support scandinavian letters ä,ö,å for example. Possibly the hyphen - is also not accepted. I guess I'll change those before I run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for this. This tool is a great help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 12:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502148#M16669</guid>
      <dc:creator>MiikaMäkelä1</dc:creator>
      <dc:date>2012-06-14T12:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502149#M16670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;ps.&lt;BR /&gt;To use the model just unzip attached file (toolbox) and browse to it in files tree in Catalog window (or ArcCatalog).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, i am trying to use this item but I am unsure as to how to 'run' it? I have placed this .tbx on the desktop, and now im unsure as to how to use in ArcGIS 9.3.1??? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried doing this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Open ArcToolbox&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right click on the white area and click Add Toolbox...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Navigate to Desktop&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Choose Clipping.tbx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but after doing this nothing appears in the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any further instructions on how to use it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2012 23:15:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502149#M16670</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2012-07-01T23:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502150#M16671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Original model tool was created in ArcGIS 10 and it doesn't work in 9.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached a script tool with the same functionality which should work in 9.3 (and also in 10).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There're two more options compared to original tool - you can specify a unique identifier field of feature in feature class (usually OBJECTID or FID)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and a unique field which values will be added to output file name to make them unique.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 08:49:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502150#M16671</guid>
      <dc:creator>MarcinGasior</dc:creator>
      <dc:date>2012-07-02T08:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502151#M16672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ben,&lt;BR /&gt;&lt;BR /&gt;Original model tool was created in ArcGIS 10 and it doesn't work in 9.3.&lt;BR /&gt;&lt;BR /&gt;I attached a script tool with the same functionality which should work in 9.3 (and also in 10).&lt;BR /&gt;There're two more options compared to original tool - you can specify a unique identifier field of feature in feature class (usually OBJECTID or FID)&lt;BR /&gt;and a unique field which values will be added to output file name to make them unique.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Marcin, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like its what i need to use, but unfortunately I am getting this error...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15679[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Hints?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 21:49:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502151#M16672</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2012-07-02T21:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502152#M16673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Marcin, &lt;BR /&gt;&lt;BR /&gt;It looks like its what i need to use, but unfortunately I am getting this error...&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok I figured it out, originally I was selecting 'suburb name' for the 'Field in Clip FC with features unique identifier' but I should have selected ObjectID instead (I should have read the instructions closer!!), now it run from start to finish. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 22:02:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502152#M16673</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2012-07-02T22:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Clip polyline file with polygon file - output several polyline files</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502153#M16674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It looks like its what i need to use, but unfortunately I am getting this error...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Indeed tool had an error. I allowed to chose id field which is not handled in the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it's possible to use string field as an unique IDentifier (I attached corrected tool in previous post).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 05:33:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-polyline-file-with-polygon-file-output/m-p/502153#M16674</guid>
      <dc:creator>MarcinGasior</dc:creator>
      <dc:date>2012-07-03T05:33:28Z</dc:date>
    </item>
  </channel>
</rss>

