Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrea Borruso aborruso

View GitHub Profile
@aborruso
aborruso / #oddit14_wall_01.html
Last active Aug 29, 2015
Codice per fare l'embedding del wall #oddit14, altezza fissa
View #oddit14_wall_01.html
<script type="text/javascript" class="rebelmouse-embed-script" src="https://www.rebelmouse.com/static/js-build/embed/embed.js?site=oddit14&height=1500&flexible=0&scrollbar_theme=default&show_rebelnav=1"></script>
@aborruso
aborruso / #oddit14_wall_02.html
Created Feb 19, 2014
Codice per fare l'embedding del wall #oddit14, scroll infinito
View #oddit14_wall_02.html
<script type="text/javascript" class="rebelmouse-embed-script" src="https://www.rebelmouse.com/static/js-build/embed/embed.js?site=oddit14&height=1500&flexible=1&show_rebelnav=1"></script>
@aborruso
aborruso / turbineeoliche.geojson
Last active Aug 29, 2015 — forked from anonymous/overpass.geojson
Turbine eoliche in Sicilia
View turbineeoliche.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View realvista.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd"[
<!ELEMENT VendorSpecificCapabilities EMPTY>
]>
<!-- end of DOCTYPE declaration -->
<WMT_MS_Capabilities version="1.1.1">
<Service>
<Name>OGC:WMS</Name>
<Title>WMS for GEE</Title>
<Abstract>WMS Services</Abstract>
View agea2009-2012.xml
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd"[
<!ELEMENT VendorSpecificCapabilities EMPTY>
]>
<!-- end of DOCTYPE declaration -->
<WMT_MS_Capabilities version="1.1.1">
<!-- MapServer version 6.0.3 (MS4W 3.0.6) OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<Service>
<Name>OGC:WMS</Name>
<Title>Ortofoto a colori anno 2012</Title>
@aborruso
aborruso / open_pompei.geojson
Created Mar 1, 2014 — forked from anonymous/open_pompei.geojson
Layer exported from QGIS
View open_pompei.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aborruso
aborruso / layer.map
Created Mar 4, 2014
my test mapserver layer
View layer.map
LAYER
CLASSITEM "Status"
CONNECTION "mappa_di_base.shp"
CONNECTIONTYPE OGR
FILTER ('[Status]' eq '3' OR '[Status]' eq '2' OR '[Status]' eq '1')
LABELITEM "ID"
METADATA
"coordsys_name" "Popular Visualisation CRS / Mercator (deprecated)"
END # METADATA
NAME "geo_32633"
View import.py
import logging, importio, threading, json
# We define a latch class as python doesn't have a counting latch built in
class _Latch(object):
def __init__(self, count=1):
self.count = count
self.lock = threading.Condition()
def countDown(self):
with self.lock:
@aborruso
aborruso / route_line.geojson
Created Mar 23, 2014 — forked from anonymous/route_line.geojson
Layer exported from QGIS
View route_line.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aborruso
aborruso / route_line.geojson
Created Mar 23, 2014 — forked from anonymous/route_line.geojson
Layer exported from QGIS
View route_line.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.