Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbes7878 committed Sep 16, 2024
1 parent 31f0143 commit a22eec3
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/content/docs/tutorials/locator-maps-shapefiles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ In this tutorial, we'll use shapefiles from the Insititute for the Study of War

## Video

Watch as we make an area of control map for eastern Ukraine and learn how to use shapefiles with Datawrapper.

<YouTube videoId="x8UmB9e25c0" />

<Aside type="tip">You may need to increase the video quality to 1080p to see the screenshare clearly.</Aside>

## TLDR

In a rush? Here's the basic steps to get your shapefile data into a Datawrapper locator map.
Expand All @@ -33,17 +37,17 @@ In a rush? Here's the basic steps to get your shapefile data into a Datawrapper

Import **all** the files included with your shapefile in mapshaper.org. Your geographic data should immediately appear.

3. **Console: Re-project**
3. **Console: Re-project your map**

Click the **"Console"** button, type the following command into the text prompt that appears and hit ENTER:

```console
-proj wgs84
```

You've just re-projected your data into the WGS84 projections system Datawrapper uses for locator maps.
You've just re-projected your data into the WGS84 projection system Datawrapper uses for locator maps.

<Aside type="caution">Got an error here? Your shapefile may be missing info to convert its projection. Chat to your friends on the graphics team in the Datawrapper Helpline channel in Teams.</Aside>
<Aside type="caution">Got an error here? Your shapefile may be missing some info needed to convert its projection. Chat to your friends on the graphics team in the Datawrapper Helpline channel to see if we can help.</Aside>


4. **Simplify**
Expand All @@ -56,18 +60,20 @@ In a rush? Here's the basic steps to get your shapefile data into a Datawrapper

6. **Add to your locator map in Datawrapper**

Paste or upload your GeoJSON in the **"Import line and area markers"** section on the "Add markers" tab in Datawrapper.
Paste or upload your GeoJSON in the **"Import line and area markers"** section on the **"Add markers"** tab in Datawrapper.

7. **Style your new map layer**

Don't forget to annotate your layers and make sure your map's point is clear to your readers.
Don't forget to annotate your map layers and make sure your map's point is clear to your readers.
</Steps>


---

## Quick glossary

A few terms you'll encounter in this tutorial.

### Shapefile

Shapefiles are a widely-used format for storing geographic data. They typically come as a set of files with different extensions working together. For example, a complete shapefile often includes files with extensions like:
Expand All @@ -82,7 +88,7 @@ These files combine to represent the location and attributes of geographic featu

Projections are coordinate systems used to represent the 3D curved surface of the Earth on a 2D flat surface, like a computer screen.

Different projections change how shapes, distances and areas appear. Some projections preserve shapes, while others maintain accurate sizes.
Different projections change how shapes, distances and areas appear. Some projections preserve shapes, while others maintain accurate sizes, but all projections stretch and change the geography in some way to flatten it out.

For Datawrapper, we need our geographic data projected using the **WGS84** system, which is a commonly used standard for mapping and global positioning.

Expand Down

0 comments on commit a22eec3

Please sign in to comment.