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
"""Calculate building floors from the Spanish Cadastre GIS files (SHP). | |
Once logged, data can be downloaded from https://www.sedecatastro.gob.es/ | |
and the data specification is at | |
http://www.catastro.minhap.gob.es/ayuda/manual_descriptivo_shapefile.pdf | |
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, |
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: 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
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
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 https://download.docker.com/linux/ubuntu/gpg | 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 |
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
<html> | |
<head> | |
<title>Map Widget Example</title> | |
<script src="http://sensors.fonts.cat/js/SensorWidgets.js"></script> | |
<script> | |
SensorWidget('map', { | |
"service": "http://wsncentral.iecolab.es/observations/service", | |
"offering": "offering:http://wsncentral.iecolab.es/observations/procedure/sensirion/TemperatureandHumidityProbe/noSerialNumberDeclared/0EAD0000000001DX/observations", | |
"title": "Temperatura Bosque de los Sentidos", | |
"features": [ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<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="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" /> | |
<style type="text/css"> | |
html, body, #map { | |
margin: 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
8080=PROJCS["Barcelona Eixample", \ | |
GEOGCS["ETRS89", \ | |
DATUM["European Terrestrial Reference System 1989", \ | |
SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]], \ | |
TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], \ | |
AUTHORITY["EPSG","6258"]], \ | |
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], \ | |
UNIT["degree", 0.017453292519943295], \ | |
AXIS["Geodetic longitude", EAST], \ | |
AXIS["Geodetic latitude", NORTH], \ |
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
select | |
"user@example.com" as 'Email', | |
date(facts.start_time) as 'Start date', | |
time(facts.start_time) as 'Start time', | |
strftime('%H:%M:%S', strftime('%s',facts.end_time) - strftime('%s',facts.start_time), 'unixepoch') as 'Duration', | |
categories.name as 'Project', | |
activities.name as 'Description' | |
from | |
facts, categories, activities | |
where |
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
{ | |
"$schema":"http://json-schema.org/draft-04/schema#", | |
"definitions":{ | |
"wmsLayer-base":{ | |
"type":"object", | |
"properties":{ | |
"id":{ | |
"type":"string" | |
}, | |
"type":{ |