This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef CPL_MULTIPROC_PTHREAD | |
#ifndef MUTEX_NONE | |
static void *hCOAMutex = NULL; | |
#endif | |
int CPLCreateOrAcquireMutex( void **phMutex, double dfWaitInSeconds ) | |
{ | |
int bSuccess = FALSE; | |
#ifndef MUTEX_NONE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
const vtpbf = require('vt-pbf'); | |
const fs = require('fs'); | |
const geojsonVt = require('geojson-vt'); | |
const SphericalMercator = require('@mapbox/sphericalmercator'); | |
const util = require('util'); | |
const cp = require('child_process'); | |
const PromisePool = require('es6-promise-pool') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "vector_tile_datasource.hpp" | |
#include "vector_tile_compression.hpp" | |
#include "vector_tile_projection.hpp" | |
#include <stdio.h> | |
#include <mapnik/box2d.hpp> | |
#include <mapnik/layer.hpp> | |
#include <mapnik/map.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define COMPRESSION_NONE 1 /* dump mode */ | |
#define COMPRESSION_CCITTRLE 2 /* CCITT modified Huffman RLE */ | |
#define COMPRESSION_CCITTFAX3 3 /* CCITT Group 3 fax encoding */ | |
#define COMPRESSION_CCITT_T4 3 /* CCITT T.4 (TIFF 6 name) */ | |
#define COMPRESSION_CCITTFAX4 4 /* CCITT Group 4 fax encoding */ | |
#define COMPRESSION_CCITT_T6 4 /* CCITT T.6 (TIFF 6 name) */ | |
#define COMPRESSION_LZW 5 /* Lempel-Ziv & Welch */ | |
#define COMPRESSION_OJPEG 6 /* !6.0 JPEG */ | |
#define COMPRESSION_JPEG 7 /* %JPEG DCT compression */ | |
#define COMPRESSION_T85 9 /* !TIFF/FX T.85 JBIG compression */ |