Guide6 min read
How to compare two maps and show what changed
Choose a useful before-and-after map, prepare two matching datasets, and let readers inspect the difference without mistaking a visual comparison for a measurement.
By Sarkoa
Updated
You have two versions of a boundary, survey, or image. Your colleague asks, “What changed?” Sending two files makes them do the comparison. Sending one screenshot may hide the part they care about. The useful answer depends on whether they need to see a change, measure it, or reuse the underlying data.
Pick the right comparison
| Reader's task | Useful approach | Limit |
|---|---|---|
| Review a fixed conclusion in a report | Two labelled images at the same extent and scale | The reader cannot inspect another location. |
| Explore where two versions differ | A synchronized side-by-side map or a swipe divider | A visual gap does not tell you its area or cause. |
| Calculate the area added or removed | Run a spatial overlay in GIS software, then map the result | Requires checked geometry and a suitable area measurement method and units. |
“Synchronized” means both map panels pan and zoom together. A swipe view places a movable divider between two versions. Both help a non-GIS reader inspect the same place in each version. For an exact polygon change, use a GIS difference operation: QGIS's Difference tool keeps the part of one polygon outside the other. Run it in both directions if you need added and removed areas separately.
Before publishing any comparison, check the dates, source, coordinate system, coverage and definitions. A shifted boundary might reflect a corrected survey or a new classification, not a physical change. Keep the same basemap, opening extent and colour meaning on both sides so presentation choices do not become the apparent story.
Compare two drone surveys with a swipe map
Open the Marconi Beach swipe map. Start at the loop at the eastern end of the parking area. Drag the divider across the pavement to find the same curve in both surveys. Then follow the path toward the beach. The sand and vegetation are exposed on September 25, 2024. On January 23, 2025, bright patches appear on the beach and around the parking loop. Tide, waves, season and flight time all affect what you see. Tracing the wet sand alone would give an unreliable estimate of erosion.

To build your own comparison, upload the orthomosaics into one dated series. Add the series to a Custom map. In Compare, save a starting comparison in Swipe mode. Show the series on both sides, assign a different date to each, and label the sides with the capture dates. Save and reopen the viewer. If fixed features appear doubled as you move the divider, check the alignment of the source surveys before interpreting the change.
The sample crops share the same extent and a 0.5 m grid. Use the original survey products and their accuracy statements for quantitative work. USGS imagery, survey dates and metadata
Try it with two fictional boundaries
Here is a small, reproducible exercise. The rectangles are invented service areas near Ottawa, Canada. They do not describe an actual service, policy or property. Save each block as a plain-text file with the shown name. GeoJSON uses longitude, then latitude, in decimal degrees; that order and coordinate system come from RFC 7946.
boundary-a.geojson:
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"Version A (fictional)"},"geometry":{"type":"Polygon","coordinates":[[[-75.80,45.30],[-75.70,45.30],[-75.70,45.40],[-75.80,45.40],[-75.80,45.30]]]}}]}
boundary-b.geojson:
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"Version B (fictional)"},"geometry":{"type":"Polygon","coordinates":[[[-75.80,45.30],[-75.65,45.30],[-75.65,45.40],[-75.80,45.40],[-75.80,45.30]]]}}]}
Version B extends east of Version A. The common western edge and identical north–south extent make the change easy to spot. This example deliberately supplies no area figure: longitude and latitude are angular coordinates, so use checked geometry and a suitable projected or ellipsoidal method for area. QGIS documents both measurement approaches.
For a paper report, draw each boundary at the same extent, label the versions and describe the eastern extension. For a browser map, add both files as layers and show one on each side. Ask a reviewer to identify the extension before you tell them where it is; if they cannot, improve the labels or colours.
Make the browser version in Sarkoa
Sarkoa is one way to host that interactive comparison. Upload both GeoJSON files and wait until processing finishes; its quick start explains the upload and map-building steps. Create a custom map with both processed layers and set an opening view that contains the full rectangles. A map with two layers has a Compare button for visitors. They can open it, choose the layers on each side and switch between Swipe and Side by side. To give them a starting view, open Compare on the builder's Map tab, tick Set a starting comparison, label the sides Version A and Version B, and assign the matching layer to each side. The Compare guide documents these controls. Save and open the viewer to check that the two versions stay aligned as you pan and zoom.
Keep this test map on organization access while you check it. If you later set the map to public, visitors can see both layers even when the files remain organization-only; map access alone does not offer the original files for download. A vector layer's tile attributes still reach the browser, so remove any fields or geometry that should not be shared before adding a real dataset. Sharing and access explains the separate map and file permissions. Test the saved link while signed out before sending it.
Sarkoa hosts and displays prepared data; its file optimization guide says it does not do the source analysis for you. Automatic cloud optimization accepts source files up to 10 GiB. Storage and tile allowances depend on the plan; check current pricing before using large files or sending a map to a large audience. A single visual comparison is also different from a time series: if you need a dated sequence and slider, review the time-series guide and its plan requirements separately.
Give the reader a conclusion they can test
Put a one-sentence question above the map: “Where does Version B extend beyond Version A?” Give each side a source and version label, and say whether the change is proposed, observed or merely a revised dataset. If the decision depends on an exact area or count, calculate that result in GIS and show the method and units alongside the map. The comparison then lets readers inspect the evidence without asking the visual alone to stand in for analysis.
Next step: Copy the two sample blocks into GeoJSON files, make a private comparison map, and ask one colleague to find the eastern extension. Then replace the sample only after checking the provenance and sharing permissions of your real data. For the broader handoff decision, see how to share a GIS map online.
Related posts
- Guide4 min read
Agentic GIS in practice: turn an inspection question into a field map
Use a GIS AI agent to query three inspection sites, check the two that need review, and publish an interactive map your field team can open.
Read more → - Guide4 min read
Share a KML or KMZ online as an interactive map
Turn two Google Earth placemarks and a route into a browser map. Try the KMZ, export the right layers in QGIS and see what happens to icons and overlays.
Read more →