<?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: Movings points in my geometric network to their absolute X,Y obtained through GPS in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465080#M36419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Neil,Marcela &lt;/P&gt;&lt;P&gt;Totally appreciate your responses to my query,am sure this will work with my tables too once i change the paths and field names corresponding to my data.&lt;/P&gt;&lt;P&gt;thanks again for the solutions provided.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tanmay&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2015 04:25:40 GMT</pubDate>
    <dc:creator>TanmayNaik</dc:creator>
    <dc:date>2015-05-01T04:25:40Z</dc:date>
    <item>
      <title>Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465074#M36413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello there, i want to know whether it is possible to move points in my geometric network to their absolute X,Y references using a table with x,y values and a common field, if this is to be done programmatically which script or method will be useful,i dont know much about python scripts or programming would appreciate if i get a ready script which helps me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 07:30:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465074#M36413</guid>
      <dc:creator>TanmayNaik</dc:creator>
      <dc:date>2015-03-25T07:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465075#M36414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This could, of course, be done using python / arcpy. It is a bit difficult to provide a ready made script without some more clues about the actual data. But the general flow might be :&lt;/P&gt;&lt;P&gt;read the ID and NewXY into a python structure like a dictionary.&lt;/P&gt;&lt;P&gt;Open up an Update cursor on the target, read each geometry, look up the new XY and update the existing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But another, non programmatic approach might be to use a topology between the 2 features. You existing stuff could be snapped automatically to the new points. Be aware that this changes the existing in place, so also make a copy beforehand before doing anything, just in case :&lt;/P&gt;&lt;P&gt;Topology help :&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//006200000003000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//006200000003000000&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:34:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465075#M36414</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-03-25T10:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465076#M36415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;Appreciate your response to my query.i work on sewer utility networks. we&lt;/P&gt;&lt;P&gt;have a geometric network built of our data comprising of manholes and sewer&lt;/P&gt;&lt;P&gt;lines , the earlier old data was digitized using filed survey maps based on&lt;/P&gt;&lt;P&gt;geographic locations as reference points such as roads buildings etc but&lt;/P&gt;&lt;P&gt;currently we had undertaken a handheld gps survey for our utility resources&lt;/P&gt;&lt;P&gt;which gave us the correct absolute coordinates based on the readings,now we&lt;/P&gt;&lt;P&gt;wish to move each asset in this case being the manholes to their accurate&lt;/P&gt;&lt;P&gt;locations so as to make the data spatially correct for other stakeholders&lt;/P&gt;&lt;P&gt;to use.The common field of attributes in this case would be the unique&lt;/P&gt;&lt;P&gt;manhole ids assigned so as to correlate which value corresponds to which&lt;/P&gt;&lt;P&gt;manhole.i will be importing and uploading the data as points in a shape&lt;/P&gt;&lt;P&gt;file to my data for reference.So now my aim is to move my existing network&lt;/P&gt;&lt;P&gt;points to their actual locations based on gps survey.&lt;/P&gt;&lt;P&gt;Hope you could suggest how this can be done as the data is voluminous and&lt;/P&gt;&lt;P&gt;doing it manually will be very difficult.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tanmay Naik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 06:48:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465076#M36415</guid>
      <dc:creator>TanmayNaik</dc:creator>
      <dc:date>2015-03-26T06:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465077#M36416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm sure there has to be a better way using programming or such, but if you have the matching ID's for each manhole in the gps shp, you could create the corresponding fields on said shp and join it (using the ID) to your manhole feature class, transfer the attributes info (field calculator or there might be some transfer tool) and copy/paste de gps points to the feature class (after deleting your original points so there won't be duplicates).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm not sure it'll work but that's what i would try if it's only a one time thing, otherwise i would search for a less manually procedure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 16:50:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465077#M36416</guid>
      <dc:creator>MarcelaRondon</dc:creator>
      <dc:date>2015-04-29T16:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465078#M36417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
# source &amp;amp; target data location
updateTable = "c:/Data/ESRI-SA/ArcForums/MovingPoints.mdb/tblManholeUpdate"
targetFc = "c:/Data/ESRI-SA/ArcForums/MovingPoints.mdb/TM29_WGS84/Manholes"
# fields to be read
updateFields = ["ManholeID", "X", "Y"]
# fields to be updated
fields = ["ManholeID", "&lt;A href="mailto:SHAPE@XY" rel="nofollow noopener noreferrer" target="_blank"&gt;SHAPE@XY&lt;/A&gt;"]
# load the update info into a dictionary
# ManholeID should be unique in this data
updateDict = {}
with arcpy.da.SearchCursor(updateTable, updateFields) as Cur:
&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in Cur:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDict[row[0]] = [row[1], row[2]]
# read the target fc and update
with arcpy.da.UpdateCursor(targetFc, fields) as Cur:
&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in Cur:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if row[0] in updateDict:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xy = updateDict[row[0]]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = xy[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y = xy[1]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row[1] = (x, y)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cur.updateRow(row)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:38:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465078#M36417</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2021-12-11T20:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465079#M36418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Obviously change the paths and field names to reflect your data.&lt;/P&gt;&lt;P&gt;And make a backup copy of your manholes first&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 07:59:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465079#M36418</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-04-30T07:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465080#M36419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Neil,Marcela &lt;/P&gt;&lt;P&gt;Totally appreciate your responses to my query,am sure this will work with my tables too once i change the paths and field names corresponding to my data.&lt;/P&gt;&lt;P&gt;thanks again for the solutions provided.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tanmay&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 04:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465080#M36419</guid>
      <dc:creator>TanmayNaik</dc:creator>
      <dc:date>2015-05-01T04:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465081#M36420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this is the solution to your problem, please mark it as such.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 06:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465081#M36420</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-05-01T06:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465082#M36421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also get this error when I try to run the script in ArcMap:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RuntimeError: The modified geometry must be a different geometry instance from the feature's original geometry (e.g., a copy or new instance). [class name = ServiceLocations, object id = 4]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 01:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465082#M36421</guid>
      <dc:creator>AdelaideZumwalt2</dc:creator>
      <dc:date>2016-01-29T01:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465083#M36422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing the details it is difficult to say. Type of db?&lt;/P&gt;&lt;P&gt;Are you saying that the points are participating in a network?&lt;/P&gt;&lt;P&gt;You may have to wrap the update cursor loop in an editor session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 06:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465083#M36422</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2016-01-29T06:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Movings points in my geometric network to their absolute X,Y obtained through GPS</title>
      <link>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465084#M36423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/118469"&gt;Adelaide Zumwalt&lt;/A&gt; , I have branched your question to a new thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/584029"&gt;Movings points in my geometric network to their absolute X,Y obtained through GPS (part 2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, since your additional information and the initial answer by &lt;A href="https://community.esri.com/migrated-users/5327"&gt;Neil Ayres&lt;/A&gt; wasn't located beneath that post, that did not pass to the new thread. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please continue discussion in the new thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 11:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/movings-points-in-my-geometric-network-to-their/m-p/465084#M36423</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-01-29T11:46:33Z</dc:date>
    </item>
  </channel>
</rss>

