• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

NAD 83 imagery

dave hoeffgen

Resource contributor
Messages
1,439
Country
germany
Hi,
I recently downoladed some aerial imagery from the USGS servers abd resampled it to create photo scenery.
As the source imagery is projected in NAD 83 format, not in WGS 84 there is some noticable distortion in the result.

Is there a tool to convert/reproject the image?

Thanks in advance for any help,
Dave
 
Hi Dave:

AFAIK, MSFS / P3D Resample would not have accepted the aerial imagery unless it was already "projected" to WGS84. :scratchch


Assuming you downloaded in GeoTIFF format, have you tried to use the aerial imagery in SBuilderX via the "Add Map From Disk" feature, which may be able to internally re-project the file(s) to Geographic (Lat-Lon) and WGS84 ...for use with MSFS / P3D Resample ? :idea:

http://www.ptsim.com/forum/viewtopic.php?p=6606


Hope this helps ! :)

GaryGB
 
Last edited:
I guess I have to hit the GeoTiff button in the calibrate panel?

That's what I tried first but it just prompted a GDI+ error message and then the image was completely misaligned.

Then also SBX did not let me compile.
 
You need to re-project it, use osgeo4w.

gdalwarp -of GTiff -co "INTERLEAVE=PIXEL" -t_srs "+proj=latlong +datum=WGS84" -r cubic "Original.tif" "Original_WGS84.tif"
 
FYI: Quantum GIS (aka "QGIS") {freeware} has a GUI which offers integration with many optional plugins:

https://docs.qgis.org/2.6/en/docs/index.html

https://docs.qgis.org/2.6/en/docs/user_manual/plugins/plugins_index.html


The QGIS GUI can be used to perform the above CMD shell translation / re-projection using the "GDAL Tools plugin":

https://docs.qgis.org/2.2/en/docs/user_manual/plugins/plugins_gdaltools.html


"The GDAL Tools plugin offers a GUI to the collection of tools in the Geospatial Data Abstraction Library, http://gdal.osgeo.org . These are raster management tools to query, re-project, warp and merge a wide variety of raster formats. Also included are tools to create a contour (vector) layer, or a shaded relief from a raster DEM, and to make a VRT (Virtual Raster Tile in XML format) from a collection of one or more raster files.

These tools are available when the plugin is installed and activated."



Hope this helps make such procedures easier for those who do not use other GUI-based GIS utilities such as ex: Global Mapper {payware}. :)


PS: For future reference with use of SBuilderX: :idea:

https://www.google.com/#q=SBuilderX GDI+ error



Also, try using the newest SBuilderX version 3.14 (32-bit or 64-bit) from: ;)

http://www.fsdeveloper.com/forum/threads/sbuilderx.5596/

GaryGB
 
Last edited:
You need to re-project it, use osgeo4w.

gdalwarp -of GTiff -co "INTERLEAVE=PIXEL" -t_srs "+proj=latlong +datum=WGS84" -r cubic "Original.tif" "Original_WGS84.tif"

Sorry for the late reply but now that I finally found the time to give it a try it worked nicely. Thanks a lot for this information. :)
 
To add on to this thread:

I have approximately 15 .jp2 files from the USGS that I need reprojected to WGS84. How would I go about writing a batch file to reproject all of the files without having to do each one by one?

Thanks
 
To add on to this thread:

I have approximately 15 .jp2 files from the USGS that I need reprojected to WGS84. How would I go about writing a batch file for GDAL to reproject all of the files without having to do each one by one?

Thanks
 
I don't know. Reprojecting them in the aforementioned way doesn't work. Perhaps pm Arno to draw his attention here. I bet he has an inkling.
 
Back
Top