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
const fs = require("fs"); | |
const geobuf = require("geobuf"); | |
const Protobuf = require("pbf"); | |
const pgp = require("pg-promise")(); | |
const vt = require("vector-tile"); | |
const db = pgp(process.env.DATABASE_URL); | |
const tile_with_properties_as_jsonb = `WITH data (id, num1, num2, geom) AS ( | |
VALUES |