<?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 Converting .tfw to layout shp or dwg file in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601653#M33883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have around 1800 tiff and tfw files. Is there anyway to batch convert this into layout(outer extents of tiff) shp or dwg file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jan 2013 06:59:13 GMT</pubDate>
    <dc:creator>MohanGovindaraj1</dc:creator>
    <dc:date>2013-01-02T06:59:13Z</dc:date>
    <item>
      <title>Converting .tfw to layout shp or dwg file</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601653#M33883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have around 1800 tiff and tfw files. Is there anyway to batch convert this into layout(outer extents of tiff) shp or dwg file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 06:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601653#M33883</guid>
      <dc:creator>MohanGovindaraj1</dc:creator>
      <dc:date>2013-01-02T06:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Converting .tfw to layout shp or dwg file</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601654#M33884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you looking to get a shapefile/dwg for each individual TIFF's extent, or one shapefile/dwg for a mosaic of the TIFFs?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 10:45:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601654#M33884</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-01-02T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting .tfw to layout shp or dwg file</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601655#M33885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are you looking to get a shapefile/dwg for each individual TIFF's extent, or one shapefile/dwg for a mosaic of the TIFFs?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Jake.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I am looking for shp/dwg of each individual tiff's extent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 13:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601655#M33885</guid>
      <dc:creator>MohanGovindaraj1</dc:creator>
      <dc:date>2013-01-02T13:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Converting .tfw to layout shp or dwg file</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601656#M33886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mohan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have the 3D Analyst extension, you can use the Raster Domain tool to create a polygon or polyline footprint of each raster.&amp;nbsp; Since you have 1800 TIFFs it would be best to run this tool using a python script where you can iterate through each raster.&amp;nbsp; Here is an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
from arcpy import env
env.workspace = r"C:\data\raster\TIFF"

arcpy.CheckOutExtension("3D")

for raster in arcpy.ListRasters("*", "TIF"):
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.RasterDomain_3d(raster, raster.split(".")[0] + ".shp", "POLYGON")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do not have the 3D Analyst extension, and you are using ArcGIS 10.x, you can create a &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009t00000037000000" rel="nofollow noopener noreferrer" target="_blank"&gt;mosaic dataset&lt;/A&gt;&lt;SPAN&gt; of all the TIFFs.&amp;nbsp; When you create a mosaic dataset, a Footprint layer is created of all the rasters.&amp;nbsp; You can then iterate through this layer exporting the footprint of each raster.&amp;nbsp; Here is an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
from arcpy import env
env.workspace = r"C:\DATA\RASTER\TIFF\MosaicDataset.gdb"
env.overwriteOutput = 1

arcpy.MakeMosaicLayer_management("Philadelphia", "MosaicLayer")

rows = arcpy.SearchCursor("MosaicLayer/Footprint")
for row in rows:
&amp;nbsp;&amp;nbsp;&amp;nbsp; OID = row.OBJECTID
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management("MosaicLayer/Footprint", "NEW_SELECTION", "OBJECTID = " + str(OID))
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management("MosaicLayer/Footprint", r"C:\data\raster\tiff" + "\\" + row.Name + ".shp")

del row, rows&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:48:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601656#M33886</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-12T01:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Converting .tfw to layout shp or dwg file</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601657#M33887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first one works very fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 02:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-tfw-to-layout-shp-or-dwg-file/m-p/601657#M33887</guid>
      <dc:creator>MohanGovindaraj1</dc:creator>
      <dc:date>2013-01-03T02:11:15Z</dc:date>
    </item>
  </channel>
</rss>

