Example of using WFS with a BBOX strategy.
A Pen by Nico Mandery on CodePen.
| /// Fix geojson polygons that span the antimeridian and have arcs > 180 | |
| /// degrees. This is a workaround for a bug in the underlying H3 library: | |
| /// <https://github.com/uber/h3/issues/561> | |
| /// | |
| /// This code is based on nrabinowitz's code in | |
| /// <https://observablehq.com/@nrabinowitz/mapbox-utils> | |
| pub fn fix_trans_meridian_coordinate(coord: &mut geo_types::Coordinate<f64>) { | |
| if coord.x < 0.0 { | |
| coord.x += 360.0; |
| import geojson | |
| from euclid3 import Point3 | |
| from solid.utils import extrude_along_path | |
| from solid import scad_render_to_file | |
| def main(): | |
| # https://raw.githubusercontent.com/isellsoap/deutschlandGeoJSON/master/1_deutschland/4_niedrig.geojson | |
| #fs = geojson.loads(open('4_niedrig.geojson').read()) | |
| #outline_d = fs[0]["geometry"]["coordinates"][0][0] |
Example of using WFS with a BBOX strategy.
A Pen by Nico Mandery on CodePen.
Example of using WFS with a BBOX strategy.
A Pen by Nico Mandery on CodePen.
Example of using WFS with a BBOX strategy.
A Pen by Nico Mandery on CodePen.
| #!/bin/bash | |
| # generate a changelog from git tags | |
| TAGLIST=`git tag | grep -E '^v[0-9]+' | xargs -I@ git log --format=format:"%ai @%n" -1 @ | sort -r | awk '{print $4}'` | |
| LAST_IN_LIST=HEAD | |
| echo "Changelog" | |
| echo "---------" | |
| echo "" |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| From http://stackoverflow.com/questions/2501182/convert-maildir-to-mbox | |
| Frédéric Grosshans, 19 January 2012 | |
| Nathan R. Yergler, 6 June 2010 | |
| This file does not contain sufficient creative expression to invoke | |
| assertion of copyright. No warranty is expressed or implied; use at |
| # vi: set ft=yml | |
| --- | |
| - hosts: all | |
| sudo: no | |
| vars: | |
| dotfiles_dir: "{{ansible_user_dir}}/.dotfiles" | |
| handlers: | |
| - name: purge cached system packages | |
| shell: apt-get clean |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "runtime" | |
| ) | |
| func worker(id int, c chan int, wg *sync.WaitGroup) { | |
| wg.Add(1) |
| #!python | |
| # encoding=utf8 | |
| # download the images of a document from issuu.com | |
| import requests | |
| import urlparse | |
| import os | |
| import os.path | |
| # link to the jpg of the first page |