User Tools

Site Tools


sdk:scenery_creation2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
sdk:scenery_creation2 [2017/07/13 04:04] – created jfsdk:scenery_creation2 [2017/07/13 19:51] jf
Line 1: Line 1:
 =====Using USGS Imagery with GeoConvert===== =====Using USGS Imagery with GeoConvert=====
  
-COMING SOON+====Welcome==== 
 + 
 +Welcome to the GeoConvert tool tutorial for using USGS Imagery. In this tutorial you will learn the steps to add your very own photo-real scenery to Aerofly FS2 so that you can fly over your own special areas of your choice. Please understand that this tutorial may change pending any changes to the tool and its processes. More will also be added to the tutorial as further features are added. We hope that you enjoy your newly realized freedom. Happy Flying! 
 + 
 +**This tool is not a simple plug and play application, you may need some practice to be successful. Please post any issues that you may be having onto the forum where the community can assist you.** 
 + 
 +====Prerequisites==== 
 + 
 +   * **Aerofly FS2 simulator - Must be installed** 
 +   * **Aerofly FS2 SDK package - Download it from: [[https://www.aerofly.com/aerofly_fs_2/sdk/|here]]** 
 +   * **Download Manager and the instructions for the USGS imagery - Download it from: [[https://viewer.nationalmap.gov/uget-instructions/index.html|here]]** 
 +   * **Irfanview 64 (for converting .jp2 files) - Download it from: [[http://www.irfanview.com/|here]]** 
 + 
 +====The USGS Viewer==== 
 + 
 +[[https://viewer.nationalmap.gov/advanced-viewer/]] 
 + 
 +{{:wiki:viewer.jpg?700|}} 
 + 
 +   * Select the menu: Link to Data Download 
 + 
 +{{:wiki:select_menu.jpg?700|}} 
 + 
 +   * Zoom into a small area. Press the button Box/Point and draw a rectangle. 
 + 
 +{{:wiki:zoom_window.jpg?600|}} 
 + 
 +   * Select Imagery – 1meter (NAIP) and press the button "find products" 
 + 
 +{{:wiki:find_products.jpg?700|}} 
 + 
 +   * The Viewer then presents the result of the search 
 + 
 +{{:wiki:results.jpg?700|}} 
 + 
 +   * Select Show Footprints to see the image frames 
 + 
 +{{:wiki:show_frames.jpg?700|}} 
 + 
 +You can now adjust your frame by selecting one of the edges, press the button ‘Return to Search’ and repeat the search again. If your area fits your requirements, press the button "+Page"
 + 
 +{{:wiki:return.jpg?700|}} 
 + 
 +The resulting image list will be added to the cart. Now view the cart by pressing ‘View Cart’. 
 + 
 +{{:wiki:cart.jpg?600|}} 
 + 
 +Press the button Export URLs to text. 
 +Now start the **uGet Download Manager** and follow the USGS description. Import the list and the download starts automatically. The resulting images have the file format **.JP2**. 
 + 
 +====Batch conversion==== 
 + 
 +Batch conversion of **JP2** images into **TIF** (or BMP) file format, using freeware **Irfanview 64** (and plugins 64). 
 + 
 +   * Start Irfanview 64 
 +   * File – Batch Conversion/Rename 
 + 
 +{{:wiki:irfanview_icon.jpg?100|}} 
 +{{:wiki:batch_conversion.jpg?600|}} 
 + 
 +   * Select your directory 
 + 
 +{{:wiki:directory_select.jpg?700|}} 
 + 
 +   * Press the button 'add all' 
 + 
 +{{:wiki:add_all.jpg?700|}} 
 + 
 +   * Set Output format to **TIF** 
 +   * Set Options to **No Compression**, **Save** all pages from original image 
 + 
 +{{:wiki:tif.jpg?700|}} 
 +{{:wiki:options.jpg?400|}} 
 + 
 +   * Press button ‘Use current directory’ for result files 
 + 
 +{{:wiki:use_current.jpg?400|}} 
 + 
 +   * Press ‘Start Batch’ 
 + 
 +{{:wiki:start_batch.jpg?700|}} 
 + 
 +Irfanview now runs all conversions in the batch and returns the result as a text display. 
 + 
 +====Manually setup a coordinate file for the USGS image==== 
 + 
 +The USGS viewer offers Info/Metadata about the selected image. You can view and/or download the .metadata. It has the same name as the image file with the extension .XML 
 + 
 +{{:wiki:metadata.jpg?600|}} 
 + 
 +   * The file contains the corners of the image. 
 + 
 +{{:wiki:file.jpg?400|}} 
 + 
 +   * Additionally we need the pixel size of the current image 
 + 
 +{{:wiki:pixel_image.jpg?400|}} 
 + 
 +   * Now let’s calculate the data 
 + 
 +{{:wiki:calculate_data.jpg?500|}} 
 + 
 +   * This is the final .TFW file 
 + 
 +{{:wiki:final_tfw.jpg?400|}} 
 + 
 +|Line 1: The horizontal resolution degree/pixel                                                                 |  
 +|Line 2: Set to 0                                                                                               |  
 +|Line 3: Set to 0                                                                                               | 
 +|Line 4: The vertical resolution degree/pixel set to negative.                                                  |  
 +|Line 5: The longitude coordinate of the topleft corner Line 6: The latitude coordinate of the topleft corner   | 
 + 
 +====Setup the config-region.TMC and run the Geoconvert program==== 
 + 
 +Please refer to the other reference tutorials for finalizing your project. You can find these steps here: 
 + 
 +[[https://www.aerofly.com/aerofly_fs_2/dokuwiki/doku.php/sdk:scenery_creation#creating_editing_your_tmc_file|For setting up your TMC file]]  
 + 
 +[[https://www.aerofly.com/aerofly_fs_2/dokuwiki/doku.php/sdk:scenery_creation#run_the_aerofly_fs2_geoconvert_process| For running your Geoconvert Project]] 
  
    
sdk/scenery_creation2.txt · Last modified: 2020/05/10 17:55 by jh