Skip to content

Instantly share code, notes, and snippets.

View nextstopsun's full-sized avatar

Nikolai Lebedev nextstopsun

View GitHub Profile
@nextstopsun
nextstopsun / topo1.topojson
Created August 23, 2013 20:54
pollution index change
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from logging.config import fileConfig
import os.path
fileConfig(r'/home/nl/mapproxy/basemaps_log.ini', {'here': os.path.dirname(__file__)})
from mapproxy.wsgiapp import make_wsgi_app
application = make_wsgi_app(r'/home/nl/mapproxy/basemaps.yaml')
@nextstopsun
nextstopsun / test-cmake-find-pyinterp_cmake-vars.txt
Created December 4, 2016 12:39
test-cmake-find-pyinterp_cmake output
APPLE=1
ARGC=0
ARGN=
ARGV=
{
"id": 80,
"name": "test_style",
"glyphs": "http://www.basemap.ru/egko/glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "#ffffff",
@nextstopsun
nextstopsun / index.js
Last active February 6, 2018 10:44 — forked from stepankuzmin/index.js
PostGIS ST_AsMVT JSONB properties encoding bug
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
@nextstopsun
nextstopsun / # gdal2-oracle - 2018-08-13_13-14-58.txt
Created August 13, 2018 10:15
gdal2-oracle (osgeo/osgeo4mac/gdal2-oracle) on macOS 10.13.5 - Homebrew build logs
Homebrew build logs for osgeo/osgeo4mac/gdal2-oracle on macOS 10.13.5
Build date: 2018-08-13 13:14:58
@nextstopsun
nextstopsun / # gdal2-oracle - 2018-08-13_13-17-49.txt
Created August 13, 2018 10:18
gdal2-oracle (osgeo/osgeo4mac/gdal2-oracle) on macOS 10.13.5 - Homebrew build logs
Homebrew build logs for osgeo/osgeo4mac/gdal2-oracle on macOS 10.13.5
Build date: 2018-08-13 13:17:49
@nextstopsun
nextstopsun / # gdal2-pdf - 2018-08-13_18-05-06.txt
Created August 13, 2018 15:06
gdal2-pdf (osgeo/osgeo4mac/gdal2-pdf) on macOS 10.13.5 - Homebrew build logs
Homebrew build logs for osgeo/osgeo4mac/gdal2-pdf on macOS 10.13.5
Build date: 2018-08-13 18:05:06
ldd (0x7f6270ad8000)
libCGAL_Core.so.13 => /usr/local/lib64/libCGAL_Core.so.13 (0x7f626fddb000)
libCGAL.so.13 => /usr/local/lib64/libCGAL.so.13 (0x7f626fbbe000)
libgmp.so.10 => /usr/lib/libgmp.so.10 (0x7f626f95a000)
libmpfr.so.4 => /usr/lib/libmpfr.so.4 (0x7f626f705000)
libboost_thread-mt.so.1.66.0 => /usr/lib/libboost_thread-mt.so.1.66.0 (0x7f626f4dc000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f626f189000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f626ef77000)
libc.musl-x86_64.so.1 => ldd (0x7f6270ad8000)
libboost_system-mt.so.1.66.0 => /usr/lib/libboost_system-mt.so.1.66.0 (0x7f626ed72000)
@nextstopsun
nextstopsun / # grass7 - 2019-01-03_00-02-13.txt
Created January 2, 2019 21:18
grass7 (osgeo/osgeo4mac/grass7) on macOS 10.14.2 - Homebrew build logs
Homebrew build logs for osgeo/osgeo4mac/grass7 on macOS 10.14.2
Build date: 2019-01-03 00:02:13