<?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: Affine Transformation using script in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/affine-transformation-using-script/m-p/750663#M290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The coefficients are obtained from the matching pair of coordinates undergoing the affine transformation.&lt;/P&gt;&lt;P&gt;Rather than reinvent the wheel, you can use the builtin tools or examine 3rd party libraries that will return the coefficients for you&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.lfd.uci.edu/~gohlke/code/transformations.py.html"&gt;https://www.lfd.uci.edu/~gohlke/code/transformations.py.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;this would of course assume that the same transformation applies to all files, otherwise you will need the matching pairs.&lt;/P&gt;&lt;P&gt;ArcGIS PRO also has an 'affine' package that can be installed for use within PRO which is derived from this package&lt;/P&gt;&lt;P&gt;&lt;A href="https://anaconda.org/anaconda/affine"&gt;https://anaconda.org/anaconda/affine&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2018 07:26:32 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-05-28T07:26:32Z</dc:date>
    <item>
      <title>Affine Transformation using script</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/affine-transformation-using-script/m-p/750662#M289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for help on one of the requirement related to spatial adjustment in a automated manner. Scenario and problem statement is as below-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We have&amp;nbsp;a set of around 55,000 non geo-referenced&amp;nbsp;shape files&amp;nbsp;of land records, converted from CAD drawings. Each shape file contains around 1000&amp;nbsp;parcels.&amp;nbsp;In a parallel exercise these shape files were&amp;nbsp;geo-referenced&amp;nbsp;using the help of satellite images and control points. &amp;nbsp;Due to continue updation in original shape file some parcels were split or merged. One of the important point here is we cannot&amp;nbsp;update the&amp;nbsp;original shape file by geo-referenced shape file due to distortion in shape of parcels which is important due to legal aspects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem Statement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now, we want to update the geo-referenced shape file by taking updates from&amp;nbsp;updated shape files. If we do the exercise manually&amp;nbsp;through spatial adjustment then a lot of time and efforts would required, also we have to do the same exercise in a&amp;nbsp;fix interval (once in a month).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Our Idea:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Around 50% parcels are not changed and have equal number of vertices in both the shape files. As per minimum requirement if we selects 3-4&amp;nbsp;vertices to create the link then we can do the spatial adjustment using&amp;nbsp;Affine Transformation. We can easily extract co-ordinate values of vertices programmatically from both the shape files for matching parcels. As we know the transformed co-ordinates can be obtained from following formula-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt;x’ = Ax + By + C &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt;y’ = Dx + Ey + F &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have x &amp;amp; y but&amp;nbsp;how can we get the values of A,B, C, D , E &amp;amp; F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 06:47:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/affine-transformation-using-script/m-p/750662#M289</guid>
      <dc:creator>IndraBisen</dc:creator>
      <dc:date>2018-05-28T06:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Affine Transformation using script</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/affine-transformation-using-script/m-p/750663#M290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The coefficients are obtained from the matching pair of coordinates undergoing the affine transformation.&lt;/P&gt;&lt;P&gt;Rather than reinvent the wheel, you can use the builtin tools or examine 3rd party libraries that will return the coefficients for you&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.lfd.uci.edu/~gohlke/code/transformations.py.html"&gt;https://www.lfd.uci.edu/~gohlke/code/transformations.py.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;this would of course assume that the same transformation applies to all files, otherwise you will need the matching pairs.&lt;/P&gt;&lt;P&gt;ArcGIS PRO also has an 'affine' package that can be installed for use within PRO which is derived from this package&lt;/P&gt;&lt;P&gt;&lt;A href="https://anaconda.org/anaconda/affine"&gt;https://anaconda.org/anaconda/affine&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 07:26:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/affine-transformation-using-script/m-p/750663#M290</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-05-28T07:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Affine Transformation using script</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/affine-transformation-using-script/m-p/750664#M291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start trying, will revert soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 07:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/affine-transformation-using-script/m-p/750664#M291</guid>
      <dc:creator>IndraBisen</dc:creator>
      <dc:date>2018-05-28T07:39:05Z</dc:date>
    </item>
  </channel>
</rss>

