Extra: Creating a GeoJSON file¶
Our class projects will connect information from our surveys to our map will, 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
- Add some points into your GeoJSON file
- 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 - Add your GeoJSON to your map¶
-
Make sure your GeoJSON file is in your
week2
folder! -
Take note of the filename!
-
Modify your
js/init.js
file to add the GeoJSON file to your map: