<?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: Automized Rectifying with spezified pixel size in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/automized-rectifying-with-spezified-pixel-size/m-p/1420329#M45138</link>
    <description>&lt;P&gt;Hallo Veronika,&lt;/P&gt;&lt;P&gt;I am having the same problem as you: I am trying to substitute the 'georeferencing' =&amp;gt; 'rectify' tool by using a python script. So far I use WarpFromFile_management followed by Resample_management.&lt;/P&gt;&lt;P&gt;While this approach works in principle I would like to see alternative ways to rectify and resample an image using arcpy. Did you find a solution?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Axel&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 10:52:09 GMT</pubDate>
    <dc:creator>AxelThomas</dc:creator>
    <dc:date>2024-05-08T10:52:09Z</dc:date>
    <item>
      <title>Automized Rectifying with spezified pixel size</title>
      <link>https://community.esri.com/t5/data-management-questions/automized-rectifying-with-spezified-pixel-size/m-p/1112019#M43596</link>
      <description>&lt;P&gt;I have georeferenced plenty of images which I would like to automatically rectify via a Python script. However, I face some troubles in applying a fixed pixel size to all of them.&lt;/P&gt;&lt;P&gt;What we did so far:&lt;/P&gt;&lt;P&gt;1) Setting the Links and exporting them to txt file&lt;/P&gt;&lt;P&gt;2) Update Georeference&lt;/P&gt;&lt;P&gt;3) Update Spatial Reference&lt;/P&gt;&lt;P&gt;4) set arcpy.env.cellSize to 0.000001 ( the data UAV imagery an in EPSG 4326)&lt;/P&gt;&lt;P&gt;4)apply&amp;nbsp; arcpy.Warp_management(tif_path, source_pnt, target_pnt, out_raster_path, transformation_type, resampling_type) OR arcpy.WarpFromFile_management(tif_path, out_raster_path,Link_txt_file, "POLYORDER2", "BILINEAR")&lt;/P&gt;&lt;P&gt;The warping itself works just fine, but the defined cellSize is not implemented. Are there any hints on what I'm doing wrong or missing out?&lt;/P&gt;&lt;P&gt;Manually rectifying the same image and defining the pixel size works, by the way.However, this is just very unhandy when targeting several hundreds of images...&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 09:08:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automized-rectifying-with-spezified-pixel-size/m-p/1112019#M43596</guid>
      <dc:creator>VeronikaDöpper</dc:creator>
      <dc:date>2021-10-28T09:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Automized Rectifying with spezified pixel size</title>
      <link>https://community.esri.com/t5/data-management-questions/automized-rectifying-with-spezified-pixel-size/m-p/1127879#M43727</link>
      <description>&lt;P&gt;Hello VeronikaDopper,&lt;/P&gt;&lt;P&gt;Could you provide a code snippet for reference?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For the manual process that works:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Idea 1:&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In Geoprocessing history --&amp;gt; right-click --&amp;gt; Save as Python Script&lt;/LI&gt;&lt;LI&gt;Do this for each step and put together as one script.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;Idea 2:&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Have you considered using ModelBuilder to set this process up?&lt;/LI&gt;&lt;LI&gt;Run successfully&lt;/LI&gt;&lt;LI&gt;Export to Python File&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Maybe these ideas will generate Python scripts that will identify the problem.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 00:12:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automized-rectifying-with-spezified-pixel-size/m-p/1127879#M43727</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-21T00:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Automized Rectifying with spezified pixel size</title>
      <link>https://community.esri.com/t5/data-management-questions/automized-rectifying-with-spezified-pixel-size/m-p/1420329#M45138</link>
      <description>&lt;P&gt;Hallo Veronika,&lt;/P&gt;&lt;P&gt;I am having the same problem as you: I am trying to substitute the 'georeferencing' =&amp;gt; 'rectify' tool by using a python script. So far I use WarpFromFile_management followed by Resample_management.&lt;/P&gt;&lt;P&gt;While this approach works in principle I would like to see alternative ways to rectify and resample an image using arcpy. Did you find a solution?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Axel&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 10:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automized-rectifying-with-spezified-pixel-size/m-p/1420329#M45138</guid>
      <dc:creator>AxelThomas</dc:creator>
      <dc:date>2024-05-08T10:52:09Z</dc:date>
    </item>
  </channel>
</rss>

