James McCarthy

inspecTile


inspecTile

inspecTile was born out of a need to perform side-by-side comparisons of tilesets generated with Mapnik.

inspecTile

I have been using this tool internally for a while now, but I thought it was time to promote it a bit because others may find it as useful as we have. The way it works is simple. You load a tileset into each frame, and then when you pan or zoom one map, the other map moves accordingly. This makes it easy to do things like compare tilesets before and after changes, and compare different cartographic alternatives.

What you need are two tileset URLs in the form expected by a Leaflet TileLayer. Something like:

http://{s}.somedomain.com/blabla/{z}/{x}/{y}.png

The directories hosting the tiles must be web accessible. Then it’s just a matter of zooming and panning to compare your tilesets.

I’m hoping to add new features in the future, including:

Feel free to play with it and let me know what you think!