Raster data, also known as data grids, stores map data as matrices. Regular data grids require a referencing object, vector, or matrix that describes the sampling and location of the data points. Geolocated data grids explicitly identify the latitude and longitude coordinates of all rows and columns.
|Reference raster cells to geographic coordinates|
|Reference raster postings to geographic coordinates|
|Referencing matrix to geographic raster reference object|
|Referencing vector to geographic raster reference object|
|Construct affine spatial-referencing matrix|
|Resize geographic raster|
|Geographic raster interpolation|
|Convert latitude-longitude coordinates to pixel coordinates|
|Convert pixel coordinates to latitude-longitude coordinates|
|Convert latitude-longitude to data grid rows and columns|
|Convert data grid rows and columns to latitude-longitude|
|Determine latitude and longitude limits of regular data grid|
|Filter latitudes and longitudes based on underlying data grid|
|Latitudes and longitudes of nonzero data grid elements|
|Contour grid in local system with latitude-longitude results|
|Convert geolocated data array to regular data grid|
|Extract data grid values for specified locations|
|Substitute values in data array|
|Encode data points into regular data grid|
|Fill in regular data grid from seed values and locations|
|Construct map graticule for surface object display|
|Generate synthetic data set on sphere|
|Reference raster cells to map coordinates|
|Reference raster postings to map coordinates|
|Referencing matrix to map raster reference object|
|Resize projected raster|
|Map raster interpolation|
|Convert map coordinates to pixel coordinates|
|Convert pixel coordinates to map coordinates|
|Compute pixel centers for georeferenced image or data grid|
|Compute outline of georeferenced image or data grid|
|Compute bounding box of georeferenced image or data grid|
Raster geodata represents map data in matrix format.
Each element of georeferenced raster data corresponds to a defined quadrangle of territory on a planet.
You can display regular and geolocated data grids in many ways, such as a 2-D indexed image where color represents the data value, or as a 3-D surface with light shading.
This example shows how to store a matrix in a geographic referencing object. Display the matrix on a map, and specify display properties such as the projection, axes labels, and color map.
This example shows how to find the maximum and minimum latitude and longitude of a regular data grid that has a referencing vector.
You can work with gridded geodata using either geographic coordinates, which specify latitude and longitude, or intrinsic raster coordinates, which specify matrix indices.
This example shows how to compute the expected size of a large data grid, before creating the grid, to confirm that the grid will be manageable and will fit in memory.
This example shows how to compute relationships between neighboring cells in a regular data grid.
A geolocated data grid is defined by three matrices giving latitude and longitude coordinates and indices associated with the mapped region.
The dimensions of a map matrix and associated latitude and longitude matrices determines the interpretation of the geographic map data.
This example shows how to create a half-resolution version of a georeferenced TIFF image, using spatial referencing objects (requires Image Processing Toolbox™).
This example shows how to compute an elevation profile along a straight line by defining waypoints.
This example shows how to generate a shaded relief map using geographic data in an array. You can change the displayed projection of the map without modifying the raster data.
You can perform logic tests on data grid variables to create a binary logical grid.
This example shows how to use a logical grid to analyze regions with certain constraints. For example, find the area of a region that belongs both to a specified country and to a specified state.