export a 'geometry'
export a 'geometry'
I have an image. I drew a straight line on it. I'd like to export the data from that line. I would assume pixel extraction would be the answer, but it seems to want individual coordinates or a CSV to specify what to extract. Suggestions?
Filters:
export a 'geometry'
Have you tried "Tools/Profile Plot" in the SeaDAS 7 GUI?
If your image is mapped you may be able to make a raster layer in QGIS and use the profile tool (see gis.stackexchange). Many people use GeoTIFF's to generate raster layers, but QGIS can also make raster layers from netcdf files. In that case you have to use GDAL subdataset notation to specify the file and band (NETCDF:"<filename>":bandname). You can use gdalinfo to list the bands in your file using the subdataset notation.
If your image is mapped you may be able to make a raster layer in QGIS and use the profile tool (see gis.stackexchange). Many people use GeoTIFF's to generate raster layers, but QGIS can also make raster layers from netcdf files. In that case you have to use GDAL subdataset notation to specify the file and band (NETCDF:"<filename>":bandname). You can use gdalinfo to list the bands in your file using the subdataset notation.
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
export a 'geometry'
Profile plot is what you want for a line vector. If for some reason you want to extract pixels of some other vector shape (such as polygon) or ROI (region of interest) masks then you could use the Pixel Extraction tool to do this. Essentially placing a pin somewhere in the center of the ROI, choosing a huge box size to encompass your region, and then selecting the desired masking criteria.
Danny
Danny