This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Convert Between Vector and Raster Data

Convert from vector to raster data and vice versa


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


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.