Skip to main content
Question

Produce an image (from vector and pointcloud) and link/embed it in a HTML report

  • May 6, 2021
  • 1 reply
  • 41 views

Forum|alt.badge.img+1

HI guys,

I am trying to create an image from vectors and point clouds, and later include it on an HTML report generator. After RasterExtractor and a BinaryEncoder, the HMLResportGenerator is unable to open the image file.

Do you have any suggestions?

 

Thank you!worspacefme 

logfme 

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+54

From the documentation:

...This parameter expects a valid path to a png or jpeg file. If setting this path from an attribute, the user must ensure that the image exists on disk at the time the features hit this transfomer...

So I think this wont work. You can choose custom HTML, so I think if you put something like

<img src="data:image/png;base64iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />

it will work the way you need. Not tested but I expect this to work.

 


Reply


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