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

QGIS - Create Geotiff from WMS data ?

Messages
84
Country
france
Hi there,

The other day I created some cool elevation map using SRTM with 30m resolution that I've downloaded in .tiff files.
But today I wanted to created with better resolution:
I have access to a WMS (Web map service) with 2m resolution

Since this WMS is online, I wanted to "extract" geotiff from this.

Someone has an idea ?
 
A WMS layer is a view-only layer.
To be able to download data you need at least a WMTS layer, or, even better, have a look if the provider offers also downloadable tiles...
 
Hi,

WMS is only a color rendering indeed, you can better try to find the data on a WCS so that you can get the actual elevation values. But with tools like the GDAL command line tool you can export a TIFF file from a WMS/WCS and then use them for resample.
 
Hi,

WMS is only a color rendering indeed, you can better try to find the data on a WCS so that you can get the actual elevation values. But with tools like the GDAL command line tool you can export a TIFF file from a WMS/WCS and then use them for resample.

HI Arno:

Would you please be so kind as to provide a link to info on: :teacher:

"...the GDAL command line tool you can export a TIFF file from a WMS/WCS and then use them for resample" ?


I would like to learn about a worst-case scenario option for GIS sources that are either restricted to online access via ESRI ArcGIS-only, or whose web portals have not yet been developed to allow direct download of detailed GIS data via HTTP protocols.

Not that I'd really want to undergo the torture of learning to use obscure GDAL command line syntax, or the P.I.T.A. of QGIS when I have Global Mapper, multiple web browsers, and a fast internet connection that could make GIS data access less painful.

But otherwise restricted and/or limited GIS data servers are still a problem for the FSDev community, so we need more options.


BTW: Didn't you once consider allowing ScenProc access to GIS online data ?

Is there any update you could share with us on that option, as well as whether it may be updated for use with MSFS ?


Thanks in advance for your help with expanding our options to access GIS data. :)

GaryGB
 
Last edited:
Would you please be so kind as to provide a link to info on: :teacher:

"...the GDAL command line tool you can export a TIFF file from a WMS/WCS and then use them for resample" ?

The GDAL documentation has many samples on using WMS and WCS:



BTW: Didn't you once consider allowing ScenProc access to GIS online data ?

Yes, scenProc has that capability, but at the moment it is not generally available at the moment. The project I showed in this thread has been made with scenProc. All photoreal and elevation BGL files have been made by accessing geographical data from WMS and WCS sources and converting them directly to BGL files. I did host my own geo server for performance reasons, instead of getting it from online sources. But technically that is the same.

 
Many thanks, Arno, for sharing that info with us. :)


PS: Specifically regarding converting WMS "color" images to gridded elevation data that we can use with Resample for Terrain Mesh, where would we find a work-flow via GDAL ? :scratchch

Or did you instead allude to how one uses GDAL to covert WMS "color" satellite imagery to GeoTIFFs used with Resample for imagery BGLs ? :oops:

GaryGB
 
Last edited:
Hi,

I would never use color images of the elevation in your scenery. When they are rendered as a WMS it has the normal color range of 0 to 255. This means that you loose a lot of information from the elevation. So you can never make an accurate scenery out of it. You need to access the underlaying data from which the color map was made when you want to use it in resample. WCS allows that and as Matthias mentions WMTS might be an option as well.

To make a TIFF all you have to do is use gdal_translate to download the WMS data and save it to a TIFF file. With the command line arguments you can specify which area and resolution you want to have. And that GeoTIFF can easily be used in resample to make the BGL.
 
Thanks again for this clarification; that info regarding NOT attempting to convert WMS "color" images for elevation ...is as I suspected. ;)

GaryGB
 
Back
Top