Using the Custom Scenery TerraGear Toolset: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 157: Line 157:


Point to it by setting either $FG_SCENERY or by using the --fg-scenery command-line option to fgfs, and give your new scenery a try!
Point to it by setting either $FG_SCENERY or by using the --fg-scenery command-line option to fgfs, and give your new scenery a try!
= Modifying the Scenery =
One of the interesting things that you can do with TerraGear is try out new scenery data source, or modify the scenery data yourself. Here are some pointers:
* The vmap0 landmass information is not very accurate. There is a more accurate coastline dataset called GSHHS. However, this doesn't match our scenery at the moment, so is not used. At present, if you want to try it, you will have to download the GSHHS dataset (take version 1.2) and run the gshhs command to convert it to TerraGear. The shapefile in the mapserver won't work as it is line data rather than a polygon.
* The maprserver includes information form the Open Streetmap project. You can use these shapefiles directly instead of the v0_road shapefile. They are quite neat, as they should roundabouts and freeways very clearly.
* You can use a GIS editor such as QGIS or GRASS to edit the shapefiles, for example to add missing roads or villages.


= Troubleshooting =
= Troubleshooting =
Line 169: Line 176:
** You haven't run shape-decode on the v0_landmass shapefile as Default  
** You haven't run shape-decode on the v0_landmass shapefile as Default  
** You didn't include the correct directories in fgfs-construct.
** You didn't include the correct directories in fgfs-construct.
* My scenery includes data I removed from the shapefiles. If you are editing shapefiles, you should delete the appropriate work subdirectory before running shape-decode. Otherwise the changes will be in addition to those already present.