<?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: How to replicate state tree from GDBTools? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834908#M4399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow this works great. What query are you using to get your state list? Mine is causing an error to throw in the JS from a duplicate value it doesn't like. I don't have PHP installed anywhere so I'm going to use python to execute the query, put the files in a CSV, and launch the webpage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Actually its not my query thats a problem. For some reason the database is giving 7 replications the same State ID, Parent ID, and Lineage ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2016 15:56:31 GMT</pubDate>
    <dc:creator>ChrisMathers1</dc:creator>
    <dc:date>2016-09-27T15:56:31Z</dc:date>
    <item>
      <title>How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834906#M4397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;I got a new computer which means a completely fresh install of Desktop at 10.4.1 which means no more rolling GDBTools forward. I really liked being able to visualize the state tree and want to try to replicate it using python. I'm grabbing the state list using&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;use&lt;/SPAN&gt; sde
&lt;SPAN class="keyword token"&gt;select&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sde_states&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;state_id&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; parent_state_id&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; lineage_name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; name
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SDE_states
&lt;SPAN class="keyword token"&gt;left&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;join&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SDE_versions
&lt;SPAN class="keyword token"&gt;on&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sde_states&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;state_id
&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sde_versions&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;state_id
&lt;SPAN class="keyword token"&gt;order&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;by&lt;/SPAN&gt; state_id&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but I'm having trouble sorting the states into their branches however. Anyone at esri have some advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834906#M4397</guid>
      <dc:creator>ChrisMathers1</dc:creator>
      <dc:date>2021-12-12T10:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834907#M4398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although&lt;A href="https://community.esri.com/message/554852"&gt;Re: GDBT to ArcGIS 10.1?&lt;/A&gt; is old, there are some comments at the end from last year that speak to this topic.&amp;nbsp; I posted an &lt;A href="https://jsfiddle.net/bixb0012/5j7e304b/"&gt;SDE State Tree Example &lt;/A&gt;on JSFiddle, but something very similar could be done using one of the Python visualization libraries.&amp;nbsp; I went with JavaScript because I liked the interactive nature of it rather than outputting a static PNG or some other image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 14:28:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834907#M4398</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-09-27T14:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834908#M4399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow this works great. What query are you using to get your state list? Mine is causing an error to throw in the JS from a duplicate value it doesn't like. I don't have PHP installed anywhere so I'm going to use python to execute the query, put the files in a CSV, and launch the webpage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Actually its not my query thats a problem. For some reason the database is giving 7 replications the same State ID, Parent ID, and Lineage ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 15:56:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834908#M4399</guid>
      <dc:creator>ChrisMathers1</dc:creator>
      <dc:date>2016-09-27T15:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834909#M4400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My&amp;nbsp;SQL is effectively the same as yours, just for Oracle instead of SQL Server and without the lineage name.&amp;nbsp; I haven't run into the situation you have, so I don't get the error you are seeing.&amp;nbsp; Are the state tree results you are seeing even valid?&amp;nbsp; I haven't worked in SDE for a while, will have to think about the situation you describe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 18:24:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834909#M4400</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-09-27T18:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834910#M4401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah not sure whats going on with it but everything is working so I'm not very worried about it, just a little concerned. After a sync and compress 2 of the 6 now have new IDs but they are once again duplicate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name&amp;nbsp;&amp;nbsp; &amp;nbsp;owner&amp;nbsp;&amp;nbsp; &amp;nbsp;version_id&amp;nbsp;&amp;nbsp; &amp;nbsp;status&amp;nbsp;&amp;nbsp; &amp;nbsp;state_id&lt;BR /&gt;SYNC_SEND_34522_45&amp;nbsp;&amp;nbsp; &amp;nbsp;SDE&amp;nbsp;&amp;nbsp; &amp;nbsp;3049&amp;nbsp;&amp;nbsp; &amp;nbsp;16777216&amp;nbsp;&amp;nbsp; &amp;nbsp;601500&lt;BR /&gt;SYNC_SEND_34559_45&amp;nbsp;&amp;nbsp; &amp;nbsp;SDE&amp;nbsp;&amp;nbsp; &amp;nbsp;3050&amp;nbsp;&amp;nbsp; &amp;nbsp;16777216&amp;nbsp;&amp;nbsp; &amp;nbsp;601500&lt;BR /&gt;SYNC_SEND_29256_471&amp;nbsp;&amp;nbsp; &amp;nbsp;SDE&amp;nbsp;&amp;nbsp; &amp;nbsp;3053&amp;nbsp;&amp;nbsp; &amp;nbsp;16777216&amp;nbsp;&amp;nbsp; &amp;nbsp;601500&lt;BR /&gt;SYNC_SEND_30056_475&amp;nbsp;&amp;nbsp; &amp;nbsp;SDE&amp;nbsp;&amp;nbsp; &amp;nbsp;3054&amp;nbsp;&amp;nbsp; &amp;nbsp;16777216&amp;nbsp;&amp;nbsp; &amp;nbsp;601500&lt;BR /&gt;SYNC_SEND_34512_107&amp;nbsp;&amp;nbsp; &amp;nbsp;SDE&amp;nbsp;&amp;nbsp; &amp;nbsp;3058&amp;nbsp;&amp;nbsp; &amp;nbsp;16777216&amp;nbsp;&amp;nbsp; &amp;nbsp;601529&lt;BR /&gt;SYNC_SEND_34516_105&amp;nbsp;&amp;nbsp; &amp;nbsp;SDE&amp;nbsp;&amp;nbsp; &amp;nbsp;3059&amp;nbsp;&amp;nbsp; &amp;nbsp;16777216&amp;nbsp;&amp;nbsp; &amp;nbsp;601529&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 18:36:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834910#M4401</guid>
      <dc:creator>ChrisMathers1</dc:creator>
      <dc:date>2016-09-27T18:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834911#M4402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried &lt;A _jive_internal="true" href="https://community.esri.com/thread/82285#comment-402241"&gt;the GDBT registry hack by asrujit_pb&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have used this to put GDBT on clean ArcGIS installs from 10.1 to 10.3.1, no problems. &amp;nbsp;(Not tested on 10.4 yet)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 00:18:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834911#M4402</guid>
      <dc:creator>AndrewQuee</dc:creator>
      <dc:date>2016-10-05T00:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834912#M4403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just FYI, you may also want to vote for this enhancement request on the ArcGIS Ideas site,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;State Tree Diagram for 10.1 and above&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/ideas/7322?commentID=33437#comment" title="https://community.esri.com/ideas/7322?commentID=33437#comment-33437"&gt;https://community.esri.com/ideas/7322?commentID=33437#comment-33437&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 06:38:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834912#M4403</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2016-10-05T06:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834913#M4404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI, I used the hack on a 10.4.1 machine and it did work to get it installed.&amp;nbsp; Unfortunately, I don't have any updated SDE (SQL) databases yet to check it against, so I'm not sure if the tools themselves are working.&amp;nbsp; fwiw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 15:44:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834913#M4404</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-10-05T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834914#M4405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works but Im not keen on a registry hack if I dont need to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 14:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834914#M4405</guid>
      <dc:creator>ChrisMathers1</dc:creator>
      <dc:date>2016-10-10T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834915#M4406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my non-professional experience (A.Dip. Network Engineering, many years experience system building, desktop and GIS support), this is perfectly safe. &amp;nbsp;It is a simple change that is easily undone, and you can also backup the registry entry and restore it if it all goes pear-shaped. &amp;nbsp;In fact I recommend making a backup before editing anything to anyone considering fooling around with the registry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, your IT group may take a very dim view of such activity, if not banning it outright - for good reasons usually. &amp;nbsp;It's the equivalent of fiddling around with your car's spark plug cables and fan belts - while the engine is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'd say that&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3176"&gt;Derek Law&lt;/A&gt;&amp;nbsp;has it right, and everyone interested in this tool should vote up the idea. &amp;nbsp;It's quite silly that in this day and age, we're relying on a 10.0 third-party extension and registry hacks to manage enterprise geodatabases!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 23:39:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834915#M4406</guid>
      <dc:creator>AndrewQuee</dc:creator>
      <dc:date>2016-10-10T23:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate state tree from GDBTools?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834916#M4407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yesterday I implemented the JS tree version by &lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/people/bixb0012"&gt;bixb0012&lt;/A&gt; posted earlier in this thread with python getting the state information. I barely used the other GDBT functions so this meets my needs. Its actually much faster when there are a lot of states as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 12:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-replicate-state-tree-from-gdbtools/m-p/834916#M4407</guid>
      <dc:creator>ChrisMathers1</dc:creator>
      <dc:date>2016-10-12T12:46:38Z</dc:date>
    </item>
  </channel>
</rss>

