[gdal-dev] Quickly view satellite imagery directly in your terminal

Even Rouault even.rouault at spatialys.com
Thu Jul 7 04:49:32 PDT 2016


Le mercredi 06 juillet 2016 22:59:24, Dale Roberts a écrit :
> Dear developers, I thought people on this list might find my latest little
> tool entertaining and/or useful:
> 
> https://github.com/daleroberts/tv
> 
> ... and thank you for the great subsampling feature in GDAL 2. I've used it
> on a couple of different projects and it's fantastic.

Dale,

The concept is cool. It reminds me a bit of the MapServer easter-egg text format :
http://demo.mapserver.org/cgi-
bin/mapserv?map=/osgeo/mapserver/msautotest/world/world.map&service=WMS&request=GetMap&layers=WMS_TEST&VERSION=1.1.0&SRS=EPSG:4326&BBOX=-180,-90,180,90&FORMAT=image/txt
Except that MapServer text output is hard-coded. So if your utility was ported
as a GDAL driver, MapServer could have a real text output !!!

I tried tv on Ubuntu, but it seems that my terminal (gnome-terminal) is much less
capable as yours and the result is hardly readable. I did try the -unicodes 1 or 2 flag,
but with no better result. In your readme, you mention the hiptext utility and it gave
acceptable results (probably not ideal w.r.t. the potential of tv, as show in your
side-by-side comparisons). I also noticed that tv is quite slow compared to hiptext (even on very small rasters, like 20x20 pixels).

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list