Convert Between Vector and Raster Data

Convert from vector to raster data and vice versa

Functions

mapprofileInterpolate between waypoints on regular data grid
vec2mtxConvert latitude-longitude vectors to regular data grid

Topics

Convert Vector Data to Raster Format

Convert latitude-longitude vector data to a grid to make a raster base map or grid layer.

Combine Vector and Raster Geodata on the Same Map

You can display vector data on raster data in a single map, if the data sets have the same coordinate system.

Rasterize Polygons Interactively

This example shows how to convert multiple polygons to a grid, and how to fill the polygons with different colors after they are gridded.