Loading
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
const express = require("express") | |
const app = express() | |
const { Pool } = require("pg") | |
const SphericalMercator = require("sphericalmercator") | |
const pool = new Pool({ | |
host: "localhost", | |
port: 15432, | |
user: "postgres", | |
database: "postgres" | |
}) |
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
{ | |
"405156": "http://polygons.openstreetmap.fr/get_poly.py?id=405156¶ms=0", | |
"407717": "http://polygons.openstreetmap.fr/get_poly.py?id=407717¶ms=0", | |
"406567": "http://polygons.openstreetmap.fr/get_poly.py?id=406567¶ms=0.002000-0.005000-0.005000", | |
"407787":"http://polygons.openstreetmap.fr/get_poly.py?id=407787¶ms=0", | |
"406091":"http://polygons.openstreetmap.fr/get_poly.py?id=406091¶ms=0", | |
"412436":"http://polygons.openstreetmap.fr/get_poly.py?id=412436¶ms=0", | |
"412377":"http://polygons.openstreetmap.fr/get_poly.py?id=412377¶ms=0", | |
"412436": "http://polygons.openstreetmap.fr/get_poly.py?id=412436¶ms=0", | |
"412436":"http://polygons.openstreetmap.fr/get_poly.py?id=412436¶ms=0", |
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
import os | |
import requests | |
from django.core.management.base import BaseCommand | |
# BASE_URL = 'http://opendemdata.info/data/srtm_contour/N06E031.zip' | |
BASE_URL = 'http://opendemdata.info/data/srtm_contour/%s%s%s%s.zip' | |
BASE_STORE_PATH = '' |
Loading
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
{ | |
"tilejson": "2.1.0", | |
"name": "world", | |
"description": "STK World Terrain Premium Tileset, v1.3. 10m - 30m resolution CONUS, 30m resolution SRTM between 60N and 60S, 30m Europe. Minimum global coverage of 1000m.", | |
"version": "1.31376.0", | |
"format": "quantized-mesh-1.0", | |
"attribution": "© Analytical Graphics Inc., © CGIAR-CSI, Produced using Copernicus data and information funded by the European Union - EU-DEM layers", | |
"scheme": "tms", | |
"extensions": [ | |
"watermask", |
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
# !/user/bin/env/python | |
# -*- coding: utf-8 -*- | |
# version: v0.0.1 | |
# author: youth | |
# contact: [email protected] | |
# project: garbage | |
# filename: terrain.py.py | |
# datetime: 2017-08-31 16:05 | |
# description: | |
import os |
Loading
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
node /usr/src/app/bin/tessera.js -c /data/config.json --PORT 81 --cache-size 500 --source-cache-size 10 |
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
weba: | |
build: ./web | |
expose: | |
- 80 | |
webb: | |
build: ./web | |
expose: | |
- 80 |