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
Show hidden characters
{ | |
"env": { | |
"CLASSPATH": ".:/usr/local/lib/processing/core.jar" | |
}, | |
"cmd": ["jython", "$file"] | |
} |
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
{ | |
"proj": { | |
"id": "laea" | |
}, | |
"layers": [ | |
{ | |
"id": "commune", | |
"src": "arrondissements.shp", | |
"simplify": 1.3, | |
"attributes": ["commune", "arrondisse", "departemen", "region"] |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 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
1995 2000 2005 2010 | |
Germany 29 25 28 29 | |
France 29 28 28 30 | |
Greece 35 33 33 33 |
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
(function(global, _) { | |
var Miso = (global.Miso || (global.Miso = {})); | |
/** | |
* Smart delimited data parser. | |
* - Handles CSV and other delimited data. | |
* - Includes auto-guessing of delimiter character if delimiter is set to "auto" | |
* Parameters: | |
* options |
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
proj: | |
id: satellite | |
lat0: 33 | |
lon0: 15 | |
dist: 1.1 | |
up: 11 | |
layers: | |
- special: graticule | |
latitudes: [30,32,34,36,38,40,42,44,46,48,50] | |
longitudes: [5,7.5,10,12.5,15,17.5,20] |
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> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
padding: 14px; | |
} |
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
from psycopg2 import connect | |
from shapely.wkb import loads, dumps | |
from shapely.ops import linemerge | |
from osgeo import ogr | |
from osgeo.osr import SpatialReference | |
import os | |
db = connect('dbname=osm') | |
cur = db.cursor() |
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
from psycopg2 import connect | |
from shapely.wkb import loads, dumps | |
from shapely.ops import linemerge | |
from osgeo import ogr | |
from osgeo.osr import SpatialReference | |
import os | |
db = connect('dbname=osm-czech') | |
cur = db.cursor() | |
types = "'motorway'" |
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
# Very first draft of a Kartograph config generator for QGis | |
from qgis.core import * | |
import json | |
def hexcol(c): | |
return '#%02x%02x%02x' % (c.red(), c.green(), c.blue()) | |