Skip to content

Creating a GeoJSON file

Learning how to connect information from our surveys to our map will be the key for our class projects, so first we will practice by creating a GeoJSON file of our own!

The power of people-based web mapping

Let’s put to practice what web development and GIS can do for empowering our own stories.

Head over to GeoJSON.io:

Click on the marker tool:

Click on a location of interest to you:

Switch to the Table view by clicking on Table:

Add a data column by clicking on ➕ new column :

Call it place and click OK:

Click inside the place column

Type in a description for the place, in this case I called it home.

Zoom out by pressing the ➖ button or ++ minus ++ key:

Click the edit button:

Click on the marker and move it the adjust the location:

Click the edit button and then Save to save your edits:

Add a new column called color, to put some color to your map later.

When you are done, save your file by going to the top menu’s Save option:

Click GeoJSON:

Download the file to your computer:

Copy the file into your project folder:

⚽In-class Exercise #1 - Leaving your mark(er) on the map!

Go back and add more points to your GeoJSON file.

Tasks

  1. Add some points into your GeoJSON file
  2. Save the file and add it to your lab3 folder

After finishing the exercise, think about how empowering it was for you to be able to add data to the map yourselves. Whether you were clicking random spots or trying to find your old favorite places to visit, the ability to mark things is a reclaiming of mapping for yourself. This sense of staking a claim is what is meant when we refer to “empowering community voices”.

🏁Checkpoint - Check your GeoJSON

  1. Make sure your GeoJSON file is in your week3 folder!

  2. Take note of the filename! The default from https://geojson.io is map.geojson, but you can change it to whatever you want.