<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How do I Merge two GPK files without overwriting Survey Chains or Points</title><link>https://communities.bentley.com/products/road___site_design/w/road_and_site_design__wiki/20327/how-do-i-merge-two-gpk-files-without-overwriting-survey-chains-or-points</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>How do I Merge two GPK files without overwriting Survey Chains or Points</title><link>https://communities.bentley.com/products/road___site_design/w/road_and_site_design__wiki/20327/how-do-i-merge-two-gpk-files-without-overwriting-survey-chains-or-points</link><pubDate>Mon, 30 Mar 2015 18:15:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fcfa40f5-1788-4fa0-866d-b376c9799614</guid><dc:creator>Nico Roman</dc:creator><comments>https://communities.bentley.com/products/road___site_design/w/road_and_site_design__wiki/20327/how-do-i-merge-two-gpk-files-without-overwriting-survey-chains-or-points#comments</comments><description>Current Revision posted to OpenRoads | OpenSite Wiki by Nico Roman on 3/30/2015 6:15:32 PM&lt;br /&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;&lt;img width="189" height="60" style="border-width:0px;" alt=" " src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;table align="left" style="border:0px solid #dce5f0;width:500px;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Applies To&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;GEOPAK&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;all&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Bentley Technical Support Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;&amp;nbsp;&lt;/h1&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;Problem&lt;/h1&gt;
&lt;p&gt;The situation is you have a GPK1, GPK2 with some of the chains with the same name as GPK1, you want to merge both in a new GPK3. The procedure is Merge GPK1 into GPK3, then use the command to merge and add prefix to GPK2 while merging to GPK3.&lt;/p&gt;
&lt;h1&gt;Solution&lt;/h1&gt;
&lt;p style="margin:0in 0in 0pt;"&gt;&lt;span style="font-family:Calibri;font-size:medium;"&gt;There is a cogo command to add a prefix to the elements in the second GPK:&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0in 0in 0pt;"&gt;&lt;span style="font-family:Calibri;font-size:medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0in 0in 0pt;"&gt;&lt;span style="font-family:Calibri;font-size:medium;"&gt;DATABASE MERGE JOBXXX ELEMENTS ALL PREFIX (PREFIX)&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0in 0in 0pt;"&gt;&lt;span style="font-family:Calibri;font-size:medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0in 0in 0pt;"&gt;&lt;span style="font-family:Calibri;font-size:medium;"&gt;DATABASE MERGE JOBXXX ELEMENTS POINTS PREFIX (PREFIX)&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0in 0in 0pt;"&gt;&lt;span style="font-family:Calibri;font-size:medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0in 0in 0pt;"&gt;&lt;span style="font-family:Calibri;font-size:medium;"&gt;DATABASE MERGE JOBXXX ELEMENTS SURVEY CHAINS PREFIX (PREFIX)&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0in 0in 0pt;"&gt;&lt;span style="font-family:Calibri;font-size:medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1 style="font-size:2em;"&gt;See Also&lt;/h1&gt;
&lt;p&gt;&lt;a href="/Products/w/Products__Wiki/product-technotes-and-faqs.aspx"&gt;Product TechNotes and FAQs&lt;/a&gt;&lt;/p&gt;
&lt;h1 style="font-size:2em;"&gt;External Links&lt;/h1&gt;
&lt;p&gt;&lt;a title="KnowledgeBase" href="http://appsnet.bentley.com/kbase/"&gt;Bentley Technical Support KnowledgeBase&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a title="LEARN Server" href="http://lms.bentley.com/"&gt;Bentley LEARN Server&lt;/a&gt;&lt;/p&gt;
&lt;h1 style="font-size:2em;"&gt;Comments or Corrections?&lt;/h1&gt;
&lt;p&gt;Bentley&amp;#39;s Technical Support Group requests that you please confine any comments you have on this Wiki entry to this &amp;quot;Comments or Corrections?&amp;quot; section. THANK YOU!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: survey, Merge, gpk, chains, overwrite&lt;/div&gt;
</description></item></channel></rss>