Spatial Modeler Discussions

Gain, exchange, and share knowledge, or discuss topics with other Hexagon Geospatial Product pioneers and experts to get the most out of Hexagon Geospatial products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
New Contributor
Posts: 2
Registered: ‎09-05-2019
Accepted Solution

How can you export a report from multiple sets of statistics?

[ Edited ]

 

What's the best way to take raster statistics from many different images and combine them into one table/txt file?

Currently, I can do it fine except for the output. 

 

Still working on exporting multiple paths of raster statistics into a single report with headings from each path.

 

Thanks again!

Technical Evangelist
Posts: 831
Registered: ‎10-01-2015

Re: How can you export a report from multiple sets of statistics?

Hi Justin,

 

When you say you are already doing this (apart from the export) what does that look like in the Spatial Model? If folks can see how your model is currently structured and what it's producing someone on the Community may be able to figure out a suggestion on how to format it it for use in the Report operator,

 

Cheers

 

 

Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial
New Contributor
Posts: 8
Registered: ‎10-26-2017

Re: How can you export a report from multiple sets of statistics?

Hi Ian,

 

Thanks for the response. We're analyzing a large area (continental scale) with multispectral imagery. Our flow is:

Stack the image --> dice the image and identify NDVI for each new tile during the same time period --> calculate raster statistics to calculate the NDVIs for the newly diced tiles --> generate a report showing all the NDVI statistics listed together. We'll run the model below with ~1000s of images outputting into a single report. 

We got the name of the raster to appear with its statistics in the report by connecting the FilenameOut port on the Raster Output operator with the Report operator (final product). We've been able to run it fine with many images just not with the dicing step, which we are still getting familiar with. 

 

Now we are unable to 1) create an output for the diced images so we can calculate statistics on them, and 2)  identify where the Dice operator is outputing to. 

 

Do we need to use a "Define Processing Area" operator to generate a raster output? I saw that in the Help for the Create Dice Boundaries operator but am unsure how we'd implement that here.

Capture.JPG

 

Thanks a lot!

 

Justin

Technical Evangelist
Posts: 831
Registered: ‎10-01-2015

Re: How can you export a report from multiple sets of statistics?

Hi Justin,

 

Why does your Create Dice Boundaries not have an output port?

 

Normally Create Dice Boundaries has a Boundaries output port, which is a list of the boundaries that it creates. Note that it does not dice the image - it creates dice boundaries. If you want to use the boundaries to dice an image then you'll need an Iterator which iterates over the list of input boundaries and produces a raster output per boundary.

 

"C:\Program Files\Hexagon\ERDAS IMAGINE 2020\etc\models\diceimage.gmdx" (or wherever you installed ERDAS IMAGINE 2020) should give you an idea on how to do this.

 

Cheers

 

Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial
New Contributor
Posts: 8
Registered: ‎10-26-2017

Re: How can you export a report from multiple sets of statistics?

Ian--Thanks. That laid it out well. Much appreciated. 

Justin