LogoLogo
  • About DS Learn
  • Tutorials
    • ¶ Digital Exhibits
      • Getting Started with Digital Exhibits
        • Considerations
        • Basic Steps
          • Site Organization
          • Usability & Accessibility
        • Platforms
    • ¶ Digital Storytelling
      • Introduction to ArcGIS StoryMaps
        • Getting Started
        • Using Content Blocks
        • Importing Maps from David Rumsey
      • Introduction to KnightLab StoryMap JS
      • TimelineJS
    • ¶ 3D Modeling & Immersive Technology
      • Adding 3D Models in Omeka
      • Intro to Photo Processing with Agisoft Metashape for 3D Model Making
      • Tips and Tricks for Taking Photos for 3D Model Creation
      • An Introduction to Apple's Reality Composer AR
      • Importing SketchFab Models into AR for the iPad or iPhone
      • Creating Basic 3D Objects for AR in Blender
      • Introduction to Meshlab
    • ¶ Data Visualization
      • Introduction to Tableau
        • Download and Install Tableau
        • Using Tableau to Visualize COVID-19 Data
        • Tableau DH
        • Resources
      • Beyond Simple Chart in Tableau
        • Beyond Simple chart Examples
      • Google Colab
        • Get Started
        • Data Import
        • Data Wangling
        • Visualization
        • Results Export
      • Out of Box Data Visualization Tools
        • How to use Google Data Studio with Google Sheets
        • Google Data Studio Interface
        • Creating Visualizations in Google Data Studio
    • ¶ Mapping
      • Tiling High-Resolution Images for Knightlab StoryMapJS
      • Hosting and Displaying Zoomable Images on Your Webpage
      • Georectifying Historical Maps using MapWarper
      • Making a Starter Map using Leaflet
    • ¶ REST API
      • How does REST API work?
      • JSON File
      • Get Started with Google Sheets Script Editor
      • Example 1: Extract Data by One Cell
      • Example 2: Extract Data by A Cell Range
    • ¶ Text Analysis
      • Introduction to Text Analysis
        • Step 1: Exercise One
        • Step 2: What is Text Analysis?
        • Step 3: Important Considerations
        • Step 4: Why Voyant and Lexos?
        • Step 5: Exercise Two
      • Text Repositories
      • Text Analysis in JSTOR
        • Overview of Constellate
        • Build A Dataset
        • Create A Stopwords List
        • Word Frequency
  • Digital Scholarship Incubator
    • Schedule
    • Getting Started
    • People
    • Project Guidelines
    • Topics
      • 3D Modeling and Immersive Technologies
        • Part 1: 3D Photogrammetry & Laser Scanning
          • Exercise: Experiment with 3D creation tools
        • Part 2: An Introduction to Apple's Reality Composer AR
          • Exercise: Experiment with Apple RealityComposer AR
      • Anatomy of a DS Project
        • Parts of a DS Project
        • Some DS Project Examples
        • Exercise: Evaluating a DS Project
      • Pedagogy
      • Data and Data Visualization
        • Introduction to Data
        • Introduction to Data Visualization
        • Introduction to Tableau
          • Download and Install Tableau
        • Introduction to Network Visualization
      • Digital Exhibits
        • Exercise 1: Exploring Exhibits
        • Exercise 2: Exhibit.so
      • DS Intro & Methodologies
      • User Experience
        • Usability Exercise
      • Mapping and GIS
        • An Introduction to Mapping, GIS and Vector Data
          • Workshop: Exploring and Creating Vector Data
          • Quick Review: Spatial Data
        • An Introduction to Raster Data and Georeferencing Historical Maps
          • Workshop: Finding and Georeferencing an Historical Map
          • Tutorial: Georectifying Historical Maps using MapWarper
        • Presentation + Workshop: Putting it together in ArcGIS Online
        • Workshop: A Brief Introduction to QGIS
          • Adding Base-maps and Raster Data
          • Adding and Creating Basic Vector Data
          • Styling your data and preparing it for exporting
      • Story Maps
        • Story Map Exercise
      • Text Analysis
        • Exercise 1: Voyant
        • Exercise 2: Python
Powered by GitBook
On this page
  • Adding Premade Vector Data
  • CSV
  • Shapefiles
  • GeoJson
  • Creating your own Vector Data

Was this helpful?

Export as PDF
  1. Digital Scholarship Incubator
  2. Topics
  3. Mapping and GIS
  4. Workshop: A Brief Introduction to QGIS

Adding and Creating Basic Vector Data

Lines, Points, and Polygons

PreviousAdding Base-maps and Raster DataNextStyling your data and preparing it for exporting

Last updated 2 years ago

Was this helpful?

Ok, we've got a background map, now what about vector data?

Adding Premade Vector Data

Adding vector data depends on what kind of format your data is in. Let's run through the standard three types.

CSV

To add CSV data to the map, go to Layer-->Add Layer --> Add Delimited Text Layer

And there you go!

Shapefiles

1) Go to Layers-->Add Layer-->Vector Layer

2) Select your ZIPPED folder containing your shapefile as the file to be imported, and click Add!

And your shapefile (in this case polygons representing the open, public spaces of Boston, is added to the map!

GeoJson

GeoJson files are imported the same way as Shapefiles, though no need to zip since its just one file!

Creating your own Vector Data

Up to now, we've been adding other people's data, or data we have generated in a spreadsheet....what if we want to creat our own data from scratch inside QGIS?

Instead of Adding a Layer, we Create a new one!

When making a new vector layer from scratch, you define its type and attributes similar to how you would in a spreadsheet.

Here I've created a Point shapefile called "Cities". To start adding to it, I just right-click and toggle editing on!

When editing is on, the small editing toolbar will become accessible

From left to right the tools are:

  1. Current Edits allows you to manage your editing session. Here you can save and rollback edits for one or more selected layers.

  2. Toggle Editing provides an additional means of beginning or ending an editing session for a selected layer.

  3. Save Layer Edits allows you to save edits for the selected layer(s) during an editing session.

  4. The Add Features tool will change to the appropriate geometry depending on whether a point, line or polygon layer is selected. Points and vertices of lines and polygons are created by left clicking. To complete a line or polygon feature right click. After adding a feature you will be prompted to enter the attributes.

  5. Features can be moved with the Move Tool by clicking them and dragging them to the new position. Individual feature vertices can be moved with the Node Tool. Click on a feature once with the tool to select it, the vertices will change to red boxes. Click again on an individual vertex to select it. The selected vertex will turn to a dark blue box. From there the vertex can be moved to the desired location. Additionally, edges between vertices can be selected and moved. To add vertices to a feature, simply double click on the edge where you want the vertex to be added. Selected vertices can be deleted by clicking the Delete key on the keyboard. Features can be deleted, cut, copied and pasted with the Delete Selected, Cut Features, Copy Features, and Paste Features.

After clicking to create a new Feature, a box to fill in the attributes you've chosen will appear. Below are the attributes for my pretend Cities shapefile.

You can access and edit all the attributes from your current shapefile by right clicking the name of your layer and selecting Open Attribute Table.

Here I've selected a csv of

Shapefiles are a very common file type for individaul spatial data layers and can be downloaded from spatial database sites like . To import a shapefile into QGIS:

all the places mentioned in a Jesuit Catalogue (about 30000)
BostonMaps
Note the sample data at the bottom of the window
All the Locations Mentioned in the Jesuit Project
Select your zipped shapefile
Polygon Shapefile
Create a new Shapefile from Scratch
You've got the power!
The two points in my current spreadsheet.