Generating your own OpenMapTiles

Read More...

Tightening the Belt

If you make web pages and you haven’t seen Maciej Ceglowski’s The Website Obesity Crises, you should carve out an hour and watch it. Here’s a text version if you prefer reading. In 2016 the average web page size was 2.3

Read More...

Vector Tiles - 2017 NC GIS Conference Talk

Read More...

Fun with HTTPS/H2 Part 2

Imgur

Maximum warp engage! Let’s put H2 through a simple performance test.

Read More...

Fun with HTTPS/H2 Part 1

Spooling out a new HTTPS/HTTP2 app with tools like nginx and Let’s Encrypt is pretty easy these days. Converting current HTTP apps to HTTPS is where all the fun happens. And by fun I mean swearing.

Read More...

Parent and Iframe Communication

Read More...

Making your own vector tiles with Tippecanoe

Want to build your own vector tiles? tippecanoe is the droid you’re looking for. There are two steps to this process:

  • Get your layers in GeoJSON.
  • Run tippecanoe.

Optional steps include proclaiming bullshit loudly at the idea it really did what it said it did that quickly, and setting your other tile making tools on fire.

Read More...

Pitch toggle control for Mapbox GL JS

Government types tend to want a button for everything, and I try to dissuade them from that as much as possible. However, getting a Mapbox GL JS map to do the tilter-whirl thing requires a complex UI interaction. A little help is in order.

Read More...

Grabbing and Chopping Vector Tiles

This morning I noticed a tweet indicating OSM2VectorTiles is no longer maintained and that users should switch to OpenMapTiles.

I’ve been looking forward to this ever since the world’s most polite saber rattling from Mapbox over the data schema used by OSM2VectorTiles. I had some design work I wanted to do, but I was holding out for this and Maputnik, the styling tool from Lukas Martinelli I contributed an embarrassingly small amount to on Kickstarter. They are both here now, and if you haven’t tried it, Maputnik is really good.

This also makes for a good opportunity for a couple of blog posts on dealing with vector tiles. In this one we’ll look at how I grab and chop up vector tiles for Mecklenburg’s use.

Read More...

Extruding polygons in Mapbox GL JS 0.26

Read More...