<?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 Fieldmapping in Append doesn't work in Modelbuilder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/fieldmapping-in-append-doesn-t-work-in/m-p/119100#M4128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've created a model that appends (gp/datamanagement/general tool) features from shapefiles into comparable features in a geodatabase.&amp;nbsp; I use the No_test option and map fields from the input shapefile into fields of the target feature class.&amp;nbsp; However, this doesn't seem to work because it seems the fieldmapping is following the index order of fields in the inputs and because i'm not bring all input fields into my geodatabase, the sequence of fields doesn't match.&amp;nbsp; My input shapefile has the following fields:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FN,Type,Unit_num,Comment,Max_PDOP,Corr_Type,Rcvr_Type,GPS_Date,GPS_Tim,Feat_Name,Datafile&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The mapping brings all those &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;except the Rcvr_Type &lt;/SPAN&gt;&lt;SPAN&gt;field into the GDB feature class.&amp;nbsp; When i run the model, it fails because it tries to put the Rcvr_Type field into the GPS_Date field.&amp;nbsp; So apparently the tool is simply going in order of the fields encountered in the Shapefile and ignoring the fieldmapping.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone seen this? I may have to write a python script to do this if the modelbuilder approach doesn't work, but i'm just curious why the field mapping information would be ignored.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2011 14:02:28 GMT</pubDate>
    <dc:creator>ChristopherThompson</dc:creator>
    <dc:date>2011-11-18T14:02:28Z</dc:date>
    <item>
      <title>Fieldmapping in Append doesn't work in Modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/fieldmapping-in-append-doesn-t-work-in/m-p/119100#M4128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've created a model that appends (gp/datamanagement/general tool) features from shapefiles into comparable features in a geodatabase.&amp;nbsp; I use the No_test option and map fields from the input shapefile into fields of the target feature class.&amp;nbsp; However, this doesn't seem to work because it seems the fieldmapping is following the index order of fields in the inputs and because i'm not bring all input fields into my geodatabase, the sequence of fields doesn't match.&amp;nbsp; My input shapefile has the following fields:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FN,Type,Unit_num,Comment,Max_PDOP,Corr_Type,Rcvr_Type,GPS_Date,GPS_Tim,Feat_Name,Datafile&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The mapping brings all those &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;except the Rcvr_Type &lt;/SPAN&gt;&lt;SPAN&gt;field into the GDB feature class.&amp;nbsp; When i run the model, it fails because it tries to put the Rcvr_Type field into the GPS_Date field.&amp;nbsp; So apparently the tool is simply going in order of the fields encountered in the Shapefile and ignoring the fieldmapping.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone seen this? I may have to write a python script to do this if the modelbuilder approach doesn't work, but i'm just curious why the field mapping information would be ignored.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 14:02:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/fieldmapping-in-append-doesn-t-work-in/m-p/119100#M4128</guid>
      <dc:creator>ChristopherThompson</dc:creator>
      <dc:date>2011-11-18T14:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fieldmapping in Append doesn't work in Modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/fieldmapping-in-append-doesn-t-work-in/m-p/119101#M4129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess the data type of GPS_Date is Date. What is the data type of your filed Rcvr_Type? Only Text and Date types can be mapped to a Date type. Let me know.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 05:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/fieldmapping-in-append-doesn-t-work-in/m-p/119101#M4129</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2011-11-25T05:16:28Z</dc:date>
    </item>
  </channel>
</rss>

