Loading
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
{ | |
id: "8faf0917-1987-4ac6-bcc7-4fbf71d191f3", | |
type: "record.create", | |
owner_id: "00053caf-4b6e-4c86-88b6-64695895dffe", | |
data: { | |
status: null, | |
version: 1, | |
id: "7553fd44-78bb-41eb-a453-8b301ae5e52e", | |
form_id: "295eda4a-7795-4881-9f62-085a930b356e", | |
project_id: null, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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
#!/usr/bin/env ruby | |
list = File.read(ARGV[0]) | |
dir = ARGV[1] | |
list.each_line do |file| | |
file.chomp! | |
# puts "cp #{file}.jpg #{dir}" | |
`cp #{file}.jpg #{dir}` | |
end |
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
i$ cascadenik-compile.py style.mml > style.xml | |
Traceback (most recent call last): | |
File "/usr/local/bin/cascadenik-compile.py", line 5, in <module> | |
pkg_resources.run_script('cascadenik==0.1.0', 'cascadenik-compile.py') | |
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in run_script | |
self.require(requires)[0].run_script(script_name, ns) | |
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1194, in run_script | |
execfile(script_filename, namespace, namespace) | |
File "/usr/local/lib/python2.6/dist-packages/cascadenik-0.1.0-py2.6.egg/EGG-INFO/scripts/cascadenik-compile.py", line 30, in <module> | |
sys.exit(main(layersfile, options.directory, options.move_local_files)) |
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 easy_install PIL | |
Searching for PIL | |
Reading http://pypi.python.org/simple/PIL/ | |
Reading http://www.pythonware.com/products/pil | |
Reading http://effbot.org/zone/pil-changes-115.htm | |
Reading http://effbot.org/downloads/#Imaging | |
Best match: PIL 1.1.7 | |
Downloading http://effbot.org/media/downloads/PIL-1.1.7.tar.gz | |
Processing PIL-1.1.7.tar.gz | |
Running PIL-1.1.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Ye6Yk4/PIL-1.1.7/egg-dist-tmp-2B8pzz |
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
cascadenik-compile.py scratch.mml > test.xml | |
Traceback (most recent call last): | |
File "/usr/local/bin/cascadenik-compile.py", line 109, in <module> | |
sys.exit(main(layersfile, **options.__dict__)) | |
File "/usr/local/bin/cascadenik-compile.py", line 41, in main | |
doc.write(f) | |
AttributeError: _ElementInterface instance has no attribute 'write' |
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-get install -y subversion git-core python-setuptools \ | |
build-essential wget curl vim unzip g++ cpp mercurial \ | |
libboost1.40-dev libboost-filesystem1.40-dev libgeos-dev libpq-dev \ | |
libboost-iostreams1.40-dev libboost-program-options1.40-dev \ | |
libboost-python1.40-dev libboost-regex1.40-dev \ | |
libboost-thread1.40-dev libxml2 libxml2-dev python-gdal \ | |
libfreetype6 libfreetype6-dev libjpeg62 libjpeg62-dev \ | |
libltdl7 libltdl-dev libpng12-0 libpng12-dev libicu-dev \ | |
libgeotiff-dev libtiff4 libtiff4-dev libtiffxx0c2 \ | |
libcairo2 libcairo2-dev python-cairo python-cairo-dev \ |
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
# Mapnik tools | |
mkdir -p ~/bin | |
cd ~/bin | |
svn export http://svn.openstreetmap.org/applications/rendering/mapnik | |
cd mapnik | |
# osm2pgsql | |
cd ~/bin | |
svn co http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/ | |
cd osm2pgsql |
OlderNewer