A step-by-step guide to converting maps into shapefiles
Converting maps into shapefiles is a helpful way to work with geographic data in GIS (Geographic Information System) software. Whether you’re a researcher, urban planner, or just curious about mapping, shapefiles let you store and analyze spatial information easily.
In this guide, we’ll explain what shapefiles are, why they matter, and how to convert a map into a shapefile using simple steps.
What Is a Shapefile?
A shapefile is a popular file format used in GIS programs like QGIS or ArcGIS. It stores geometric location (like points, lines, or polygons) and attribute data (such as names, categories, or numbers).
A shapefile usually includes several files with the same name but different extensions (like .shp
, .shx
, and .dbf
). Together, they make up a complete shapefile.
Why Convert Maps to Shapefiles?
Maps you find online or in PDF, image, or scanned form are usually not usable directly in GIS tools. To use them in mapping software, you need to convert those maps into shapefiles. This allows you to:
Analyze geographic data
Overlay maps with other datasets
Create interactive maps or charts
Export data for use in other tools
How to Convert Maps into Shapefiles: Step-by-Step
Here’s a simple process for converting a map into a shapefile:
Step 1: Choose Your Map
You can start with a paper map, a PDF, or an image file (JPG, PNG). If you found a map online, download it as an image or take a screenshot.
Tip: Make sure the map is clear and has distinguishable boundaries or lines.
Step 2: Georeference the Map
Before you can trace anything, you need to georeference the map — this means aligning it with real-world coordinates.
Tools you can use:
QGIS (Free and open-source)
ArcGIS (Paid, professional software)
How to georeference:
Open your image map in QGIS or ArcGIS.
Use the “Georeferencer” tool.
Add control points by matching features on the image (like roads or landmarks) with their real-world location on a base map.
Save the georeferenced map as a raster layer.
Step 3: Digitize (Trace) the Map Features
Once georeferenced, you’ll trace the parts of the map you want to turn into shapefiles.
In QGIS or ArcGIS:
Create a new vector layer (point, line, or polygon depending on the feature).
Use the "Add Feature" tool to manually click and trace shapes on the map.
Add attribute data (like names or categories) as you trace.
Save the layer when done.
This step is called digitizing — it’s how you turn visual map features into editable, spatial data.
Step 4: Export as a Shapefile
After tracing all the features:
Right-click your new layer in the Layers panel.
Select Export > Save Features As…
Choose “ESRI Shapefile” as the format.
Name your file and choose a save location.
Click OK to export.
Now you’ve got a shapefile ready to use in any GIS software!
Optional Tools and Shortcuts
If you have access to vector data (like GeoJSON or KML), you can convert those directly to shapefiles without tracing. Just open them in QGIS and export as a shapefile.
Also, some websites offer ready-made shapefiles:
OpenStreetMap (via Geofabrik)
Final Thoughts
Converting a map into a shapefile might sound technical, but with the right tools, it’s a straightforward process. By georeferencing, tracing, and exporting, you can turn almost any map into usable GIS data.
Whether you’re mapping city boundaries, forest areas, or school districts, knowing how to create shapefiles will give you more control over your geographic data.