<?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: Calculate Grid convergence error in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/calculate-grid-convergence-error/m-p/158192#M5320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your dataset is a shapefile try setting this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.AddField_management(FootprintFC, "GeoAngle", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.AddField_management(FootprintFC, "GeoAngle", "DOUBLE", "", "", "", "", "", "", "")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jan 2011 14:14:42 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2011-01-31T14:14:42Z</dc:date>
    <item>
      <title>Calculate Grid convergence error</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-grid-convergence-error/m-p/158191#M5319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm doingh some solar angle calculations and want to include a correction for the difference in angle between the coordinate system I use and the true north. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The tool CalculateGridConvergenceAngle_carthography should be able to do this but I constantly get an error indicating that the field Type should be wrong! (ERROR 000308: Invalid field type)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I have python statements like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(footprintFC is a layer !)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;if len(arcpy.ListFields(FootprintFC, "GeoAngle")) == 0:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(FootprintFC, "GeoAngle", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;arcpy.CalculateGridConvergenceAngle_cartography(FootprintFC,"GeoAngle","GEOGRAPHIC")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can somebody help me identifying the problem ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 12:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-grid-convergence-error/m-p/158191#M5319</guid>
      <dc:creator>MichaelStjernholm</dc:creator>
      <dc:date>2011-01-31T12:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Grid convergence error</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-grid-convergence-error/m-p/158192#M5320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your dataset is a shapefile try setting this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.AddField_management(FootprintFC, "GeoAngle", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.AddField_management(FootprintFC, "GeoAngle", "DOUBLE", "", "", "", "", "", "", "")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 14:14:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-grid-convergence-error/m-p/158192#M5320</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2011-01-31T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Grid convergence error</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-grid-convergence-error/m-p/158193#M5321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Duncan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your proposal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I may have found the problem to be that the feature class was joined to a table. Now that I remove the join before CalculateGridAngle I no longer get the error message, which anyhow seemed to be misleading &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 14:22:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-grid-convergence-error/m-p/158193#M5321</guid>
      <dc:creator>MichaelStjernholm</dc:creator>
      <dc:date>2011-01-31T14:22:39Z</dc:date>
    </item>
  </channel>
</rss>

