Skip to main content
Question

rasterize 3D polygon

  • September 12, 2018
  • 5 replies
  • 56 views

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies

What's the best way to rasterize a 3D polygon (not constant Z value)?

The NumericRasterizer is very efficient (3.2 seconds) but uses a single z value (first vertex?) for the entire polygon.

 

The RasterDemGenerator produces the desired results, but takes over 1.5 hours to run.

 

 

 

Is there an alternative to the RasterDemGenerator that is more efficient?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • September 13, 2018

You could try a PoincCloudCombiner, followed by NumericRasteriser. The PCC is nice and quick and with a small point spacing the NumericRasteriser should give a better result


jdh
Contributor
Forum|alt.badge.img+37
  • Author
  • Contributor
  • 2002 replies
  • September 13, 2018

You could try a PoincCloudCombiner, followed by NumericRasteriser. The PCC is nice and quick and with a small point spacing the NumericRasteriser should give a better result

The PCC->NumericRasterizer ended up with a lot of NoData pixels along what presumably would be the TIN edges.

 

 


owen
Forum|alt.badge.img+1
  • 156 replies
  • September 13, 2018

Hello. I would take a look at the SurfaceModeller DEMRaster output (although the RasterDemGenerator should do the same thing). I was able to generate this raster from 3d polygon in 1.8 seconds! This was 0.2m cell spacing - maybe yours was set to a massively small cell size?! Owen


jdh
Contributor
Forum|alt.badge.img+37
  • Author
  • Contributor
  • 2002 replies
  • September 13, 2018

Hello. I would take a look at the SurfaceModeller DEMRaster output (although the RasterDemGenerator should do the same thing). I was able to generate this raster from 3d polygon in 1.8 seconds! This was 0.2m cell spacing - maybe yours was set to a massively small cell size?! Owen

My cell spacing is about 0.4m, but I suspect my polygon is significantly larger than yours.

 

 

For small areas the time is reasonable, it just scales very badly.

 

 

As far as I know the SurfaceModeller and RasterDEMGenerator use the exact same factory and should be identical in time/output as long as the DEMRaster is the only connected output port.

 

 


virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • September 13, 2018
The PCC->NumericRasterizer ended up with a lot of NoData pixels along what presumably would be the TIN edges.

 

 

Maybe try setting the point density to be twice that of the cell spacing? I would expect that to give enough coverage to have no holes. Perhaps my logic is flawed here though