alexis bory | 9 Apr 2007 01:32

Broken link in fg-scenery-tutorial.html

Hi,

In the fg-scenery-tutorial.html on CVS,
http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/www/docs/scenery-tutorial/fg-scenery-tutorial.html?revision=1.3&root=TerraGear-0.0

in chapter 3.1.2 "Preparing high-res SRTM Elevation Data for the US",

there is a broken link to STRM datas:
ftp://edcsgs9.cr.usgs.gov/pub/data/srtm/United_States_1arcsec/1arcsec

Some levels up, there is a readme pointing instead to
ftp://e0mss21u.ecs.nasa.gov/

where there is no STRM anymore, and here ends the track :(

I've found STRM datas here:
ftp://e0srp01u.ecs.nasa.gov/srtm/
But I can't certify those datas are OK for Terragear.

Hope it helps,

Alexis

_______________________________________________
Terragear-devel mailing list
Terragear-devel <at> flightgear.org
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

(Continue reading)

alexis bory | 9 Apr 2007 01:18

Anyone successfully used hgtchop on AMD64/64-bit?

Chris Metzler wrote one year ago... Apr 8 2006

 > I am completely out of ideas, so now I'm wondering if it's some sort
 > of porting issue.  Has anyone successfully used hgtchop in 64-bit
 > mode?

Well I have some sort of weird result when hgtchoping STRM1 files
I fetched here:
    ftp://e0srp01u.ecs.nasa.gov/srtm/version2/SRTM1/Region_01/
    (these files do not look like ASCII files at all)

Here after is the console output. And there is no output as expected
in the work dir.

As Chris I'm running 64 bit.

Thanks for your help,

Alexis

alexis <at> linear:~/fgfs/src-Scenery$ for i in data/srtm-1-US/N*.hgt.zip; do 
hgtchop 1 $i work/SRTM-United_States-1/; done
Extracting data/srtm-1-US/N*.hgt.zip to /tmp
unzip:  cannot find or open data/srtm-1-US/N*.hgt, 
data/srtm-1-US/N*.hgt.zip or data/srtm-1-US/N*.hgt.ZIP.

No zipfiles found.
Proceeding with /tmp/N*.hgt
Loading HGT data file: /tmp/N*.hgt
ERROR: opening /tmp/N*.hgt or /tmp/N*.hgt/.gzfor reading!
(Continue reading)

alexis bory | 1 Feb 2007 01:35

new designed KNID airport lower than the current one

Hi,

I designed new buildings for KNID, then I wanted to have the correct 
taxiways and I used taxidraw.
Before submitting this work I decided to try the new apt in the scenery, 
so I used Terragear with DEM-30 and v0noa.

The result is average +/- 6m lower than the elevation written in the 
airport diagram and also than the previous fgfs airport.

Was DEM-30 the good source for elevations ?

Is there a known problem with airport elevations ?

Now the VOR and TACAN stations are also a few meters above the ground.
Well, the whole airfield is rendered on a slight slope (that's nice and 
rather realistic) but the main airfield elevation, 2283 ft at RW3 
beginning, is far away from the center.
I suppose the navaids model are positioned at this elevation (which is 
the same in apt.dat.gz and the Airport Diagram).

Thanks for your comments,

Alexis

--

Here the elevation I mesured from the new fgfs KNID compared with those 
from the Airport Diagram
http://flightaware.com/resources/airport/NID/APD/AIRPORT+DIAGRAM/pdf
(Continue reading)

Torsten Dreyer | 27 Jan 2007 10:21
Picon

making --min-lat et al. work in genapts

Hi

genapts has switches --min-lat, --max-lat, --min-lon and --max-lon that are 
accepted but ignored. The attached main.cxx (that belongs to the GenAirports 
subdirectory) now adds the functionality.
It calculates the average latitude and longitude of all taxiways and runways 
for the airport in progress and checks if these fall within the min/max args. 
Code is mostly stolen from buidl_airport() in build.cxx...

Seems to be working here. And makes life a little easier when working on a 
small area or single tile.

Sorry for not posting a cvs diff - my cvs access is somehow broken :-(

Enjoy - Torsten

Attachment (main.cxx): text/x-csrc, 17 KiB
_______________________________________________
Terragear-devel mailing list
Terragear-devel <at> flightgear.org
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d
alexis bory | 26 Jan 2007 23:19

raw2ascii looped while reading the dem30 header file

Dear TerraGear guru,

On my plateforme (Linux 2.6.15-27-amd64-generic with Ubuntu Dapper) 
raw2ascii enter a loop while reading the dem30 header file.

Whithout understanding any C++ character handling, I just modified an 
easy while condition in 
TerraGear-0.0/source/src/Prep/DemRaw2ascii/rawdem.c and it worked fine.

Here, rawReadDemHdr returned i = 1 after the last consistant line.

Following is a patch for it.

Cheers,

Alexis

Index: rawdem.c
===================================================================
RCS file: /var/cvs/TerraGear-0.0/source/src/Prep/DemRaw2ascii/rawdem.c,v
retrieving revision 1.11
diff -u -p -r1.11 rawdem.c
--- rawdem.c    19 Nov 2004 22:25:51 -0000      1.11
+++ rawdem.c    26 Jan 2007 20:28:32 -0000
 <at>  <at>  -98,7 +98,7  <at>  <at>  void rawReadDemHdr( fgRAWDEM *raw, char
     raw->big_endian = 1;

     /* process each line */
-    while ( (reads(fileno(hdr), line, 256) != 0) ) {
+    while ( (reads(fileno(hdr), line, 256) > 1) ) {
(Continue reading)

alexis bory | 26 Jan 2007 23:16

problem compiling genapts

Hi,

genapts doesn't compile here, I've got newmat10 installed.

version gcc 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Linux 2.6.15-27-amd64-generic #1 SMP PREEMPT Fri Dec 8 17:50:54 UTC 2006 
x86_64 GNU/Linux

any idea about that ?

Thanks,
Alexis

--
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. 
-I../../../src -I../../../src/Lib -I../../../src/BuildTiles    -g -O2 
-MT apt_surface.o -MD -MP -MF ".deps/apt_surface.Tpo" -c -o 
apt_surface.o apt_surface.cxx; \
        then mv -f ".deps/apt_surface.Tpo" ".deps/apt_surface.Po"; else 
rm -f ".deps/apt_surface.Tpo"; exit 1; fi
apt_surface.cxx: In function «ColumnVector qr_method(Real*, Real*, 
Real*, Real*, Real*, Real*, Real*, Real*, Real*, Real*, Real*, Real*, 
Real*, Real*, Real*, Real*, int, int)»:
apt_surface.cxx:319: erreur: «class Matrix» has no member named «column»
apt_surface.cxx:320: erreur: «class Matrix» has no member named «column»
apt_surface.cxx:321: erreur: «class Matrix» has no member named «column»
apt_surface.cxx:322: erreur: «class Matrix» has no member named «column»
apt_surface.cxx:323: erreur: «class Matrix» has no member named «column»
apt_surface.cxx:324: erreur: «class Matrix» has no member named «column»
apt_surface.cxx:325: erreur: «class Matrix» has no member named «column»
(Continue reading)

Craig Benbow | 24 Dec 2006 11:05

CVS compile problems

Current CVS version will not compile:

coverage.hxx:54: error: extra qualification ‘VpfCoverage::’ on member
‘VpfCoverage’

remove the VpfCoverage:: and thats fixed.

Now I'm getting:

Making all in GenAirports
make[3]: Entering directory
`/home/benbowc/Downloads/TerraGear/source/src/Airports/GenAirports'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../..
-I../../../src -I../../../src/Lib -I../. ./../src/BuildTiles
-I/usr/X11R6/include -g -O2 -MT apt_surface.o -MD -MP -MF
".deps/apt_surface.Tpo" - c -o apt_surface.o apt_surface.cxx; \
then mv -f ".deps/apt_surface.Tpo" ".deps/apt_surface.Po"; else rm -f
".deps/apt_surface.Tpo"; exit 1; fi
apt_surface.cxx: In function ‘ColumnVector qr_method(Real*, Real*,
Real*, Real*, Real*, Real*, Real*, Rea l*, Real*, Real*, Real*, Real*,
Real*, Real*, Real*, Real*, int, int)’:
apt_surface.cxx:319: error: ‘class Matrix’ has no member named ‘column’
apt_surface.cxx:320: error: ‘class Matrix’ has no member named ‘column’
apt_surface.cxx:321: error: ‘class Matrix’ has no member named ‘column’
apt_surface.cxx:322: error: ‘class Matrix’ has no member named ‘column’
apt_surface.cxx:323: error: ‘class Matrix’ has no member named ‘column’
apt_surface.cxx:324: error: ‘class Matrix’ has no member named ‘column’
apt_surface.cxx:325: error: ‘class Matrix’ has no member named ‘column’
apt_surface.cxx:326: error: ‘class Matrix’ has no member named ‘column’
apt_surface.cxx:327: error: ‘class Matrix’ has no member named ‘column’
(Continue reading)

Marc Frajola | 5 Jul 2006 21:34

Any ideas how to fix problem when running genapts?


I am a programmer and multiengine/instrument pilot, have been working
with FlightGear for many months, and would like to contribute improved
scenery for some airports in the US. I have already modeled some
objects using AC3D and successfully placed them, but I now find that I
need to add/move taxiways and otherwise make the type of changes such
that I must obviously run terragear to regenerate scenery to complete
my project.

I'm seeing the following error when I run genapts:

Internal error in segmentintersection():
  Topological inconsistency after splitting a segment.
  Please report this bug to jrs <at> cs.cmu.edu
  Include the message above, your input data set, and the exact
    command line you used to run Triangle.

The last full screen worth of data leading up to the error is enclosed,
below. It appears that genapts is choking on something to do with the
airport KAID. Changing the longitude/latitude bounding box to genapts
does not help, I still get the error on KAID no matter what bounding
box I choose.

I sent a bug report to the address requested by the error message, and
have not heard anything back from the author regarding this problem.

I took the CVS snapshot of terragear source as of July 1 2006. The OS
I'm using is FreeBSD 6.0-RELEASE. I have GPC and newmat installed, and
have removed -O2 optimization from the TriangleJRS directory and
applied a patch to SimGear's newbucket.hxx as recommended by:
(Continue reading)

Chris Metzler | 26 May 2006 06:28
X-Face
Favicon

genapts not respecting taxiway order in apt.dat in overlaying?


Hi folks.  My understanding, from TaxiDraw's tutorial, was that taxiways
were placed by genapts in reverse of their order in the list for an airport,
so that if taxiway A came before taxiway B in the list, and they overlapped,
taxiway A would sit on top of taxiway B.  And for the most part, that's
exactly what I see.  But occasionally I see situations like:

http://www.speakeasy.org/~cmetzler/odd_genapts_layout.jpg

In the upper left corner is TaxiDraw showing this intersection of
taxiways and aprons, in "ordering preview" mode, so one can see what
should be sitting on top of what.  In the lower right corner is what
I got out of TerraGear, which is pretty messed up in comparison.

If there's something I'm missing or doing wrong, any suggestions
on how to fix this would be greatly appreciated.

Thanks much,

-c

--

-- 
Chris Metzler			cmetzler <at> speakeasy.snip-me.net
		(remove "snip-me." to email)

"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear
_______________________________________________
(Continue reading)

Chris Metzler | 18 Apr 2006 04:33
X-Face
Favicon

CVS server problem?


stax:~/Projects/TerraGear/source-597> cvs update -dP
? build.out
? src/Prep/DemChop/fillvoids
? src/Prep/Tower/Makefile
? src/Prep/Tower/Makefile.in
cvs update: Updating .
cvs update: Updating src
cvs update: Updating src/Airports
cvs update: Updating src/Airports/GenAirports
cvs update: Updating src/Airports/Utils
cvs update: Updating src/Airspace
cvs update: Updating src/Airspace/support_files
cvs update: failed to create lock directory for
`/var/cvs/TerraGear-0.0/source/src/Airspace/support_files'
(/var/cvs/TerraGear-0.0/source/src/Airspace/support_files#cvs.lock): Permission denied
cvs update: failed to obtain dir lock in repository `/var/cvs/TerraGear-0.0/source/src/Airspace/support_files'
cvs [update aborted]: read lock failed - giving up

-c

--

-- 
Chris Metzler			cmetzler <at> speakeasy.snip-me.net
		(remove "snip-me." to email)

"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear
_______________________________________________
(Continue reading)

Chris Metzler | 8 Apr 2006 16:55
X-Face
Favicon

Anyone successfully used hgtchop on AMD64/64-bit?


I am completely out of ideas, so now I'm wondering if it's some sort of
porting issue.  Has anyone successfully used hgtchop in 64-bit mode?

Thanks,

-c

--

-- 
Chris Metzler			cmetzler <at> speakeasy.snip-me.net
		(remove "snip-me." to email)

"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear
_______________________________________________
Terragear-devel mailing list
Terragear-devel <at> flightgear.org
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Gmane