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 Kothic = require("./src/kothic"); | |
const { createCanvas, loadImage } = require('canvas') | |
const canvas = createCanvas(512* 4, 512 *4) | |
const fs = require('fs'); | |
const newdata = { | |
"type": "FeatureCollection", | |
"features": [ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
--sudo -u postgres psql | |
--create database apartments; | |
--create user apartments with encrypted password 'apartments'; | |
--grant all privileges on database apartments to apartments; | |
CREATE TABLE reestrmkd ( | |
id INTEGER PRIMARY KEY, -- ID дома на Портале | |
region_id CHAR(36) NOT NULL, -- Субъект РФ (код ФИАС) | |
area_id CHAR(36) NOT NULL, -- Район (код ФИАС) | |
city_id CHAR(36) NOT NULL, -- Населенный пункт (код ФИАС) |
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
/* Main railways without electrified tags */ | |
way[!electrified][railway=rail][!service][!usage] { | |
color: #000; | |
width: 5; | |
} | |
way[!electrified][railway=rail][!service][usage=branch] { | |
color: #000; | |
width: 3; | |
} |