Crop Counting and Metrics Tutorial

Use the Convert Crops to Shapefile tool to convert a crop file to a shapefile.

This tool requires a separate license for the ENVI Crop Science Module; contact your sales representative for more information.

You can also write a script to convert a crop file to a shapefile using the ENVIAgCropsToShapefile routine.

Before You Begin

You must create a crop file (.json) before using the Convert Crops to Shapefile tool. You can create a crop file using any of the following tools. Be sure to specify an Output Crops File in these tools:

Convert Crops to a Shapefile

  1. From the Toolbox, select Crop Science > Convert Crops to Shapefile. The Convert Crops to Shapefile dialog appears.
  2. Select an Input Crops file (.json).
  3. Select an output filename and location for the shapefile in the Output Vector field.
  4. Enable the Display result check box to display the output in the view when processing is complete. Otherwise, if the check box is disabled, the result can be loaded from the Data Manager.

  5. To reuse these task settings in future ENVI sessions, save them to a file. Click the down arrow and select Save Parameter Values, then specify the location and filename to save to. Note that some parameter types, such as rasters, vectors, and ROIs, will not be saved with the file. To apply the saved task settings, click the down arrow and select Restore Parameter Values, then select the file where you previously stored your settings.

  6. To run the process in the background, click the down arrow and select Run Task in the Background. If an ENVI Server has been set up on the network, the Run Task on remote ENVI Server name is also available. The ENVI Server Job Console will show the progress of the job and will provide a link to display the result when processing is complete. See ENVI Servers for more information.

  7. Click OK.

See Also

Count Crops, Crop Metrics, Crop Metrics with Spectral Index