<?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: grid_code now gridcode!?! in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672300#M22328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good point Curtis - I wasn't aware of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I recall, long ago it also used to be 'GRID_CODE' in caps... Maybe that flavor was for coverages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 16:11:01 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2014-10-29T16:11:01Z</dc:date>
    <item>
      <title>grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672297#M22325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems now in v10.2 the 'grid_code' field (field automatically generated when converting raster layers to vector layers) is now named 'gridcode' (no underscore).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...not that this ^%$#s up all my scripts or anything... Oh wait, it does! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/angry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 21:25:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672297#M22325</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2014-10-28T21:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672298#M22326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know it's a pain but before the change shapefile output for these tools used the field name "gridcode" and gdb feature class output used "grid_code". In the long run I'm glad they changed it so these tools always generate a field with a consistent name, regardless of output feature class format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 06:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672298#M22326</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-10-29T06:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672299#M22327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sure I have read in the T&amp;amp;C of the software that it states that subtle changes are made to any tool so as to make unnecessary work for you... It's the standard contractual agreement we all willingly entered into. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/mischief.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 11:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672299#M22327</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2014-10-29T11:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672300#M22328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good point Curtis - I wasn't aware of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I recall, long ago it also used to be 'GRID_CODE' in caps... Maybe that flavor was for coverages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 16:11:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672300#M22328</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2014-10-29T16:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672301#M22329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - Thought I was imagining stuff for a while but:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In v10.2.2, the StreamToFeature tool still pumps out 'grid_code' field (or 'GRID_CODE' if using a shapefile&lt;/STRONG&gt;. Thus. now with the advent of the 'gridcode' flavor in v10.2,&amp;nbsp; the problem is actually worse now in that there are now &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;three different flavors&lt;/STRONG&gt;&lt;/SPAN&gt;: 'gridcode', 'grid_code', and 'GRID_CODE' .... Right after I did a blanker find='grid_code' and replace='gridcode'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;(^(^^%!!!!!&amp;nbsp;&amp;nbsp; I can't win...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the StreamToFeature tool in v10.2 returns a schema of:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;For shapefile format&lt;/SPAN&gt;: 'ARCID', 'GRID_CODE', 'FROM_NODE', 'TO_NODE'&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;For FGDB format&lt;/SPAN&gt;: 'arcid', 'grid_code', 'from_node', 'to_node'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/silly.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 21:30:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672301#M22329</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2014-10-30T21:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672302#M22330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank goodness field names are case insensitive everywhere but INFO (unless you set $CASE-FLAG haha)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 23:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672302#M22330</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-10-30T23:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672303#M22331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yet in Python:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; 'grid_code' == 'gridcode' == 'GRID_CODE'&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;False&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 00:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672303#M22331</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2014-10-31T00:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672304#M22332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So much pain in the world....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14147145406564379 jive_text_macro" jivemacro_uid="_14147145406564379"&gt;
&lt;P&gt;def GetGridCode(tbl):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; """Get grid code from table"""&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gc = arcpy.ListFields(tbl, "GRID_CODE")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not gc:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gc = arcpy.ListFields(tbl, "GRIDCODE")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise Exception("No GRIDCODE field in " + tbl)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return gc.upper()&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 00:15:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672304#M22332</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-10-31T00:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672305#M22333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Curtis, I agree with you. And I feel your pain...but we will march on!&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully someone on the ESRI Dev team notices this one... Too late for 10.3 though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 00:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672305#M22333</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2014-10-31T00:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: grid_code now gridcode!?!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672306#M22334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay - someone's probably made one of these already, but I'll stick it here incase I need it again.&lt;BR /&gt;&lt;IMG alt="Untitled.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/26098_Untitled.jpg" style="width: 620px; height: 452px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 00:58:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/grid-code-now-gridcode/m-p/672306#M22334</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2014-10-31T00:58:55Z</dc:date>
    </item>
  </channel>
</rss>

