These resources are brought to you by the Cooperative Extension System and your Local Institution

Articles from our resource area experts.

Have a question? Try asking one of our Experts

Understanding the Difference Between Raster Data and Vector Data

Last Updated: February 04, 2009 Related resource areas: Geospatial Technology

View as web page


Raster and vector are two very different but common data formats used to store geospatial data.

Vector data use X and Y coordinates to define the locations of points, lines, and areas, or polygons, that correspond to map features such as fire hydrants, trails and parcels. As such, vector data tend to define centers and edges of features.

Raster data, on the other hand, use a matrix of square areas to define where features are located. These squares -- also called pixels, cells and grids -- typically are of uniform size, and their size determines the detail that can be maintained in the dataset. Because raster data represent square areas, they describe interiors rather than boundaries,as is the case with vector data.

Vector data are excellent for capturing and storing spatial details, while raster data are well-suited for capturing, storing and analyzing data that vary continuously from location to location, such as elevation, temperature or soil pH. Raster data formats also are used to store aerial photography and satellite imagery.


Vector data representation and Raster data representation
Vector data representation and Raster data representation

Have a specific question? Try asking one of our Experts

Unlike most other resources on the web, we have experts from Universities around the country ready to answer your questions.