<?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: convert raster to polygon (model builder - iterate) in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195168#M6672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;somename.tif.shp.replace(".tif.shp", "whatever")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Dec 2017 17:08:38 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-12-23T17:08:38Z</dc:date>
    <item>
      <title>convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195161#M6665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to convert multiple rasters to polygon and then vertices of those polygons convert to point and finally add XY coordinates. So my main tools for this process are:&lt;BR /&gt;- raster calculator (multiply raster with 0 to get just one band)&lt;BR /&gt;- raster to polygon&lt;BR /&gt;- feature vertices to points&lt;BR /&gt;- add xy coordinates&lt;/P&gt;&lt;P&gt;I'm trying to do this in model builder. If I use raster to polygon directly (without raster calculator), I get error that shp is bigger than 2GB. So far I manage to apply raster calculator which stores result in folder "raster_calculator". When I add raster to polygon I get error "ERROR 010157: Unable to open feature class..." (see picture "error.png").&lt;BR /&gt;I tried to use Calculate Value and Parse Path but I didn't succeed. Most likely because I don't know how to used them properly.&lt;/P&gt;&lt;P&gt;Can anyone please help me or give me an advice how to solve this in model builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: I know that in python this could be easier but I would like to do this in model builder because i don't understand python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 18:08:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195161#M6665</guid>
      <dc:creator>rokcedilnik</dc:creator>
      <dc:date>2017-12-20T18:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195162#M6666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly, I would try to produce a featureclass in a geodatabase rather than the shapefile, which is causing some problems, because you have a file with a *.tif.shp file extension which will confuse the best of software most of the time.&amp;nbsp; The 2 Gb file size limit for shapefiles is fixed and a geodatabase featureclass is your only way around that... easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 18:50:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195162#M6666</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-20T18:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195163#M6667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for quick reply. I'm trying to do what you said, but I'm not successful. Did you mean that instead of raster calculator tool I directly use raster to polygon and for output set gdb? If I do that i get an error (look picture). Can you attach a sample how should it look like in a model builder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/391473_pastedImage_1.png" style="width: 620px; height: 303px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/391474_pastedImage_2.png" style="width: 620px; height: 459px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:40:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195163#M6667</guid>
      <dc:creator>rokcedilnik</dc:creator>
      <dc:date>2017-12-21T19:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195164#M6668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the first error in your earlier thread was because the filename contained shp and tif together.&amp;nbsp; The second is due to the fact that you didn't specify a field to do the conversion... albeit, it is optional, but some things are less optional than others... for instance, I don't see anywhere that you have checked to ensure that your rasters are integer rasters, since only they can be converted to vector form.&amp;nbsp; Floating point rasters, cannot ... they lack a table, hence, no fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:49:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195164#M6668</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-21T19:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195165#M6669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my first error is still present. Even if I choose output in raster to polygon tool to be gdb file, I still have shp and tif together. How can I produce a featureclass in model builder from raster?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="323" src="https://community.esri.com/legacyfs/online/391527_pastedImage_1.png" width="416" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/391528_pastedImage_2.png" style="width: 620px; height: 369px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/391535_pastedImage_3.png" style="width: 462px; height: 413px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 06:01:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195165#M6669</guid>
      <dc:creator>rokcedilnik</dc:creator>
      <dc:date>2017-12-22T06:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195166#M6670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your model has no parameters&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/creating-model-parameter.htm"&gt;&lt;STRONG&gt; Creating Model Parameters&lt;/STRONG&gt;&lt;/A&gt; ... it's all in the &lt;STRONG&gt;'P&lt;/STRONG&gt;' That parameter, the output filename, will take care of that since the model will enable you to specify a filename.&amp;nbsp; currently your filename is extremely long and convoluted ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( d:\Rok_Cedilnik\&lt;STRONG&gt;01&lt;/STRONG&gt;_ArcMap\&lt;STRONG&gt;13&lt;/STRONG&gt;_izracun_oglisc_raster\test.gdb\rtp_DOF_KRANJ_A1&lt;STRONG&gt;.tif.shp&lt;/STRONG&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and ends with a ...&lt;STRONG&gt;.tif.shp&lt;/STRONG&gt; file extension and is located in folders that begin with numbers.. effectively breaking several naming convention rules.&lt;/P&gt;&lt;P&gt;As for the 2 Gb file limit... that is a shapefile limit, you need to use a featureclass in a file geodatabase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point, I will let others that have been silently following the thread weigh in, I suspect that many of the issues you are facing are covered in the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/creating-tools/creating-tool-with-modelbuilder-tutorial.htm"&gt;Modelbuilder Tutorials&lt;/A&gt;... so I would direct you to those since they do cover the basics.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 11:46:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195166#M6670</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-22T11:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195167#M6671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, now I manage to do "raster calculator" and "raster to polygon" successfuly. When I create raster to polygon it gets extension "tif.shp". If I use "feature vertices to point" I get an error because of extension "tif.shp". I would like to delete extension or in the proces of &lt;SPAN&gt;"feature vertices to point" use just the name (without the extension) but I don't know how. Probably I need to use pa&lt;/SPAN&gt;rse path and calculate value&amp;nbsp; combination but I don't know how. This is my current model and my setting and the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/391622_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/391623_pastedImage_2.png" style="width: 620px; height: 305px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/391624_pastedImage_3.png" style="width: 620px; height: 418px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Dec 2017 15:10:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195167#M6671</guid>
      <dc:creator>rokcedilnik</dc:creator>
      <dc:date>2017-12-23T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195168#M6672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;somename.tif.shp.replace(".tif.shp", "whatever")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Dec 2017 17:08:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195168#M6672</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-23T17:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195169#M6673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did what you told but still get an error. Can you be more specific please. What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/391631_pastedImage_1.png" style="width: 620px; height: 217px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/391632_pastedImage_2.png" style="width: 620px; height: 413px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Dec 2017 20:16:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195169#M6673</guid>
      <dc:creator>rokcedilnik</dc:creator>
      <dc:date>2017-12-23T20:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195170#M6674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is DOF_KRANJ_A3 a shapefile? or an image.&lt;/P&gt;&lt;P&gt;And if it is a shapefile, you need to get its name ... ie&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;DOF_KRANJ_A3&lt;/SPAN&gt;.shp and replace the *.shp with .tif if you need to provide it with an image name ie&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;DOF_KRANJ_A3&lt;/SPAN&gt;.tif&lt;/P&gt;&lt;P&gt;if it is an image&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;DOF_KRANJ_A3&lt;/SPAN&gt;.tif and you need to make a shapefile you need to replace the name with .shp.&lt;/P&gt;&lt;P&gt;In any event, I don't know what&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;DOF_KRANJ_A3&lt;/SPAN&gt; is since your model has no parameters and your error message and the error dialog is the exact same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Dec 2017 21:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195170#M6674</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-23T21:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195171#M6675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My original files are DOF (digital ortofoto image) in "tiff" format but my original files also have "tif" in the name (look the&amp;nbsp;first picture). When I run "raster to polygon" tool I create shapefile from raster file. I that process I use parse path, so that I take just the name but I also get "tif" in that name. So my shapefile looks like "&lt;SPAN style="background-color: #ffffff;"&gt;DOF_KRANJ_A3.tif.shp". So now I need to delete somehow my extension or (better) define how many&amp;nbsp;characters should my next output have (I would like to take just "DOF_KRANJ_A1") but I just can't do it correctly. If I set parameter to the output of "raster to polygon" tool will it be any diferent?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/391612_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/391637_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 13:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195171#M6675</guid>
      <dc:creator>rokcedilnik</dc:creator>
      <dc:date>2017-12-24T13:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: convert raster to polygon (model builder - iterate)</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195172#M6676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already provided many suggestions, none of which seemed to be of any help apparently.&lt;/P&gt;&lt;P&gt;You could slice of the last 4 characters and append .shp as an alternative if you can't get 'replace' to work&lt;/P&gt;&lt;P&gt;new name =&amp;gt; oldname.tif[:-4] + ".shp" &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 14:30:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/convert-raster-to-polygon-model-builder-iterate/m-p/195172#M6676</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-24T14:30:15Z</dc:date>
    </item>
  </channel>
</rss>

