{{ message }}

Instantly share code, notes, and snippets.

# andrewharvey/generate-map-previews.sh

Created Dec 20, 2011
HTML pages for my dev/demo site.
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'm in my mid 20's, living in Sydney and having completed a bachelor of Science (Computer Science) degree at the University of New South Wales I am currently employed at a geospatial solution delivery company in a presales and solution delivery capacity.

I have an interest in the geospatial field, being involved in a collaborative community effort to build a free worldwide map; through the OpenStreetMap project, with a brief involvement in the fosm.org project.

I have an interest in cartography and the visualisation of geospatial data having produced a few special purpose maps.

Most of the development work I do these days resolves around front-end and back-end web development, with the odd Perl scripting and Debian based Linux sysadmin work.

I admire people who can give good presentations, so I'm always keen to give it a go myself, like I did when I gave my Sydney Georabble presentation.

I enjoy working with data (and have become quite familiar with ABS census data by building the asgs2pgsql and abs2pgsql tools).

I am supportive of free and open source software and free culture in general. I release source code for hobby projects I work on via github. I also contribute to Debian.

In my youth I wrote extensive guides to several high school subjects and licensed these under a Creative Commons license which still prove to be useful to others to date.

My current computing environment resolves around Debian, XMonad, Vim and the Dvorak keyboard layout. It took me quite a while to slowly piece together this setup and get used to the environment, but well worth the steep learning curve.

In my free time I like to explore the natural environment by bushwalking, cycling or visiting the beach. Sometimes I post photos from my explorations.

You can get in touch with me via email at andrewharvey4@gmail.com. I accept OpenGPG encrypted or signed email, but unfortunately I haven't met anyone offering to sign my key so I am not included in the web of trust.

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
 #!/bin/sh # dimensions of the preview images WIDTH=400 HEIGHT=200 # the spot we use for the OSMT preview OSMT_X=151.12508 OSMT_Y=-34.04459 OSMT_Z=16 # OSMT Overlay # https://gist.github.com/andrewharvey/1290744 mapnik_render_static_map.py \ --mapfile /usr/share/stylesheets/osmt.xml \ --centrex $OSMT_X \ --centrey$OSMT_Y \ --zoom $OSMT_Z \ --width$WIDTH \ --height $HEIGHT \ --output tianjara.net/img/osmt.png # AGRI Base for OSMT # https://gist.github.com/andrewharvey/3736925 tiles2staticmap.pl \ --lat$OSMT_Y \ --lon $OSMT_X \ --zoom$OSMT_Z \ --width $WIDTH \ --height$HEIGHT \ --tileBase http://agri.openstreetmap.org/{z}/{x}/{y}.png \ --output tianjara.net/img/agri-osmt.png convert -quality 85 tianjara.net/img/agri-osmt.png tianjara.net/img/agri-osmt.jpg rm -f tianjara.net/img/agri-osmt.png
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
 default : about-me.html about-me.html : about-me.html.header about-me.html.content about-me.html.footer cat $^ >$@ about-me.html.content : about-me.md markdown < $^ >$@ clean : rm -f about-me.html about-me.html.content
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)