a world of mapping and more

scroll down to learn more


We are a Vancouver startup specializing in interactive mapping. We are also deeply interesting in helping non-profits of all stripes to get their projects online.

Right Hand Rule GeoJSON Fixer

In 2016, the geoJSON specification became more strict and many old geoJSONs will not work in new tools like Mapbox, or throw errors. GeoJSONLint has not updated and many of its polygons are broken. It’s important to “rewind” your geoJSONs so that they fit with this more tight format.

What is the “right-hand-rule”?

When you construct a polygon, you can order the coordinates in one direction or another. If you’re drawing a circle, you might start on the left and go counter-clockwise around to meet the original point. Or, you might go clockwise.

Here is the specification:

A linear ring MUST follow the right-hand rule with respect to the area it bounds, i.e., exterior rings are counterclockwise, and holes are clockwise.

While the specification states that parsers should not break on finding this error, many do, such as Mapbox’s Dataset Uploading tool. Mapbox will export GeoJSONs with the wrong format, but won’t accept them, which is frustrating. Informally, this specification can be ignored, but practically it’s becoming normal to ensure your polygons match.

Please get in touch with Mapster if you run into any problems with this tool.

Just paste below:


Your corrected geoJSON is here!