span8
span4
span8
span4
Raster data comes in two types,color rasters,and numeric rasters.In this article,we will inspect both a color raster,in this case,an orthophoto GeoTIFF,and a numeric raster,which will be a digital elevation model.
Please keep in mind that FME Data Inspector is only able to view your data,it cannot perform any transformations or translations to the data.
See how you can view RGB and DEM rasters in the FME Data Inspector.This video demonstrates GeoTIFF and CDED formats.Clicking a cell shows the pixel row and column,ground location,and RGB / RGBA bands (color values) or DEM value (elevation data).Selecting the entire raster shows the coordinate system info,format-specific attributes,extents,resolution,origin,information about each band,and other metadata.
06-07-NO.zip(contains the GeoTIFF)
1.Start the FME Data Inspector
Start the FME Data Inspector by clicking on the program icon with the magnifying glass.
Data Inspector program icon
2.Open the dataset
Click on the Open Dataset tool (folder icon) in the upper left corner.For Format,type in GeoTIFF and select GeoTIFF (Geo-referenced Tagged Image File Format).For Dataset,browse to 06-07-NO.tif,click OK to add the data.This GeoTIFF file is an orthophoto tile of Coal Harbour in downtown Vancouver,British Columbia.
Open the 06-07-NO.tif GeoTIFF file in the Data Inspector
Once the data is read in,notice the "1" next to the feature type in the Display Control pane.This confirms that FME reads a raster as one feature.
Note the "1" next to GeoTIFF indicates the raster is read in as one feature type
3.Query information about a single cell
By default,your mouse is set to the Select and Information tool.Click anywhere on the raster to query a cell.Once a cell has been clicked on,information about that cell appears in the Feature Information pane.There is information about the row and column,ground location information,raster colors and band values.
Selecting a single cell,only information about that cell is displayed in the Feature Information Pane
4.Query information for the entire raster
To select the entire raster,click anywhere outside of the raster then hold your mouse and drag into the raster,a blue box should appear.You will know the entire raster is selected when a grid of dots appears over the entire image.
Using this method,the ENTIRE raster is selected instead of an individual cell and the Feature Information window gives us property details for the entire raster.We have coordinate system information,GeoTIFF specific attributes,extents,resolution,origin,and specifics about each band.
Selecting the entire raster,information about the entire raster is displayed
Viewing and Inspecting a DEM Raster
1.Open the DEM-Clipped.dem file
In the Data Inspector,click the Open Dataset tool to view the digital elevation model (DEM).For Format type CDED and select the Canadian Digital Elevation Data (CDED) format.Then browse to DEM-Clipped.dem for the dataset.Click OK to view the data.
2.Query information about a single cell
In a numeric raster,each cell contains a numeric value for the specific geographic area covered by that cell.In this case,the numeric value of each cell represents an elevation value.Click on various parts of the image to see how the elevation changes from black to light gray.Numeric raster - In the Feature information window the 'Band 0 (INT32)' value is the elevation value of the point selected
Selecting a single cell in a numeric raster displays information contained in the cell,this case it is elevation
3.Query the entire raster
Using the technique mentioned in the previous example,select the entire raster.In the Feature Information pane,there will be information about the coordinate system,extents,origin,cell spacing,resolution,the number of bands,and information about the bands.
Selecting the entire numeric raster displays overall information about the raster
Data Attribution
The data used here originates from open data made available by theCity of Vancouver,British Columbia.It contains information licensed under the Open Government License - Vancouver.
In the nextexercise,learn how to convert the GeoTIFF to JPEG,as well as how to reproject the raster into a new coordinate system.
© 2019 亚搏在线Safe Software Inc |Legal