Charla sobre perspectivas profesionales para TIG 2014
Acceder a las diapositivas en bl.ocks.
Jorge Sanz
@xurxosanz
http://jorgesanz.net
# 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 |
Charla sobre perspectivas profesionales para TIG 2014
Acceder a las diapositivas en bl.ocks.
Jorge Sanz
@xurxosanz
http://jorgesanz.net
Minimal HTML, CSS and JavaScript example for the Open Source Opportunities in GIS Summer School.
Also available as a jsFiddle.
<!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; | |
} |
https://osgeo-charter-members.glitch.me
This is a simple exercise to learn D3 basics using a data set I have at hand, the charter members of the Open Source Geospatial Foundation OSGeo.
# 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) |
<!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%; |
This is an example of extending the OL3 [TextFeature] format class
to parse the data coming from a Google [Form] backed by a
public Google [Spreadsheet].
Add an event (name, web and coordinates) and check the [demo].
The magic comes from calling the [JSON] version of the spreadsheet.
The weirdest part is the owz14uv
string that I had to guess
thanks to this [blog post].
Click on the space between any of the pairs of polygons to update the map.
This is a demo for an SQL function defined in CartoDB. The function takes two adjacent polygons and two points near their borders and return a polygon that fills the space between those polygons up to those points.
To execute the geoprocess draw to adjacent polygons and two points on their borders. Draw a new point or a new polygon to execute again the process.
The SQL called then is:
SELECT ST_AsGeoJSON(
fillempty(
polygon1, polygon2,