std::cout << "When serving compressed tiles, make sure to include 'Content-Encoding: gzip' in your webserver configuration for serving pbf files" << std::endl;
rapidjson::Document document;
document.SetObject();
if (jsonConfig["settings"].HasMember("filemetadata")) {
if (! jsonConfig["settings"]["compress"].IsString()) {
cerr << "\"compress\" should be any of \"gzip\",\"deflate\",\"none\" in JSON file." << endl;
exit (EXIT_FAILURE);
}
if (endZoom>15) {
cout << "**** WARNING ****" << endl;
cout << "You're generating tiles up to z" << endZoom << ". You probably don't want to do that." << endl;
cout << "Standard practice is to generate vector tiles up to z14. Your renderer will 'overzoom' the z14 tiles for higher resolutions." << endl;
cout << "tilemaker may have excessive memory, time, and space requirements at higher zooms. You can find more information in the docs/ folder." << endl;