• 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.

geoTIFF help

Messages
18
Country
us-arkansas
Ok I am having some problems with the geotiffs. I have read every post on converting NAD83 to WGS84 but none of them work. I have access to ArcGIS but I don't want to have to use it because it is at my school. So is there anyway of doing this without using GeoTIff Tool GUI which does not do what I need?
 
Messages
558
Country
newzealand
Why not ArcGIS????

View> Data Frame Properties> Coordinate system tab

Then select WGS84 from the Predefined>Geographic Coordinate Systems>World> folder

Then click on the Transformations... button and set the relevant transformation. ( I need to use a custom transformation as ESRI got the WGS84 - NZMG conversion wrong)

Click OK to accept all changes- Arc will now reproject your images 'on the fly'

Then use File > Export Map from within the Data view to export the image as a Geotiff (tick the 'include geotiff tags' box)

Tim
 
Messages
18
Country
us-arkansas
Globlemapper will not save the file it it=s a trial verison. Yes, I know ArcGIs inside and out but its at school and school has to weeks left. :D Thanks for the help let me look at the wiki and get back in a few
 
Messages
18
Country
us-arkansas
ok problems

Geotiff_Information:
Version: 1
Key_Revision: 1.0
Tagged_Information:
ModelTiepointTag (2,3):
0 0 0
-87.1435563 1.47207446 0
ModelPixelScaleTag (1,3):
8.97580174e-006 8.97580174e-006 0
End_Of_Tags.
Keyed_Information:
GTModelTypeGeoKey (Short,1): ModelTypeGeographic
GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
GeographicTypeGeoKey (Short,1): GCS_WGS_84
GeogCitationGeoKey (Ascii,7): "WGS 84"
GeogAngularUnitsGeoKey (Short,1): Angular_Degree
End_Of_Keys.
End_Of_Geotiff.

GCS: 4326/WGS 84
Datum: 6326/World Geodetic System 1984
Ellipsoid: 7030/WGS 84 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)

Corner Coordinates:
Upper Left ( 87d 8'36.80"W, 1d28'19.47"N)
Lower Left ( 87d 8'36.80"W, 1d22' 2.05"N)
Upper Right ( 87d 3'25.34"W, 1d28'19.47"N)
Lower Right ( 87d 3'25.34"W, 1d22' 2.05"N)
Center ( 87d 6' 1.07"W, 1d25'10.76"N)

it is not at all where it needs to be have a converted it to wgs84 and resampled it. It should be around 34N and 93W. What did I do wrong ?
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,948
Country
us-wisconsin
Hi Kanis.

We don't know what you did, or with what utility, or what the original tags were.

Dick
 
Messages
18
Country
us-arkansas
FWtools

gdalwarp -s_srs "+proj=utm +zone=31 +datum=WGS84"
-t_srs "+proj=latlong +datum=WGS84" myfile.tif myfile_wgs84.tif

thats all i did to the file.
 
Messages
18
Country
us-arkansas
This is the untouched geotiff data

Geotiff_Information:
Version: 1
Key_Revision: 1.0
Tagged_Information:
ModelTiepointTag (2,3):
0 0 0
1152635 163568 0
ModelPixelScaleTag (1,3):
1 1 0
End_Of_Tags.
Keyed_Information:
GTModelTypeGeoKey (Short,1): ModelTypeProjected
GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
ProjectedCSTypeGeoKey (Short,1): PCS_NAD83_Arkansas_North
ProjLinearUnitsGeoKey (Short,1): Linear_Foot_US_Survey
End_Of_Keys.
End_Of_Geotiff.

PCS = 26951 (name unknown)
Projection = 10331 ()
GCS: 4269/NAD83
Datum: 6269/North American Datum 1983
Ellipsoid: 7019/GRS 1980 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)
Projection Linear Units: 9003/(unknown) (1.000000m)

Corner Coordinates:
Upper Left ( 1152635.000, 163568.000)
Lower Left ( 1152635.000, 151943.000)
Upper Right ( 1162281.000, 163568.000)
Lower Right ( 1162281.000, 151943.000)
Center ( 1157458.000, 157755.500)
 
Messages
18
Country
us-arkansas
I have tryed the zone 15 it does not help. It just does -81 and 1 for the LAT/LONG. I am going to try ArcGIS will quick see if that helps.
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,948
Country
us-wisconsin
Hi Kanis.

It probably should have been:

gdalwarp -s_srs "+proj=utm +zone=15 +datum=NAD83"
-t_srs "+proj=latlong +datum=WGS84" myfile.tif myfile_wgs84.tif

But, I'm glad ARCGIS came to the rescue.

:)

Dick
 
Messages
18
Country
us-arkansas
I am 98% sure it worked, but I will not know until I can get home and run it though geoTIFF tools GUI to get the metadata. Only then will I know if it is in lat/long and WGS84.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,886
Country
netherlands
Hi,

This should also work, as the source projection is already in the GeoTIFF, only specifying the target projection should do the job:

gdalwarp -t_srs "+proj=latlong +datum=WGS84" myfile.tif myfile_wgs84.tif
 
Messages
18
Country
us-arkansas
How when I try to resample it flashes and then exits without ramsampling.

[Source]
Type = GeoTIFF
SourceDir = "E:\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Terrain SDK\Resample Examples\SourceData"
SourceFile = "Ferndale_SE_c_wgs84.TIF"
Layer = Imagery
Variation = Day
NullValue = 255,255,255

[Destination]
DestDir = "E:\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Terrain SDK\Resample Examples\Output"
DestBaseFileName = "Ferndale_SE_c"
DestFileType = BGL
LOD = Auto
 
Messages
1,268
Country
us-hawaii
Hi,

Just got back from a month on the US mainland, so I am catching up.

I see you are having a problem with reprojecting a geotiff. From a few posts up:

ProjectedCSTypeGeoKey (Short,1): PCS_NAD83_Arkansas_North
ProjLinearUnitsGeoKey (Short,1): Linear_Foot_US_Survey

PCS = 26951 (name unknown)
Projection = 10331 ()
GCS: 4269/NAD83
Datum: 6269/North American Datum 1983
Ellipsoid: 7019/GRS 1980 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)
Projection Linear Units: 9003/(unknown) (1.000000m)

This is the US State Plane Coordinate System Arkansas North. It is in Lambert Conformal Conic Projection

1st parallel N34 56 00
2d parallel N36 14 00
Cntrl meridian W92 00 00
Origin N34 20 00
False easting 2000000
Flase northing 0

You shouldn't have to worry about NAD83<>WGS84. Your converted positions in lat/long should be the same in either.

scott s.
.
 
Messages
18
Country
us-arkansas
Ok I got that fixed but I am having problems with the resample program it gives me an error thats said '"' is not a command(short form :) )
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,886
Country
netherlands
Hi Kanis,

Sounds like you are having trouble with using the command prompt in that case :).

Could it be that the path you are using has spaces in it? In that case you need to put quotes around it.
 
Top