Better Programming

Advice for programmers.

Follow publication

TopoJSON, GeoJSON, and Projections: Developing Interactive Map Visuals for Web Apps

Griffin Poole
Better Programming
Published in
10 min readFeb 3, 2020

Image by Claudia Spencer on Pixabay

GeoJSON vs. TopoJSON: What Are They?

GeoJSON

A wire mesh map of the united states
Wire mesh map of the United States, taken from the TopoJSON GitHub page

TopoJSON

Map-Projection Libraries

What is a map projection?

A visual of how the Mercator Projection is stretched and unrolled
Approximate example of Dymaxion Projection unrolling

Building a Globe

Mercator Projection in my topoGlobe project
Changing the projection type to orthographic and setting the rotation to be dependent on the state
The flying red discs are spotted at the equator

Conclusions

Griffin Poole
Griffin Poole

Written by Griffin Poole

Software Engineer, Web Developer, Neuroscience BA

No responses yet

Write a response