Click the box titles below to expand:
How to's
XSLT
GOOGLE MAPS API
PHP
- PHP & Web Services — using SOAP to get meteorological data for a location
- PHP and Flickr accessing online photos through the phpFlickr class
Antelope
- Github, Git & contrib
- Antelope & Using amakelocal
- Antelope & Matlab time conversion
- Create an Antelope Mail Archive
- Adding new projects to the Antelope contrib area using CVS
Perl
Document Object Model (DOM)
UNIX
- Convert GE KML files for use with GMT
- Various snippets that make my life easier
- Using Subversion to version control web sites
Generic Mapping Tools (GMT)
Miscellaneous
Projects
Courses Taught
Latest Favorites
- Best of Vim tips
- Make your pages load faster by combining and compressing javascript and css files
- Creating Liquid Faux Columns
- Setting up SSL under Apache 2 on SuSE
- PHP editing with ViM
- Getting equal-height columns in a three-column layout
- Star html Selector Bug
- Reset MySQL root account permissions
- How to write UNIX man pages
- Son of Suckerfish Dropdowns
- Aidan's PHP Repository
- Adium IM client
- ShapeShifter
- Install wiki on an iBook
- Quirksmode
- PHP
- GD
- JpGraph
- Vim Text Editor
- Generic Mapping Tools (GMT)
Mac OS X
Web Development
Beta
How To :: Generic Mapping Tools Hints and Tips
If you are unaware of what GMT is then stop reading and visit the GMT homepage. In short GMT is what I always wanted when I was making maps as a graduate student. Although slightly esoteric (it is a map making tool after all, and cartography is a complex science, ask a cartographer or school teacher about Mercator projections!) it is probably the most useful coding I have ever learnt (excluding Vi and Vim of course!).
Bascially the most efficient way of coding in GMT is to write a series of GMT commands in a shell script. I use the tcsh shell, but bash and sh are just fine. Shell scripting is waaaaaayyyy beyond the scope of these tips, so please don't ask for help in writing shell scripts.
What follows are just some general tips (primarily to remind me!) in how to write efficient GMT scripts. I owe much of my initial GMT learning to my co-workers at UCSD, especially Jen Bowen and Debi Kilb. My acolyte period has been helped by Kris Walker and Kent Lindquist.