<?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: Reproject Las Dataset using arcpy in VisualCode in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1622868#M74362</link>
    <description>&lt;P&gt;I've used &lt;A href="https://lastools.github.io/" target="_self"&gt;LAStools&lt;/A&gt; in a mostly ArcPy script before to work with lidar. If you create a command line string including the path of the specific tool and the parameters, the script can then run it using &lt;FONT face="courier new,courier"&gt;os.system()&lt;/FONT&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2025 20:50:25 GMT</pubDate>
    <dc:creator>jrolson14</dc:creator>
    <dc:date>2025-06-11T20:50:25Z</dc:date>
    <item>
      <title>Reproject Las Dataset using arcpy in VisualCode</title>
      <link>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1622797#M74353</link>
      <description>&lt;P&gt;Hi, I am starting to build a project in Visual Code using the ArcPy library.&lt;/P&gt;&lt;P&gt;I need to convert a LAS file defined in a geographic coordinate system (6706) into a projected file (same ellipsoid, 7794-UTM Italy zone).&lt;/P&gt;&lt;P&gt;Everything works in ArcGIS Pro using ExtractLas, but the Python function (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/3d-analyst/extract-las.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/3d-analyst/extract-las.htm&lt;/A&gt;) has no parameters for reprojecting the coordinate system.&lt;/P&gt;&lt;P&gt;I have tried using ProjectLas (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/project-las.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/project-las.htm&lt;/A&gt;), which should be in arcpy.management, but I received an AttributeError stating that the module 'arcpy.management' has no attribute 'ProjectLas'.&lt;/P&gt;&lt;P&gt;Can you please tell me how I can perform this reprojection in a Visual Code Python script?&lt;/P&gt;&lt;P&gt;Thank you very much for any help!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 18:27:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1622797#M74353</guid>
      <dc:creator>CarlaNardinocchi</dc:creator>
      <dc:date>2025-06-11T18:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reproject Las Dataset using arcpy in VisualCode</title>
      <link>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1622806#M74355</link>
      <description>&lt;P&gt;Project las is new to arcgis pro 3.5&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/project-las.htm" target="_blank"&gt;Project LAS (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you will see there is only 3.5 as the selectable version&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 18:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1622806#M74355</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-06-11T18:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reproject Las Dataset using arcpy in VisualCode</title>
      <link>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1622855#M74360</link>
      <description>&lt;P&gt;Thanks for the information, I will not spend more time on&amp;nbsp; ProjectLas, but what can I use in the Visual Code&amp;nbsp; python script to reproject my las dataset?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 20:34:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1622855#M74360</guid>
      <dc:creator>CarlaNardinocchi</dc:creator>
      <dc:date>2025-06-11T20:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reproject Las Dataset using arcpy in VisualCode</title>
      <link>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1622868#M74362</link>
      <description>&lt;P&gt;I've used &lt;A href="https://lastools.github.io/" target="_self"&gt;LAStools&lt;/A&gt; in a mostly ArcPy script before to work with lidar. If you create a command line string including the path of the specific tool and the parameters, the script can then run it using &lt;FONT face="courier new,courier"&gt;os.system()&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 20:50:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1622868#M74362</guid>
      <dc:creator>jrolson14</dc:creator>
      <dc:date>2025-06-11T20:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reproject Las Dataset using arcpy in VisualCode</title>
      <link>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1623795#M74377</link>
      <description>&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;I would like to share the solution I found with you and anyone who may have the same problem.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/915163"&gt;@jrolson14&lt;/a&gt;&amp;nbsp;I don't like using LasTools because I only have the free toolbox, which has some limitations. I prefer to avoid it, especially for coordinate projection, which is GIS-related.&lt;/P&gt;&lt;P&gt;I updated to ArcGIS Pro 3.5, and, as suggested by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;, I stopped working with ProjectLas(). However, I decided to continue working with ExtractLas() because it was the function I was using in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;I learned that I had &lt;STRONG&gt;to set the projection in the environment&lt;/STRONG&gt;. Using the following code&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Output coordinate system (EPSG:7794)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;output_coordinate_system = arcpy.SpatialReference(7794)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;# Set the environment&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;arcpy.env.outputCoordinateSystem = output_coordinate_system&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Use the Extract LAS tool to project the LAS dataset&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;arcpy.ddd.ExtractLas(input_las,output_folder,name_suffix='_7794')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And&amp;nbsp;I was able to project the LAS dataset from epsg:6706 (geographic coordinates) to epsg:7794 (projected coordinates with the same datum and ellipsoid).&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 09:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reproject-las-dataset-using-arcpy-in-visualcode/m-p/1623795#M74377</guid>
      <dc:creator>CarlaNardinocchi</dc:creator>
      <dc:date>2025-06-16T09:12:59Z</dc:date>
    </item>
  </channel>
</rss>

