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

FWTools

Messages
5
Hi all,

When using the code

gdal_translate -a_srs "+proj=latlong +datum=WGS84" -of GTiff -a_ullr
2.873697280883789 51.23955125258209 2.942361831665039 51.20725980992728 myfile.tif myfile_geotiff.tif (wich should be the right code) in FWToolsShell
I recieve
...option -a_ullr not recognised or incomplete.
Usage: gdal translate....(list).The following drivers are configured and support output:...(list).(that seems normal)
C:\....is not recognised as an internal or external command or batch...

When I use the code

gdal_translate -a_srs "+proj=latlong +datum=WGS84" -of GTiff
-co "INTERLEAVE=PIXEL" -a_ullr 2.873697280883789 51.23955125258209
2.942361831665039 51.20725980992728 myfile.jpg myfile.tif

I get no ´error´ but there is no new file created.

I dont know if there should be a new file created automatically or if you should do an action.I tried almost everything with OpenEV but no result.

There is not much info on FWTools but I heard ARNO was making a tutural.

Greetz
 
Last edited:
Hi,

I looks like you got those commands from my article on the Wiki already? A few things you should check:

  1. Are you sure that you are using the command in the folder where your image is? Else you need to use the cd command to navigate it in the command prompt.
  2. Are you sure you are using the correct texture names? The example you posted still contain the myfile.jpg I used in my example, of course you need to list your image there.
  3. For your error about the command not being complete, are you sure you typed everything on one line? It should be one long command.
 
I tried it in OpenEv, and it seems to be launching the python script reproject.py, but when I click the go button python CTDs (Win XP). I don't know if there is some debug mode of python that would let you step throught the script and see where is it crashing. I assume it isn't liking the following:

eResampleAlg = self.interp_menu.get_history()
gdal.CreateAndReprojectImage(src_ds, dst_filename, None, \
dst_wkt, dst_driver, create_options, eResampleAlg, \
warp_memory = 0.0, maxerror = 0.0 )

scott s.
.
 
I think I did everything right..
(I use FWTools 1.2.1 because I have an error with the latest version, python.exe cannot find sde91.dll,no error in 1.2.1)




I put the tif or jpeg file in C\Program Files\FWTools1.2.1\ ..

I suppose it should make a file automatically.

Thx for the quick response

UPDATE: HEY Thx ARNO it worked, it was because the command line was divided in two lines!!
 
Last edited:
Good to hear you got it working now. Once you have the GeoTIFF image, it should be very easy to make a BGL file out of it with the examples from the SDK.
 
Back
Top