Showing posts with label gdal. Show all posts
Showing posts with label gdal. Show all posts

Monday, July 9, 2012

Todd Park and Frank Warmerdam



A few weeks ago, I had the pleasure of seeing both Todd Park and Frank Warmerdam talk about their work. The contexts couldn't have been more different (Commonwealth Club for Mr. Park, GeoMeetup for Mr. Warmerdam), the crowds didn't have any crossover, and the topics were completely different, but I was struck by how both of them clearly love what they do and are willing to share their knowledge and interest broadly.

Todd Park talked about health data and a bunch of other stuff I wasn't familiar enough with to report here. What was clear was that he is very excited about working in technology in the federal government and is committed to making technology work for the US. He gave generously of his time, engaging with everyone who wanted to speak to him afterward, including myself. He told each person to email him and that he read his own email and would respond within 72 hours. I've encountered less important people for whom that is a challenge.

Frank Warmerdam talked at Geomeetup at Code for America in San Francisco. I arrived just a bit late due to sampling beer at City Beer Store, but in time to get a great seat to hear Frank talk about GDAL/OGR. I just started using GDAL to transform rasters for GeoData@UC Berkeley and became quickly enamored (enamoured?) of GDAL's straightforwardness and powerful capabilities. Coming from a desktop GUI environment, GDAL is awesome.

Mr. Warmerdam talked at length about GDAL/OGR, its history, capabilities, and future development. I was impressed, again, with his willingness to spend his time talking with what amounted to some clearly knowledgeable GDAL/OGR users and a number of fanboys, of which I had just become one. At one point, he wasn't able to open a web browser in OS X and waved his hands and claimed, "I don't know how to use this, I'm not technical!" Beyond not using non-Linux operating systems, Mr. Warmerdam was also extremely giving with regard to his time and answered every question the audience asked.

I'm thankful that I live in a place where people like this, who love what they do and want to share it, are interested in coming to talk. I hope I can put my fanboydom to good use in the near future and pay forward the same infectious enthusiasm and deep knowledge someday soon.

Sunday, June 10, 2012

My first 4 days with gdal



I'm new to using the command line to get things done. Last month, I installed Lubuntu and a very small ssd in a very old MacBook because I wanted to save money and I've read a few places online the best way to learn how to code (besides spending the time to learn how to do it) is to use Linux.

This past week at work, I spent most of my time attempting to translate Esri to OGC (in Windows). I realize I'm no spatial Neil Armstrong, but nearly all of my in-depth GIS experience has been in the Esri context. This was the first GIS project I started where I had no idea where to begin (or even what the issues might be) and then, once I did start, if I would be able to successfully finish. Scary stuff!

I'm working on a project to scan, georeference, and serve over 1,100 historical maps of the San Francisco Bay Area. I need to create a workflow that interns and library student employees can learn and improve upon. Here's how I solved the problem of Esri not playing nicely with others:


  1. Georeference the scanned maps in ArcMap (the base maps can't be beat)
  2. Make sure to use WGS84 for the spatial reference; reproject raster tool for those that aren't
  3. Export the newly georeferenced map as a tiff file with world file (might need to find some more horsepower for a cubic transformation)
  4. Move the files over to gdal to create a real geotiff: gdal_translate -of GTiff -a_srs EPSG:4326 G4362_S223_1914_L3.tif G4362_S223_1914_L3gdal.tif
  5. Load the file into the Geoserver data directory, publish, then move on to create metadata
It took me faaaaar too long to realize step 2 was the key. Now that I've taken that one small step for (a) man, I'm hoping to get a real workflow together starting with a paper map and ending up with a georeferenced raster in GeoData@UC Berkeley.