Re: Airports keep being placed at sea level
Frederic Bouvier <[email protected]> Sun, 07 May 2006 00:05:51 +0200
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
Selon Chris Metzler :
>
> This discussion started on flightgear-devel but it belongs over here.
> CC'ing Ralf directly because it's been a few weeks and this could get
> lost a few pages back in a threading mailreader.
>
>
> On Tue, 18 Apr 2006 16:27:35 +0200
> Ralf Gerlich wrote:
> > Chris Metzler schrieb:
> >>
> >> The next problem (which I'll post over there): the cutouts for the
> >> airports place the airports at sea level.
> >>
> >> http://www.speakeasy.org/~cmetzler/KSDF_pit.jpg
> >>
> >
> > This looks as if you ran hgtchop after genapts. Maybe it's even
> > necessary to run terrafit before genapts (hgtchop, terrafit, genapts,
> > fgfs-construct).
>
> I hadn't been back to look at this in a while because it wasn't
> urgent to me -- I was able to do what I needed to do (check
> airport layouts generated by TaxiDraw) without fixing this problem.
>
> But I just built this tile again, using the procedure described in
>
>
http://cvs.terragear.org/cgi-bin/viewcvs/viewcvs.cgi/*checkout*/www/docs/sc=
enery-tutorial/fg-scenery-tutorial.html?rev=3D1.3&cvsroot=3DTerraGear-0.0
>
> which is *almost exactly* as you say above: hgtchop, then terrafit, then
> genapts, then tgvpf, then fgfs-tools-server/fgfs-tools-client to build
> the tile. Everything is the same except fgfs-tools-server/fgfs-tools-cli=
ent
> instead of fgfs-construct, which you refer to but which I don't see in the
> docs. Anyway, proceeding as I do above, once again the airports are at
> sea level, in pits compared to the surrounding terrain.
>
> Are the docs out of date, and fgfs-construct is what I should be using?
> If so, are there docs for that I haven't yet seen? What's the syntax?
You should make sure that genapts find your terrain directories, otherwise =
it
will put the airport at see level. Maybe you named the directory where you =
put
the result of terrafit the wrong way. Currently recognized directory names =
are
:
// Please update the help near the top of this file if you update this =
list.
elev_src.push_back( "SRTM2-Africa-3" );
elev_src.push_back( "SRTM2-Australia-3" );
elev_src.push_back( "SRTM2-Eurasia-3" );
elev_src.push_back( "SRTM2-Islands-3" );
elev_src.push_back( "SRTM2-North_America-3" );
elev_src.push_back( "SRTM2-South_America-3" );
elev_src.push_back( "DEM-USGS-3" );
elev_src.push_back( "SRTM-30" );
( excerpt from
http://cvs.flightgear.org/cgi-bin/viewcvs/viewcvs.cgi/source/src/Airports/G=
enAirports/main.cxx?rev=3D1.37&cvsroot=3DTerraGear-0.0&content-type=3Dtext/=
vnd.viewcvs-markup
)
-Fred
--
Fr=E9d=E9ric Bouvier
http://frfoto.free.fr Photo gallery - album photo
http://www.fotolia.fr/p/2278 Other photo gallery
http://fgsd.sourceforge.net/ FlightGear Scenery Designer
_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d