<?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: Problems with order in Transpose Fields in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1044#M77</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Justin... in &lt;A href="http://support.esri.com/contact-tech-support"&gt;Support&lt;/A&gt; in the banner of GeoNet...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Sep 2016 10:07:28 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-09-12T10:07:28Z</dc:date>
    <item>
      <title>Problems with order in Transpose Fields</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1039#M72</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As part of the development of a new GeoProcessing tool (in 10.3) I am using the Transpose Fields (arcpy.TransposeFields_management) in a small python script to transpose a horizontal&amp;nbsp;line of data in a table to a vertical line. While the code works and takes the data I require and adds it to the new tables it does not seem to place the data in the correct order.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone come across any issues like this with Transpose Fields or am I doing something wrong in the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See code (name of the field in the original table and the new name in PopSummaryT i.e &lt;SPAN&gt;Sum_Pop_T11 TotalPopulation&lt;/SPAN&gt;) and image of output below: You will see that the order is different in the Table as set out in the code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.TransposeFields_management("PopSummary", "Sum_Pop_T11 TotalPopulation;Sum_Pop_014T11 Pop014;Sum_Pop_1524T1 Pop1524;Sum_Pop_2544T1 Pop2544;Sum_Pop_4564T1 Pop4564;Sum_Pop_65pT11 Pop65p", "PopSummaryT", "Indicator", "Census2011", "")&lt;BR /&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/222320_TransposeResults1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another interesting point is that if I delete one or two of fields from the code then the order in the table is different again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what is happening here but if someone has any advice it would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 14:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1039#M72</guid>
      <dc:creator>JustinGleeson1</dc:creator>
      <dc:date>2016-09-08T14:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with order in Transpose Fields</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1040#M73</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well my only guess is what it is not... the transposition is not based on a list, but another container which doesn't maintain input order... my guess is a dictionary is being used&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 01:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1040#M73</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-09T01:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with order in Transpose Fields</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1041#M74</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;It just seems to be very random and throws back different results depending on names that are entered. I thought it may be alphabetical but even when I added a prefix of A_, B_ to the new field names it was still jumbled up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing the actual TransposeField Tool also throws back a similar result. Would you know how I could report this to ESRI developers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:25:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1041#M74</guid>
      <dc:creator>JustinGleeson1</dc:creator>
      <dc:date>2016-09-09T08:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with order in Transpose Fields</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1042#M75</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;I&amp;nbsp;&lt;/EM&gt;would, or at the very least get them to clarify the sort order. It could definitely be a bug given the example they use in the help topic, but not that use by the results.. &amp;nbsp;As another thought, you aren't using alias for the field names which would through the initial entry off?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 09:30:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1042#M75</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-09T09:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with order in Transpose Fields</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1043#M76</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;No, it just seems to be a random sort. I've some up with a bit of a work around using alpha codes, the do a sort management (ascending), join to a another tables with the alpha codes and proper variable names and finally use delete field to clear out the junk. It's a bit of a mess but works none the less!&lt;/P&gt;&lt;P&gt;Would you know where I can send in an official bug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 09:59:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1043#M76</guid>
      <dc:creator>JustinGleeson1</dc:creator>
      <dc:date>2016-09-12T09:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with order in Transpose Fields</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1044#M77</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Justin... in &lt;A href="http://support.esri.com/contact-tech-support"&gt;Support&lt;/A&gt; in the banner of GeoNet...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 10:07:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problems-with-order-in-transpose-fields/m-p/1044#M77</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-12T10:07:28Z</dc:date>
    </item>
  </channel>
</rss>

