TerraSync by hand using SVN: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(add command to make new directory and fix urls for new terrasync server...)
(rewrite to tutorial style (we instead of you) and fix command line instructions)
 
(2 intermediate revisions by the same user not shown)
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 to store the scenery in and change into it:
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/where/to/store/the/Scenery
mkdir /path/to/store/the/Scenery
cd /path/where/to/store/the/Scenery</nowiki>
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</nowiki>


Then set up the local svn repository and download the Airports and Models:
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>
svn checkout --non-recursive http://ns334561.ip-5-196-65.eu:8888/trunk/data/Scenery/
cd /path/to/store/the/Scenery
svn update Scenery/Airports
svn update Objects/e000n40
svn update Scenery/Models
svn update Terrain/e000n40</nowiki>
svn update --non-recursive Scenery/Objects
svn update --non-recursive Scenery/Terrain</nowiki>


Finally you can get parts of the scenery using these commands:
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:
  <nowiki>
  <nowiki>
svn update Scenery/Objects/e000n40
cd /path/to/store/the/Scenery
svn update Scenery/Terrain/e000n40</nowiki>
svn update</nowiki>


To see what data is available, you can view the Flightgear TerraSync Server directory using [http://ns334561.ip-5-196-65.eu:8888/trunk/data/Scenery/ this] link.
To see what data is available, you can view the Flightgear TerraSync Server directory using [http://ns334561.ip-5-196-65.eu:8888/trunk/data/Scenery/ this] link.


[[Category:Scenery]]
[[Category:Scenery]]

Latest revision as of 16: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.