Skip to content

Instantly share code, notes, and snippets.

Avatar
🗺️
Mapping

Jorge Sanz jsanz

🗺️
Mapping
View GitHub Profile
@jsanz
jsanz / all
Last active Aug 29, 2015
MailingListStats of OSGeo lists as per 2014/02/19
View all
(removing tld and domain reports)
MLStats report
--------------
Total messages by year:
Mailing list Year #
---------------- ----------- ----
announce 2007 63
announce 2008 44
@jsanz
jsanz / elhackaton-osm-links.md
Last active Aug 29, 2015
Enlaces de la charla de El Hackatón sobre OSM
View keybase.md

Keybase proof

I hereby claim:

  • I am jsanz on github.
  • I am jsanz (https://keybase.io/jsanz) on keybase.
  • I have a public key whose fingerprint is 86F8 3EA0 BD19 0CA2 801D 4FB2 6B45 68E4 6FB2 D89D

To claim this, I am signing this object:

@jsanz
jsanz / ogr2ogr.sh
Last active Aug 29, 2015
ogr2ogr 23030->25830
View ogr2ogr.sh
# Command to use the NTV2 grid file correctly to convert
# from 23030 (ED50) to 25830 (ETRS89), both in UTM30N
# hint: define all the f$cking SRS params
ogr2ogr \
-t_srs "+proj=utm +zone=30 +ellps=GRS80 +units=m +nadgrids=/path/to/sped2et.gsb" \
-s_srs "epsg:23030" \
-a_srs "epsg:25830" \
-f "ESRI Shapefile" output_shp_25830.shp input.shp
@jsanz
jsanz / README.md
Last active Aug 29, 2015
Charla sobre perspectivas profesionales para TIG 2014
View README.md
@jsanz
jsanz / README.md
Last active Aug 29, 2015
HTML example
View README.md
@jsanz
jsanz / map-styling.html
Created Jul 8, 2014
Styling on the Open Layers workshop
View map-styling.html
<!DOCTYPE html>
<html>
<head>
<title>My Map</title>
<link rel="stylesheet" href="openlayers/theme/default/style.css" type="text/css">
<style>
#map-id {
width: 512px;
height: 256px;
}
@jsanz
jsanz / charter-members-scrapping.py
Created Aug 1, 2014
Scrap Charter Members lines for electronic voting
View charter-members-scrapping.py
# Simple script to take from the OSGeo wiki the data to
# print on the console the lines to be used on the
# electronic voting system to produce meaninful
# questions with links and info.
from BeautifulSoup import BeautifulSoup
import urllib
nominations_url = 'http://wiki.osgeo.org/wiki/New_Member_Nominations_2014'
response = urllib.urlopen(nominations_url)
@jsanz
jsanz / index.html
Last active Aug 29, 2015
Minimal CartoDB visualization with the CartoDB.js library
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Trying to hide the layers| CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;
@jsanz
jsanz / README.md
Last active Aug 29, 2015
Fill empty space between two polygons
View README.md

Click on the space between any of the pairs of polygons to update the map.