Skip to main content
Question

I would like to add elevations to a point shapefile using a point cloud .xyz file. Can I use the surfacedraper for this? If so, how do I get the new shapefile as output? thanks

  • September 18, 2017
  • 5 replies
  • 22 views

masonb12
Contributor
Forum|alt.badge.img+10

5 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • September 18, 2017

The surfaceDraper should work, send your point cloud to Points/Line input port and the point shapefile to the DrapeFeatures port. Set a surface tolerance and make sure that ExistingElevation is set to Replace Z.


nathanatsafe
Safer
Forum|alt.badge.img+7
jdh wrote:

The surfaceDraper should work, send your point cloud to Points/Line input port and the point shapefile to the DrapeFeatures port. Set a surface tolerance and make sure that ExistingElevation is set to Replace Z.

Hi @masonb12 and @jdh. This sounds like the right idea. If you'd like your elevation to be recorded in a separate attribute, route your DrapedFeatures output from the SurfaceDraper to a CoordinateExtractor.

 

addztoshape.fmw

masonb12
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 18, 2017

Hi, I sent the output from the coordinate extractor to a shapefile but I don't see the z value in the dbf as an attribute (which is what I want). When adding a writer I am prompted to indicate which feature to write too, which is either the input shapefile or the point cloud. I chose the shapefile... but alas no elevation is showing up when I run the workspace?? I also selected replace z value in the surfacedraper but there is no z to replace. thanks!


nathanatsafe
Safer
Forum|alt.badge.img+7

 

Hi @masonb12. Have you included your Z attribute from the CoordinateExtractor in your shapefile writer schema? You may need to change your Attribute Definition setting, or add in the attribute manually. Hope this helps!

 

Thanks,

 

Nathan

nathanatsafe
Safer
Forum|alt.badge.img+7
masonb12 wrote:

Hi, I sent the output from the coordinate extractor to a shapefile but I don't see the z value in the dbf as an attribute (which is what I want). When adding a writer I am prompted to indicate which feature to write too, which is either the input shapefile or the point cloud. I chose the shapefile... but alas no elevation is showing up when I run the workspace?? I also selected replace z value in the surfacedraper but there is no z to replace. thanks!

 

Hi @masonb12. Have you included your Z attribute from the CoordinateExtractor in your shapefile writer schema? You may need to change your Attribute Definition setting, or add in the attribute manually. Hope this helps!

 

Thanks,

 

Nathan

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings