<?xml version="1.0" encoding="UTF-8"?><metadata>
<Esri>
<CreaDate>20190117</CreaDate>
<CreaTime>17080200</CreaTime>
<ArcGISFormat>1.0</ArcGISFormat>
<SyncOnce>TRUE</SyncOnce>
<ModDate>20190805</ModDate>
<ModTime>105840</ModTime>
</Esri>
<dataIdInfo>
<idCitation>
<resTitle>Merge</resTitle>
<date>
<createDate>20190117</createDate>
</date>
</idCitation>
<idAbs>
<para>Combines multiple input datasets into a single, new output dataset. This tool can combine point, line, or polygon feature classes or tables.</para>
<para>Use the Append tool to combine input datasets with an existing dataset.</para>
</idAbs>
<descKeys KeyTypCd="005">
<keyTyp>
<keyTyp>005</keyTyp>
</keyTyp>
<keyword/>
<keyword>Add</keyword>
<keyword>Aggregate</keyword>
<keyword>Append</keyword>
<keyword>Attach</keyword>
<keyword>Combine</keyword>
<keyword>Concatenate</keyword>
<keyword>Dataset</keyword>
<keyword>Fuse</keyword>
<keyword>Join</keyword>
<keyword>Map</keyword>
<keyword>New</keyword>
<keyword>Union</keyword>
<keyword>Unite</keyword>
</descKeys>
</dataIdInfo>
<distInfo>
<distributor>
<distorFormat>
<formatName>ArcToolbox Tool</formatName>
</distorFormat>
</distributor>
</distInfo>
<mdDateSt>20190410</mdDateSt>
<mdContact>
<rpOrgName>Environmental Systems Research Institute, Inc. (Esri)</rpOrgName>
<rpCntInfo>
<cntAddress>
<delPoint>380 New York Street</delPoint>
<city>Redlands</city>
<adminArea>California</adminArea>
<postCode>92373-8100</postCode>
<eMailAdd>info@esri.com</eMailAdd>
<country>United States</country>
</cntAddress>
<cntPhone>
<voiceNum>909-793-2853</voiceNum>
<faxNum>909-793-5953</faxNum>
</cntPhone>
<cntOnlineRes>
<linkage>http://www.esri.com</linkage>
</cntOnlineRes>
</rpCntInfo>
<role>
<RoleCd>007</RoleCd>
</role>
</mdContact>
<tool displayname="Merge" name="Merge" softwarerestriction="none" toolboxalias="&lt;process id=&quot;Background#5:4553509957098&quot; ticks=&quot;637006093150000000&quot; err_code=&quot;0&quot; has_error=&quot;false&quot; decimal_point=&quot;,&quot; version=&quot;1&quot; ticks2=&quot;637006093166572868&quot;&gt; &lt;tool name=&quot;Merge&quot; type=&quot;function&quot; toolboxalias=&quot;management&quot;&gt; &lt;displayname&gt;Merge&lt;/displayname&gt; &lt;description&gt;Geoprocessing tool that combines multiple input datasets into a single, new output dataset.&lt;/description&gt; &lt;/tool&gt; &lt;params&gt; &lt;param name=&quot;inputs&quot; displayname=&quot;Input Datasets&quot; derived=&quot;false&quot; output=&quot;false&quot; subDType=&quot;GPTableView&quot; datatype=&quot;GPMultiValue&quot;&gt;AJURICABA_Buff_out;AJURICABA_Buff_in&lt;/param&gt; &lt;param name=&quot;output&quot; displayname=&quot;Output Dataset&quot; derived=&quot;false&quot; output=&quot;true&quot; datatype=&quot;DEFeatureClass&quot;&gt;C:\Users\giovani\Documents\ArcGIS\Projects\app3 light\app3 light.gdb\AJURICABA_Buff_out_Merge&lt;/param&gt; &lt;param name=&quot;field_mappings&quot; displayname=&quot;Field Map&quot; derived=&quot;false&quot; output=&quot;false&quot; datatype=&quot;GPFieldMapping&quot;&gt;NM_MUNICIP &quot;NM_MUNICIP&quot; true true false 60 Text 0 0,First,#,AJURICABA_Buff_out,NM_MUNICIP,0,60,AJURICABA_Buff_in,NM_MUNICIP,0,60;GEOCODIGO &quot;GEOCODIGO&quot; true true false 4 Long 0 0,First,#,AJURICABA_Buff_out,GEOCODIGO,-1,-1,AJURICABA_Buff_in,GEOCODIGO,-1,-1;Symbol &quot;Symbol&quot; true true false 50 Text 0 0,First,#,AJURICABA_Buff_out,Symbol,0,50,AJURICABA_Buff_in,Symbol,0,50;G_MGS_H &quot;G_MGS_H&quot; true true false 8 Double 0 0,First,#,AJURICABA_Buff_out,G_MGS_H,-1,-1,AJURICABA_Buff_in,G_MGS_H,-1,-1;G_MGS2_H &quot;G_MGS2_H&quot; true true false 8 Double 0 0,First,#,AJURICABA_Buff_out,G_MGS2_H,-1,-1,AJURICABA_Buff_in,G_MGS2_H,-1,-1;C1_MGP_H &quot;C1_MGP_H&quot; true true false 8 Double 0 0,First,#,AJURICABA_Buff_out,C1_MGP_H,-1,-1,AJURICABA_Buff_in,C1_MGP_H,-1,-1;C2_MGP_H &quot;C2_MGP_H&quot; true true false 8 Double 0 0,First,#,AJURICABA_Buff_out,C2_MGP_H,-1,-1,AJURICABA_Buff_in,C2_MGP_H,-1,-1;C3_MGP_H &quot;C3_MGP_H&quot; true true false 8 Double 0 0,First,#,AJURICABA_Buff_out,C3_MGP_H,-1,-1,AJURICABA_Buff_in,C3_MGP_H,-1,-1;Shape_Leng &quot;Shape_Leng&quot; true true false 8 Double 0 0,First,#,AJURICABA_Buff_out,Shape_Leng,-1,-1,AJURICABA_Buff_in,Shape_Leng,-1,-1;BUFF_DIST &quot;BUFF_DIST&quot; true true false 8 Double 0 0,First,#,AJURICABA_Buff_out,BUFF_DIST,-1,-1,AJURICABA_Buff_in,BUFF_DIST,-1,-1;ORIG_FID &quot;ORIG_FID&quot; true true false 4 Long 0 0,First,#,AJURICABA_Buff_out,ORIG_FID,-1,-1,AJURICABA_Buff_in,ORIG_FID,-1,-1;Shape_Length &quot;Shape_Length&quot; false true true 8 Double 0 0,First,#,AJURICABA_Buff_out,Shape_Length,-1,-1,AJURICABA_Buff_in,Shape_Length,-1,-1;Shape_Area &quot;Shape_Area&quot; false true true 8 Double 0 0,First,#,AJURICABA_Buff_out,Shape_Area,-1,-1,AJURICABA_Buff_in,Shape_Area,-1,-1&lt;/param&gt; &lt;param name=&quot;add_source&quot; displayname=&quot;Add source information to output&quot; derived=&quot;false&quot; output=&quot;false&quot; datatype=&quot;GPBoolean&quot;&gt;ADD_SOURCE_INFO&lt;/param&gt; &lt;/params&gt; &lt;environments /&gt; &lt;return_value&gt;C:\Users\giovani\Documents\ArcGIS\Projects\app3 light\app3 light.gdb\AJURICABA_Buff_out_Merge&lt;/return_value&gt; &lt;messages&gt; &lt;msg code=&quot;0&quot; type=&quot;2&quot;&gt;Start Time: segunda-feira, 5 de agosto de 2019 10:41:55&lt;/msg&gt; &lt;msg code=&quot;0&quot; type=&quot;3&quot;&gt;Succeeded at segunda-feira, 5 de agosto de 2019 10:41:56 (Elapsed Time: 0,69 seconds)&lt;/msg&gt; &lt;/messages&gt; &lt;/process&gt;">
<summary>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Combina múltiplas entradas em único dado de saída.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</summary>
<alink_name>Merge_management</alink_name>
<toolIllust alt="Merge tool" src="withheld" type="illustration"/>
<parameters>
<param datatype="Multiple Value" direction="Input" displayname="Dados de entrada" expression="AJURICABA_Buff_out_Merg_Era | AJURICABA_Buff_in_Intersect1 | AJURICABA_Buff_out_Dissolve | AJURICABA_Buff_out_Merge | AJURICABA_Buff_out_Clip | AJURICABA_Buff_in | AJURICABA_Buff_out | AJURICABA" name="inputs" sync="true" type="Required">
<pythonReference>
<para>The input datasets that will be merged into a new output dataset. Input datasets can be point, line, or polygon feature classes or tables. Input feature classes must all be of the same geometry type.</para>
<para>Tables and feature classes can be combined in a single output dataset. The output type is determined by the first input. If the first input is a feature class, the output will be a feature class; if the first input is a table, the output will be a table. If a table is merged into a feature class, the rows from the input table will have null geometry.</para>
</pythonReference>
<dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Dados de entrada podem ser ponto, linha, polígono ou tabela.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference>
</param>
<param datatype="Feature Set" direction="Output" displayname="Dado de saída" expression="{output}" name="output" sync="true" type="Optional">
<pythonReference>
<para>The output dataset that will contain all combined input datasets.</para>
</pythonReference>
<dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Conjunto de dados que irá conter os dados de entrada combinados.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference>
</param>
<param datatype="String" direction="Input" displayname="Field Map" expression="{field_mappings}" name="field_mappings" sync="true" type="Optional">
<pythonReference>
<para>Controls how the attribute fields from the input datasets are mapped and transferred to the output dataset.</para>
<para>You can add, rename, or delete output fields as well as set properties, such as data type and merge rule.</para>
<para>
Merge rules allow you to specify how values from two or more
input fields are merged or combined into a single output value.
There are several merge rules that determine how the output field is populated with values.
<bulletList>
<bullet_item>First—Use the input fields' first value.</bullet_item>
<bullet_item>Last—Use the input fields' last value.</bullet_item>
<bullet_item>Join—Concatenate (join) the input fields' values.</bullet_item>
<bullet_item>Sum—Calculate the total of the input fields' values.</bullet_item>
<bullet_item>Mean—Calculate the mean (average) of the input fields' values.</bullet_item>
<bullet_item>Median—Calculate the median (middle) of the input fields' values.</bullet_item>
<bullet_item>Mode—Use the value with the highest frequency.</bullet_item>
<bullet_item>Min—Use the minimum value of all input fields' values.</bullet_item>
<bullet_item>Max—Use the maximum value of all input fields' values.</bullet_item>
<bullet_item>Standard deviation—Use the standard deviation classification method on all input fields'
values.</bullet_item>
<bullet_item>Count—Find the number of records included in the calculation.
</bullet_item>
</bulletList>
</para>
<para>You can use the ArcPy FieldMappings class to define this parameter.</para>
</pythonReference>
<dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Controls how the attribute fields from the input datasets are mapped and transferred to the output dataset.You can add, rename, or delete output fields as well as set properties, such as data type and merge rule.Merge rules allow you to specify how values from two or more
input fields are merged or combined into a single output value.
There are several merge rules that determine how the output field is populated with values.First—Use the input fields' first value.Last—Use the input fields' last value.Join—Concatenate (join) the input fields' values.Sum—Calculate the total of the input fields' values.Mean—Calculate the mean (average) of the input fields' values.Median—Calculate the median (middle) of the input fields' values.Mode—Use the value with the highest frequency.Min—Use the minimum value of all input fields' values.Max—Use the maximum value of all input fields' values.Standard deviation—Use the standard deviation classification method on all input fields'
values.Count—Find the number of records included in the calculation.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference>
</param>
<param datatype="Boolean" direction="Input" displayname="Add source information to output" expression="{add_source}" name="add_source" sync="true" type="Optional">
<pythonReference>
<para>Specifies whether source information will be added to the output dataset in a new text field, MERGE_SRC. The values in the MERGE_SRC field will indicate the input dataset path or layer name that is the source of each record in the output.</para>
<bulletList>
<bullet_item>NO_SOURCE_INFO— Source information will not be added to the output dataset in a MERGE_SRC field. This is the default.</bullet_item>
<bullet_item>ADD_SOURCE_INFO—Source information will be added to the output dataset in a MERGE_SRC field.</bullet_item>
</bulletList>
</pythonReference>
<dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Specifies whether source information will be added to the output dataset in a new text field, MERGE_SRC. The values in the MERGE_SRC field will indicate the input dataset path or layer name that is the source of each record in the output. Unchecked—Source information will not be added to the output dataset in a MERGE_SRC field. This is the default.Checked—Source information will be added to the output dataset in a MERGE_SRC field.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference>
</param>
<param datatype="String" direction="Input" displayname="Output Feature Service Name" expression="{esri_out_feature_service_name}" name="esri_out_feature_service_name" type="Optional">
<dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;The name of the optional feature service to create on the federated server containing the result of this tool. If no name is specified an output feature service will not be created.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference>
</param>
</parameters>
<returnvalues/>
<environments>
<environment label="Default output Z value" name="outputZValue">
</environment>
<environment label="M resolution" name="MResolution">
</environment>
<environment label="M tolerance" name="MTolerance">
</environment>
<environment label="Output XY domain" name="XYDomain">
</environment>
<environment label="Output coordinate system" name="outputCoordinateSystem">
</environment>
<environment label="Output extent" name="extent">
</environment>
<environment label="Current workspace" name="workspace">
</environment>
<environment label="Geograpic transformations" name="geographicTransformations">
</environment>
<environment label="Scratch workspace" name="scratchWorkspace">
</environment>
<environment label="Output has M values" name="outputMFlag">
</environment>
<environment label="Output has Z values" name="outputZFlag">
</environment>
<environment label="XY resolution" name="XYResolution">
</environment>
<environment label="XY tolerance" name="XYTolerance">
</environment>
<environment label="Z resolution" name="ZResolution">
</environment>
<environment label="Z tolerance" name="ZTolerance">
</environment>
<environment label="Output Z domain" name="ZDomain"/>
<environment label="Output M domain" name="MDomain"/>
<environment label="Maintain Attachments" name="maintainAttachments"/>
<environment label="Transfer gdb attribute properties" name="transferGDBAttributeProperties"/>
</environments>
<usage>
<bullet_item>
<para>Use this tool to combine datasets from multiple sources into a new, single output dataset. All input feature classes must be of the same geometry type. For example, several point feature classes can be merged, but a line feature class cannot be merged with a polygon feature class.</para>
<para>Tables and feature classes can be combined in a single output dataset. The output type is determined by the first input. If the first input is a feature class, the output will be a feature class,; if the first input is a table, the output will be a table. If a table is merged into a feature class, the rows from the input table will have null geometry.</para>
</bullet_item>
<bullet_item>
<para>All fields in the output dataset and the contents of those fields can be controlled using the Field map.</para>
</bullet_item>
<bullet_item>
<para>This tool will not split or alter the geometries from the input datasets. All features from the input datasets will remain intact in the output dataset, even if the features overlap. To combine, or planarize, feature geometries, use the Union tool.</para>
</bullet_item>
<bullet_item>
<para>If feature classes are being merged, the output dataset will be in the coordinate system of the first feature class in the Input Datasets list, unless the Output Coordinate System geoprocessing environment is set.</para>
</bullet_item>
<bullet_item>
<para>This tool does not support annotation feature classes. Use the Append Annotation Feature Classes tool to combine annotation feature classes.</para>
</bullet_item>
<bullet_item>
<para>This tool does not support raster datasets. Use the Mosaic To New Raster tool to combine multiple rasters into a new output raster.</para>
</bullet_item>
</usage>
<scriptExamples>
<scriptExample>
<title>Merge example 1 (Python window)</title>
<para>The following Python window script demonstrates how to use the Merge tool.</para>
<code xml:space="preserve">import arcpy
arcpy.env.workspace = "C:/data"
arcpy.Merge_management(["majorrds.shp", "Habitat_Analysis.gdb/futrds"], "C:/output/Output.gdb/allroads", "", "ADD_SOURCE_INFO")
</code>
</scriptExample>
<scriptExample>
<title>Merge example 2 (stand-alone script)</title>
<para>Use the Merge tool to move features from two street feature classes into a single dataset.</para>
<code xml:space="preserve"># Name: Merge.py
# Description: Use Merge tool to move features from two street
# feature classes into a single dataset with field mapping
# import system modules import arcpy
# Set environment settings
arcpy.env.workspace = "C:/data"
# Street feature classes to be merged
oldStreets = "majorrds.shp"
newStreets = "Habitat_Analysis.gdb/futrds"
addSourceInfo = "ADD_SOURCE_INFO"
# Create FieldMappings object to manage merge output fields
fieldMappings = arcpy.FieldMappings()
# Add all fields from both oldStreets and newStreets
fieldMappings.addTable(oldStreets)
fieldMappings.addTable(newStreets)
# Add input fields "STREET_NAM" &amp; "NM" into new output field
fldMap_streetName = arcpy.FieldMap()
fldMap_streetName.addInputField(oldStreets, "STREET_NAM")
fldMap_streetName.addInputField(newStreets, "NM")
# Set name of new output field "Street_Name"
streetName = fldMap_streetName.outputField
streetName.name = "Street_Name"
fldMap_streetName.outputField = streetName
# Add output field to field mappings object
fieldMappings.addFieldMap(fldMap_streetName)
# Add input fields "CLASS" &amp; "IFC" into new output field
fldMap_streetClass = arcpy.FieldMap()
fldMap_streetClass.addInputField(oldStreets, "CLASS")
fldMap_streetClass.addInputField(newStreets, "IFC")
# Set name of new output field "Street_Class"
streetClass = fldMap_streetClass.outputField
streetClass.name = "Street_Class"
fldMap_streetClass.outputField = streetClass # Add output field to field mappings object
fieldMappings.addFieldMap(fldMap_streetClass) # Remove all output fields from the field mappings, except fields # "Street_Class", "Street_Name", &amp; "Distance"
for field in fieldMappings.fields:
if field.name not in ["Street_Class", "Street_Name", "Distance"]:
fieldMappings.removeFieldMap(fieldMappings.findFieldMapIndex(field.name))
# Since both oldStreets and newStreets have field "Distance", no field mapping # is required
# Use Merge tool to move features into single dataset
uptodateStreets = "C:/output/Output.gdb/allroads"
arcpy.Merge_management([oldStreets, newStreets], uptodateStreets, fieldMappings, addSourceInfo)
</code>
</scriptExample>
</scriptExamples>
<shortdesc>ArcGIS geoprocessing tool that combines multiple input datasets into a single, new output dataset.</shortdesc>
<arcToolboxHelpPath>withheld</arcToolboxHelpPath>
</tool>
</metadata>
