<?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 Using a LAS non-core attribute to determine symbology in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/using-a-las-non-core-attribute-to-determine/m-p/1305065#M70743</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have been using R Studio and LidR to segment Lidar LAS data into different trees, lidR only allows you to add an additional attribute to a the LAS file format and when viewed in ARCGIS PRo the additional 'non-core' attributes are not an option to determine the symbology of the LAS Feature Layer.&lt;/P&gt;&lt;P&gt;I am trying to symbolise a LAS layer by a non-core attribute called treeID and i am stumped!&lt;/P&gt;&lt;P&gt;I have been playing with a&amp;nbsp; Python Script to try and work around but it throws an error saying it needs to be a feature layer which LAS layer dont seemed to be.&lt;/P&gt;&lt;P&gt;here is the py script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;import arcpy

# Set the input LAS dataset path
las_dataset = r"path/to/your/las_dataset.las"

# Set the non-core attribute field to use for colorization
color_attribute = "Your_Color_Field"

# Set the output feature class path
output_feature_class = r"path/to/your/output_feature_class.shp"

# Create a LAS dataset layer
las_layer = arcpy.management.MakeLasDatasetLayer(las_dataset, "las_layer")[0]

# Set the symbology for the LAS layer based on the color attribute
symbology = arcpy.mp.LayerFile(r"path/to/your/symbology.lyrx")
arcpy.management.ApplySymbologyFromLayer(las_layer, symbology)

# Create a feature class from the LAS layer with colorization
arcpy.conversion.FeatureClassFromLayer(las_layer, output_feature_class)

# Clean up the temporary LAS layer
arcpy.management.Delete(las_layer)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jun 2023 20:43:16 GMT</pubDate>
    <dc:creator>DavidGodfrey2</dc:creator>
    <dc:date>2023-06-30T20:43:16Z</dc:date>
    <item>
      <title>Using a LAS non-core attribute to determine symbology</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-a-las-non-core-attribute-to-determine/m-p/1305065#M70743</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have been using R Studio and LidR to segment Lidar LAS data into different trees, lidR only allows you to add an additional attribute to a the LAS file format and when viewed in ARCGIS PRo the additional 'non-core' attributes are not an option to determine the symbology of the LAS Feature Layer.&lt;/P&gt;&lt;P&gt;I am trying to symbolise a LAS layer by a non-core attribute called treeID and i am stumped!&lt;/P&gt;&lt;P&gt;I have been playing with a&amp;nbsp; Python Script to try and work around but it throws an error saying it needs to be a feature layer which LAS layer dont seemed to be.&lt;/P&gt;&lt;P&gt;here is the py script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;import arcpy

# Set the input LAS dataset path
las_dataset = r"path/to/your/las_dataset.las"

# Set the non-core attribute field to use for colorization
color_attribute = "Your_Color_Field"

# Set the output feature class path
output_feature_class = r"path/to/your/output_feature_class.shp"

# Create a LAS dataset layer
las_layer = arcpy.management.MakeLasDatasetLayer(las_dataset, "las_layer")[0]

# Set the symbology for the LAS layer based on the color attribute
symbology = arcpy.mp.LayerFile(r"path/to/your/symbology.lyrx")
arcpy.management.ApplySymbologyFromLayer(las_layer, symbology)

# Create a feature class from the LAS layer with colorization
arcpy.conversion.FeatureClassFromLayer(las_layer, output_feature_class)

# Clean up the temporary LAS layer
arcpy.management.Delete(las_layer)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 20:43:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-a-las-non-core-attribute-to-determine/m-p/1305065#M70743</guid>
      <dc:creator>DavidGodfrey2</dc:creator>
      <dc:date>2023-06-30T20:43:16Z</dc:date>
    </item>
  </channel>
</rss>

