Simcity 4k uses a similar technique for the region definitions. They're actually just an image file, each pixel represents the size of the different city zones, and IIR the RGB color of the pixel had some property as well. So if you wanted a region with all small or all big cities, you just opened up the file and edited it.