[Xastir] data in .fgd file for geotiff map

Tom Russo russo at bogoflux.losalamos.nm.us
Tue Apr 6 17:01:50 EDT 2004


On Tue, Apr 06, 2004 at 02:59:08PM -0600, a Mr. Richard Feyler of Fort Lee, New Jersey <russo at bogoflux.losalamos.nm.us> writes 'Dear Rosanne Rosannadanna':
> On Tue, Apr 06, 2004 at 04:44:05PM -0400, a Mr. Richard Feyler of Fort Lee, New Jersey <wendell at adsi-m4.com> writes 'Dear Rosanne Rosannadanna':
> > I'm using FAA sectionals from
> >   http://aviationtoolbox.org/raw_data/FAA_sectionals/current/
> > which are (rather large) GeoTiff files.  I have them as maps to
> > xastir, and the longitude seems to be right on, but the latitude
> > seems to be about 1.4 minutes off.
[...]
> 
> > It looks nothing like what mapfgd.pl produced for the map, which
> > is
> >   1.5.1.1   WEST BOUNDING COORDINATE:  0.000000
> >   1.5.1.2   EAST BOUNDING COORDINATE:  0.125000
> >   1.5.1.3   NORTH BOUNDING COORDINATE:  0.000000
> >   1.5.1.4   SOUTH BOUNDING COORDINATE:  -0.125000
> > so I suppose it is something in this file that is incorrect.
[...]
> 
> If you replace the last field of each of these lines with the actual longitude
> and latitude of the bounding coordinates (where the map neatline is) then 
> as long as the geotif file has correct metadata in it Xastir should be able
> to strip out the map collar.
> 
> You might be able to read this information right off of the map collar.

Actually, the site you gave has all the information you need in the "htm" files
associated with each sectional.  Just pull the bounding coordinates out of the
metadata in that file.

-- 
Tom Russo    KM5VY     SAR502  DM64ux         http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://www.qsl.net/~km5vy/
 "It is inhumane in my opinion to force people who have a genuine
  medical need for coffee to wait in line behind people who apparently
  view it as some kind of recreational activity."  -- Dave Barry



More information about the Xastir mailing list