Like pgsql2shp, but for gists.