- gdal (and python bindings)
- cartodb up and running
- it would be nice to use ghost tables branch (CDB-2572) so it can get tables into the dashboard. requires resque to be running also.
# Download shaded relief from natural earth (http://www.naturalearthdata.com/downloads/10m-raster-data/10m-shaded-relief/)
make prepare
# add the table and overviews
./add_raster.sh example/SR_HR.tif `DBUSER` `DBNAME`
${USER} and publicuser requires read permission on raster related views:
GRANT SELECT ON TABLE public.raster_overviews TO publicuser;
GRANT SELECT ON TABLE public.raster_columns TO publicuser;
overviews = filter(lambda x: x <= 1000, overviews)
that 1000 is because the tool doesn't allows values bigger than 1k