Skip to content

Instantly share code, notes, and snippets.

Oscar Fonts oscarfonts

Block or report user

Report or block oscarfonts

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
oscarfonts / 34M_17.bin
Created Aug 15, 2018 — forked from andrewharvey/34M_17.bin
Add 3D model to a Mapbox GL JS map
View 34M_17.bin
This file has been truncated, but you can view the full file.
oscarfonts / web.xml
Created Aug 7, 2018 — forked from essoen/web.xml
CORS * for GeoServer with Tomcat add following to `/var/lib/tomcat7/webapps/geoserver/WEB-INF/web.xml`
View web.xml
oscarfonts /
Created May 31, 2018 — forked from hrwgc/
Calculate quantile distributions for PostgreSQL column
CAST(avg(length) AS INTEGER) AS avgAmount,
CAST(max(length) AS INTEGER)  AS maxAmount,
CAST(min(length) AS INTEGER)  AS minAmount 
FROM (SELECT length, ntile(6) OVER (ORDER BY length) AS ntile FROM countries) x
GROUP BY ntile
ORDER BY ntile;
"""Calculate building floors from the Spanish Cadastre GIS files (SHP).
Once logged, data can be downloaded from
and the data specification is at
This python script is to be used in the QGIS 2.x field calculator.
The "CONSTRU" field stores volumetric data and other attributes in the form
of a structured text code. Floor numbers are in roman numerals.
As for example, "-II+IV+TZA" is a building part with two underground floors,
oscarfonts / .block
Last active Dec 4, 2017
Ejemplo WMTS en OpenLayers
View .block
license: mit
oscarfonts / .block
Last active Dec 4, 2017
Ejemplo TMS en Leaflet
View .block
license: mit
oscarfonts /
Created Jun 15, 2017
Install docker ce in Ubuntu 16.04
sudo apt update
sudo apt install linux-image-extra-$(uname -r) linux-image-extra-virtual
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL | sudo apt-key add -
sudo apt update
sudo apt install docker-ce
sudo groupadd docker
sudo usermod -aG docker $USER
sudo systemctl enable docker
docker run hello-world
View index.html
<title>Map Widget Example</title>
<script src=""></script>
SensorWidget('map', {
"service": "",
"offering": "offering:",
"title": "Temperatura Bosque de los Sentidos",
"features": [
View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
oscarfonts / index.html
Last active Sep 23, 2016
Barcelona Airport T1 - Floor plants
View index.html
<!DOCTYPE html>
<title>Barcelona Airport T1 - Floor plants</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="//" />
<style type="text/css">
html, body, #map {
margin: 0;
You can’t perform that action at this time.