X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



75 Rate this article:
No rating

How to get pixel size of a input raster using the modeler

 

In the ENVI modeler, the ENVI Task Extract Properties and Metadata is designed to extract properties and/or metadata from an input raster.

https://www.nv5geospatialsoftware.com/docs/ModelerExtractPropertiesMetadata.html

However, while exploring the list of properties that could be extracted by this task, pixel size is not listed. Adding pixel_size in the Other Properties field will return an error when executing the model. The reason is the property needs to be extracted as: 

raster.spatialref.pixel_size

while setting pixel_size in Other Properties will extract it as

raster.pixel_size
  • Thus, extracting pixel size with the modeler will require calling the Extract Properties and Metadata task two times.

 

1/ First node of Extract Properties and Metadata

  • The input is the raster from which you need to extract the pixel size.
  • The output property of this first node is Spatialref.

2/ Second node of Extract Properties and Metadata

  • The input is the Spatialref property extracted by the first node.

  • Then adjust the parameter of this second node by setting pixel_size in Other Properties field.

  • The output will be the pixel size of the input raster. It can now be set as input in any other task that would require pixel_size in input.

 

________________________________________

created by BC (EU) on 05/22/2026.

reviewed by MM on 05/26/2026.

 

Please login or register to post comments.
Featured

IDL and ENVI Agent FAQ

3/17/2026

What are the IDL and ENVI Agents? What can IDL or ENVI Agent help me do? What platforms support IDL... more »

My Licenses Portal - Users Guide

9/24/2025

  Introduction License Administrators (and Distributors) can view license Original... more »

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade Your ENVI 6.x / IDL 9.x Licenses (including modules)

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »