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
license: gpl-3.0 | |
height: 960 | |
border: no |
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
license: gpl-3.0 | |
border: no |
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
license: gpl-3.0 | |
border: no |
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"; | |
var sin = Math.sin, | |
cos = Math.cos, | |
tan = Math.tan, | |
acos = Math.acos, | |
asin = Math.asin, | |
atan2 = Math.atan2, | |
PI = Math.PI; | |
var ISEA_PLANE = Symbol('ISEA_PLANE'), |
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
license: gpl-3.0 | |
border: no |
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
// Sutherland-Hodgman clipping algorithm, translated naively from : | |
// http://rosettacode.org/wiki/Sutherland-Hodgman_polygon_clipping#Ruby | |
// and posted back on : | |
// http://rosettacode.org/wiki/Sutherland-Hodgman_polygon_clipping#Rust | |
#[derive(Debug,Clone)] | |
struct Point { | |
x: f64, | |
y: f64 | |
} |
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
# -*- coding: utf-8 -*- | |
from selenium import webdriver | |
import time | |
import geopandas as gpd | |
try: | |
import ujson as json | |
except ImportError: | |
import json | |
def get_proj4_text(driver): |
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
height: 600 | |
license: mit |
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
extern crate osmpbfreader; | |
extern crate geojson; | |
extern crate serde_json; | |
extern crate regex; | |
#[macro_use] extern crate lazy_static; | |
use osmpbfreader::{OsmPbfReader, OsmObj, Tags}; | |
use geojson::*; | |
use std::io::Write; | |
use std::collections::HashMap; |
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
var gulp = require('gulp'); | |
var rollup = require('rollup'); | |
var babel = require('rollup-plugin-babel'); | |
var rename = require('gulp-rename'); | |
var header = require('gulp-header'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var uuid = require('uuid/v4'); | |
var glob = require("glob"); |