[Xastir] Unable to open GeoTiff.

Tom Russo russo at bogodyn.org
Wed Feb 23 10:47:23 EST 2011


On Tue, Feb 22, 2011 at 10:32:01PM -0800, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
> On Tue, 22 Feb 2011, jd at jdwallace.com wrote:
> 
> > I've built Xastir 2.0.1 on Ubuntu 10.10 using the install steps from http://www.xastir.org/wiki/HowTo:Ubuntu_10.10.
> >
> > So far the only offline maps I've been able to display are Green Trails maps that were converted from Ozi to .geo. I would really like to use the DRG maps from http://rocky.ess.washington.edu/data/raster/drg/index.html but I am having no luck.
> >
> > Should these maps work? Is any processing required to get them into a usable format?
> 
> As long as they are the raw USGS DRG's, and not the MrSID-compressed versions, you should be fine.  You'll need the .tif and the .fgd files only.
> 
> For this you'll need tif, geotiff, and proj4 libraries, installed in the proper order (geotiff must be built with proj4 support).
> 
> I don't know if the Ubuntu instructions give you a working geotiff installation.  I'm using OpenSuSE.  Check the "INSTALL" file that comes with Xastir for more details on the library installs for geotiff.

Yes, the Ubuntu wiki instructions give working GeoTIFF, as well as properly
built proj.4 libraries (because the official debian and ubuntu repositories 
continue to provide a broken one). 

The images on that site are all regular GeoTIFF images with no proprietary
compression, and should work in Xastir.  

The one I downloaded and checked had no associated FGD file that Xastir uses 
for collar clipping, but because the standard USGS naming scheme has been 
retained, one could generate the four lines of the FGD file that Xastir 
actually cares about using the mapfgd.pl script (look in /usr/local/lib/xastir/ 
for it).  Without the FGD file you'll not get the map collars clipped off, but 
the files should still display.

What problem are you having?

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
 "The truth will set you free, but first it will piss you off."





More information about the Xastir mailing list