Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "TerraSync by hand using SVN"

From FlightGear wiki
Jump to: navigation, search
(minor grammar fix and capitalize SVN...)
(rewrite to tutorial style (we instead of you) and fix command line instructions)
 
Line 3: Line 3:
 
If you want to manually download FlightGear World Scenery 2.0 from the TerraSync repository, you can do so by using the command line subversion client.
 
If you want to manually download FlightGear World Scenery 2.0 from the TerraSync repository, you can do so by using the command line subversion client.
  
First of all you have to make the directory where you want to store the scenery and change into it. Then set up the local SVN repository and download the Airports and Models
+
First of all we have to make the directory where you want to store the scenery and change into it. Then set up the local SVN repository to hold everything. To do this we need to check the URL you need to use. We'll grab that information from the FlightGear scenery server, pull the URL out of it and use that URL in the SVN command line to set up the base storage area. Once that is finished we can download the Airports and Models directories. To complete this task, we will set up the Objects and Terrain directories to hold that scenery data as you request it.
  
 
  <nowiki>
 
  <nowiki>
 
mkdir /path/to/store/the/Scenery
 
mkdir /path/to/store/the/Scenery
 
cd /path/to/store/the/Scenery
 
cd /path/to/store/the/Scenery
svn checkout --non-recursive http://ns334561.ip-5-196-65.eu:8888/trunk/data/Scenery/ .  [NOTE: make sure you get the trailing dot!]
+
wget http://scenery.flightgear.org/svn-server -O svn-server
 +
cat svn-server
 +
svn checkout --non-recursive {the full URL from the above line's output} .  [NOTE: make sure you get/use the trailing dot!]
 
svn update Airports
 
svn update Airports
 
svn update Models
 
svn update Models
Line 14: Line 16:
 
svn update --non-recursive Terrain</nowiki>
 
svn update --non-recursive Terrain</nowiki>
  
Finally you can get parts of the scenery using these commands:
+
To get parts of the scenery, use commands like these. The directory "e000n40" in the SVN lines is a 10x10 degree tile of the world.
 
  <nowiki>
 
  <nowiki>
 +
cd /path/to/store/the/Scenery
 
svn update Objects/e000n40
 
svn update Objects/e000n40
 
svn update Terrain/e000n40</nowiki>
 
svn update Terrain/e000n40</nowiki>
  
The main thing is to be in the directory you created when you use these commands.
+
The main thing to remember is to be in the directory you created when you use these commands.
  
Once you have what you want, you can easily update it at any time by using the following commands:
+
Once you have the scenery you want to use, you can easily update it at any time by using the following commands:
 
  <nowiki>
 
  <nowiki>
 
cd /path/to/store/the/Scenery
 
cd /path/to/store/the/Scenery

Latest revision as of 11:16, 21 April 2016

This article or section contains out-of-date information

Please help improve this article by updating it. There may be additional information on the talk page.

If you want to manually download FlightGear World Scenery 2.0 from the TerraSync repository, you can do so by using the command line subversion client.

First of all we have to make the directory where you want to store the scenery and change into it. Then set up the local SVN repository to hold everything. To do this we need to check the URL you need to use. We'll grab that information from the FlightGear scenery server, pull the URL out of it and use that URL in the SVN command line to set up the base storage area. Once that is finished we can download the Airports and Models directories. To complete this task, we will set up the Objects and Terrain directories to hold that scenery data as you request it.

mkdir /path/to/store/the/Scenery
cd /path/to/store/the/Scenery
wget http://scenery.flightgear.org/svn-server -O svn-server
cat svn-server
svn checkout --non-recursive {the full URL from the above line's output} .  [NOTE: make sure you get/use the trailing dot!]
svn update Airports
svn update Models
svn update --non-recursive Objects
svn update --non-recursive Terrain

To get parts of the scenery, use commands like these. The directory "e000n40" in the SVN lines is a 10x10 degree tile of the world.

cd /path/to/store/the/Scenery
svn update Objects/e000n40
svn update Terrain/e000n40

The main thing to remember is to be in the directory you created when you use these commands.

Once you have the scenery you want to use, you can easily update it at any time by using the following commands:

cd /path/to/store/the/Scenery
svn update

To see what data is available, you can view the Flightgear TerraSync Server directory using this link.