<?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: Subset of Data to UN in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/subset-of-data-to-un/m-p/1657573#M5854</link>
    <description>&lt;P&gt;I did something like this a couple years ago, I'm not sure if this is best practice, but here's how I did it (this is off the top of my head, I don't have the script handy, may be forgetting or misremembering a bit):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I identified a subnetwork that had minimal geographical overlap with other subnetworks.&amp;nbsp; I didn't use any UN/AP attribution for this, it was a rural area that I knew (from the business) that was mostly on one circuit.&lt;/LI&gt;&lt;LI&gt;I created a new polygon feature class with one feature, a manually digitized polygon to encompass this area.&lt;/LI&gt;&lt;LI&gt;I wrote a Python script that used the polygon feature class to do the following:&lt;UL&gt;&lt;LI&gt;For each of the domain/structure classes in the AP, delete anything outside the polygon&lt;/LI&gt;&lt;LI&gt;Use a Python set and a series of search cursors to compile all Global IDs that remained (this also included the tables for non-spatial objects)&lt;/LI&gt;&lt;LI&gt;Open an update cursor on the C_Associations table and delete anything that had a "to global id" or "from global id" that was missing from the Global IDs set&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Build the AP&lt;/LI&gt;&lt;LI&gt;I added two subnetwork controllers for the subnetwork manually after the build, rather than use the C* table for those&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This did result in some leftover nearby features that were parts of other subnetworks, but it didn't really matter for what I was trying to do (identifying the most common errors to refine the ETL process, determining whether there were rules missing I needed to add, picking up ETL omissions like missing J:J associations, etc.)&amp;nbsp; I reused this process a few times as I made further changes to the ETL process, sometimes for the same region I used the first run, and sometimes for different regions.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 00:26:17 GMT</pubDate>
    <dc:creator>MobiusSnake</dc:creator>
    <dc:date>2025-10-14T00:26:17Z</dc:date>
    <item>
      <title>Subset of Data to UN</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/subset-of-data-to-un/m-p/1657569#M5853</link>
      <description>&lt;P&gt;Hello, I have data in an asset package but want to test a prototype UN by applying the asset package to a mobile gdb but I would like to only deploy a subset of my data such as one subnetwork/circuit from the substation and the other devices/structures connected to that circuit for testing purposes.&lt;/P&gt;&lt;P&gt;Goal is to be able to test run this circuit before moving forward with doing all the data.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 00:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/subset-of-data-to-un/m-p/1657569#M5853</guid>
      <dc:creator>Joshua_Moreno</dc:creator>
      <dc:date>2025-10-14T00:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Subset of Data to UN</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/subset-of-data-to-un/m-p/1657573#M5854</link>
      <description>&lt;P&gt;I did something like this a couple years ago, I'm not sure if this is best practice, but here's how I did it (this is off the top of my head, I don't have the script handy, may be forgetting or misremembering a bit):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I identified a subnetwork that had minimal geographical overlap with other subnetworks.&amp;nbsp; I didn't use any UN/AP attribution for this, it was a rural area that I knew (from the business) that was mostly on one circuit.&lt;/LI&gt;&lt;LI&gt;I created a new polygon feature class with one feature, a manually digitized polygon to encompass this area.&lt;/LI&gt;&lt;LI&gt;I wrote a Python script that used the polygon feature class to do the following:&lt;UL&gt;&lt;LI&gt;For each of the domain/structure classes in the AP, delete anything outside the polygon&lt;/LI&gt;&lt;LI&gt;Use a Python set and a series of search cursors to compile all Global IDs that remained (this also included the tables for non-spatial objects)&lt;/LI&gt;&lt;LI&gt;Open an update cursor on the C_Associations table and delete anything that had a "to global id" or "from global id" that was missing from the Global IDs set&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Build the AP&lt;/LI&gt;&lt;LI&gt;I added two subnetwork controllers for the subnetwork manually after the build, rather than use the C* table for those&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This did result in some leftover nearby features that were parts of other subnetworks, but it didn't really matter for what I was trying to do (identifying the most common errors to refine the ETL process, determining whether there were rules missing I needed to add, picking up ETL omissions like missing J:J associations, etc.)&amp;nbsp; I reused this process a few times as I made further changes to the ETL process, sometimes for the same region I used the first run, and sometimes for different regions.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 00:26:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/subset-of-data-to-un/m-p/1657573#M5854</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2025-10-14T00:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Subset of Data to UN</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/subset-of-data-to-un/m-p/1657649#M5856</link>
      <description>&lt;P&gt;You can also provide an extent to the Apply Asset Package to Geodatabase.&amp;nbsp; You will probably get some incomplete subnetworks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnAlsup_1-1760444214109.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141926iEB0156C5681AE242/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnAlsup_1-1760444214109.png" alt="JohnAlsup_1-1760444214109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 12:17:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/subset-of-data-to-un/m-p/1657649#M5856</guid>
      <dc:creator>JohnAlsup</dc:creator>
      <dc:date>2025-10-14T12:17:07Z</dc:date>
    </item>
  </channel>
</rss>

