<?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 Project a point onto a profile in 3D Questions</title>
    <link>https://community.esri.com/t5/3d-questions/project-a-point-onto-a-profile/m-p/1124757#M4691</link>
    <description>&lt;P&gt;So I have tried to use Stack Profile in order to get a profile of beach DEM and get a projected intersection of &lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;cross-profiles.shp&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt; with coastline shapefile(&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;coastlinewithZ.shp&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;).&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;arcpy.StackProfile_3d(&lt;SPAN class=""&gt;'C:/Data/cross-profiles.shp'&lt;/SPAN&gt;, profile_targets=[&lt;SPAN class=""&gt;'C:/Data/DEM.tif'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;'C:/Data/coastlinewithZ.shp'&lt;/SPAN&gt;], out_table=&lt;SPAN class=""&gt;'profile_values.dbf'&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But looks like Stack Profile does not work that way, so I got an error:&lt;/P&gt;&lt;PRE&gt;ExecuteError: Failed to execute. Parameters are &lt;SPAN class=""&gt;not&lt;/SPAN&gt; valid.
ERROR 000366: Invalid geometry &lt;SPAN class=""&gt;type&lt;/SPAN&gt;
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a TIN Layer.
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a Raster Layer.
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a Mosaic Layer.
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a Terrain Layer.
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a LAS Dataset Layer.
Failed to execute (StackProfile).&lt;/PRE&gt;&lt;P&gt;So what is the easiest way to achieve it? I guess I should just do a casual Stack Profiles of DEM, then measure distances where&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;cross-profiles.shp&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;meets with&amp;nbsp;&lt;SPAN class=""&gt;&lt;EM&gt;&lt;STRONG&gt;coastlinewithZ.shp&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;and add that distance to&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;profile_values.dbf&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;. If it is the right workflow, then what functions should I use for measuring distances and adding info to&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;profile_values.dbf&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Dec 2021 06:55:21 GMT</pubDate>
    <dc:creator>Mekeke</dc:creator>
    <dc:date>2021-12-10T06:55:21Z</dc:date>
    <item>
      <title>Project a point onto a profile</title>
      <link>https://community.esri.com/t5/3d-questions/project-a-point-onto-a-profile/m-p/1124757#M4691</link>
      <description>&lt;P&gt;So I have tried to use Stack Profile in order to get a profile of beach DEM and get a projected intersection of &lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;cross-profiles.shp&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt; with coastline shapefile(&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;coastlinewithZ.shp&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;).&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;arcpy.StackProfile_3d(&lt;SPAN class=""&gt;'C:/Data/cross-profiles.shp'&lt;/SPAN&gt;, profile_targets=[&lt;SPAN class=""&gt;'C:/Data/DEM.tif'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;'C:/Data/coastlinewithZ.shp'&lt;/SPAN&gt;], out_table=&lt;SPAN class=""&gt;'profile_values.dbf'&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But looks like Stack Profile does not work that way, so I got an error:&lt;/P&gt;&lt;PRE&gt;ExecuteError: Failed to execute. Parameters are &lt;SPAN class=""&gt;not&lt;/SPAN&gt; valid.
ERROR 000366: Invalid geometry &lt;SPAN class=""&gt;type&lt;/SPAN&gt;
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a TIN Layer.
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a Raster Layer.
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a Mosaic Layer.
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a Terrain Layer.
ERROR 000840: The value &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; a LAS Dataset Layer.
Failed to execute (StackProfile).&lt;/PRE&gt;&lt;P&gt;So what is the easiest way to achieve it? I guess I should just do a casual Stack Profiles of DEM, then measure distances where&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;cross-profiles.shp&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;meets with&amp;nbsp;&lt;SPAN class=""&gt;&lt;EM&gt;&lt;STRONG&gt;coastlinewithZ.shp&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;and add that distance to&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;profile_values.dbf&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;. If it is the right workflow, then what functions should I use for measuring distances and adding info to&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;profile_values.dbf&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 06:55:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/project-a-point-onto-a-profile/m-p/1124757#M4691</guid>
      <dc:creator>Mekeke</dc:creator>
      <dc:date>2021-12-10T06:55:21Z</dc:date>
    </item>
  </channel>
</rss>

