LogoLogo
  • About
  • Digital Scholarship
    • DS Methods Overview
      • ¶ Data Visualization
        • Basic Charts
        • Timeline
        • Treemap
        • Network
      • ¶ Mapping
        • GIS
        • Story Maps
        • Maps as Interface
      • ¶ 3D & Immersive Technologies
        • Augmented Reality & Virtual Reality
        • 3D Modeling & Laser Scanning
        • Immersive Games
        • 360 Degree Capturing
      • ¶ Digital Exhibits
        • Example Exhibits
      • ¶ Hypertext
        • Publishing & Presenting
        • Multimedia
        • Narratives & Games
      • ¶ Textual Encoding Initiative
        • What Does TEI Markup Look Like?
        • Facsimiles & Critical Editions
      • ¶ Text Analysis
        • Out of the Box vs Coding and Scripting
        • Text Analysis Examples
    • Introduction to Data
      • ¶ What is Data?
        • Structured & Unstructured Data
        • Quantitative & Qualitative Data
        • Humanities & Data
      • ¶ What is Data Visualization?
      • ¶ DS Data Projects
        • Getting Started Questions
        • Project Examples
        • Visualization Tools
      • ¶ Research Data Lifecycle
        • Data Management Best Practices
      • ¶ Glossary
    • Introduction to Mapping
      • ¶ What is Spatial Data?
      • ¶ Vector and Raster Data
        • Vector and Raster Data Examples
        • File Format Examples
      • ¶ Starting a Mapping Project
        • Getting Started Questions
        • Project Examples
        • Mapping Tools and Platforms
    • Introduction to Digital Exhibits
      • ¶ What is a Digital Exhibit?
        • Related Concepts
      • ¶ Starting a Digital Exhibit
      • ¶ Exhibit Examples
      • ¶ Platforms
  • Digital Pedagogy
    • ¶ What is Digital Pedagogy?
    • ¶ Considerations
    • ¶ Recommendations
    • ¶ Assignment Design
      • Learning Outcomes
      • Mode/Method/Tool Process
      • Assignment Examples
    • ¶ Evaluation
      • Assignment Criteria
    • ¶ Maintenance & Archiving
      • Recommended File Formats
  • Accessibility
  • Skills
  • Tools
Powered by GitBook
On this page
  • Raster Data File Formats
  • Vector Data File Formats
Export as PDF
  1. Digital Scholarship
  2. Introduction to Mapping
  3. ¶ Vector and Raster Data

File Format Examples

PreviousVector and Raster Data ExamplesNext¶ Starting a Mapping Project

Last updated 3 years ago

Raster Data File Formats

While can be stored in many different formats, GeoTIFF is one of the most common. GeoTIFF is a standard .tif image that also contains spatial data (e.g., coordinates and projections) and attributes. In general, however, any standard image (e.g., jpeg), if given proper spatial data, a practice called , can act like a raster file.

Vector Data File Formats

Vector data includes data in the form of points, lines, and polygons along with any connected attributes. This type of data can come in several different formats, such as GeoJSON, CSV, and KML. Below you can see an array of data formats (found in ), GeoJason, CSV, KML, Shapefile, ESRI Rest API, and ArcGIS Hub Dataset. All contain the same food truck information:

While most platforms allow for some interoperability (the ability to work with several file formats), it is helpful to understand the basic distinction between them.

CSV

CSV data is useful simply because it is easy to create and manipulate in software like Excel or GoogleSheets, and these programs often allow you to export your data as a CSV to make it more interoperable. It is also easy to transform a CSV file into other formats, like GeoJSON, making it an easy "go-to" for sharing spatial data

CSV files are especially useful if you simply have a collection of point data. A file of this kind, sometimes called "XY data" or "long/lat data" can be easily imported into software like ArcGIS or QGIS in order to visualize it. (Note that it will not have any attributes).

GeoJSON

The example below is a selection of GeoJSON data. It is organized similarly to the well-known CSV, with each feature containing a series of attributes, including (in this case) the geometry for point data, latitude, and longitude values for where the food truck will be located.

{
"type": "FeatureCollection",
"name": "food_truck_schedule",
"features": [
{ "type": "Feature", "properties": { 
    "Day": "Monday", 
    "Time": "11-3pm", 
    "Truck": "Papi's Stuffed Sopapillas", 
    "Location": "Back Bay", 
    "Pinpoint": "Clarendon Street", 
    "Hours": "11-3pm", 
    "Management": "City of Boston", 
    "ObjectId": 1 }, 
    
  "geometry": {
       "type": "Point", 
       "coordinates": [ -71.0751258, 42.3505372 ] } 
 }

KML

Shapefile

A file is one of the most well-known formats for both spatial and non-spatial data and is created by using commas to separate each value of an attribute, with each line of the file equal to a single data record. If we return to thinking about , comma-separated value file simply puts a comma in between attribute value, returning an output that looks something like this:

is an open standard format for spatial data based on the JSON file format, which includes spatial information (points, lines, polygons) along with other qualitative and quantitative attributes. If you are using Python, a coding language, or platforms like Leaflet to manipulating spatial data, a GeoJSON export is probably your best choice.

It's worth noting that there are for converting CSV to GeoJSON and vice versa.

A is an open standard spatial data format most commonly associated with displaying geographic data in an Earth browser such as . Although not necessarily as easily compatible with other platforms such as ArcGIS or Leaflet, there are a variety of conversion tools and plugins built-in within these platforms that may help ease the process.

A is a simple format for storing the geometric location and attribute information of geographic features represented by points, lines, or polygons (areas), and is most commonly associated with ESRI's ArcGIS program suite. From within ArcGIS/QGIS, you may then export it as other file types, though this sometimes requires purchasing the Interoperability extension.

CSV (comma-separated value)
structured data sets
GeoJSON
tools
KML file (Keyhole-Markup-Language)
Google Earth
Shapefile
raster data
georeferencing
Boston Open Data
Food truck data in an "Excel" format
Same data as a CSV in a text editor
A KML visualization of the Boston sidewalk inventory in Google Earth