Well, here's another question. I'm working on a set of WMS data right now and i wanted to know if you can save it on a Hard drive. I do know that you can save the current view as a georeferenced Tif, but considering the resolution i need and space covered by my workspace i need something a lot faster or i'll be doing this for weeks.

  • You need to explain what you mean by 'save on Hard Drive'. Do you want to cache the images, so that you don't need to hit the service everytime? Or do you also want to in some way get the features so that you can fire off getFeature info requests? – Devdatta Tengshe Apr 25 '16 at 7:28
  • I would like to get the features in some way indeed, i have the wms server with me, i can load the data with Qgis, but i can't tinker with it. Since i need to do a little processing on it before comparing said data with what i created a while ago, having it on my computer as a set of raster datas seems to be the best way to fit my needs. – Moreau Colin Apr 25 '16 at 8:24
  • 1
    If you need Features, then you need a WFS service, since WFS is meant for features, while WMS is just the rendered image from those features – Devdatta Tengshe Apr 25 '16 at 8:41
  • I'll end needing both in the end but for now the rendered tif files might be what i should get first, now that i think about it. Also heard about something called Maperitive that might help me too. – Moreau Colin Apr 25 '16 at 8:46

You can use GrassGis which is installed alongside with Qgis. There is the tool r.in.wms which will do the work.

It is in the background creating a textfile with the GetMap queries and replaces the extent for each tile. So you set it up with the correct region, the size of the tiles you want to have, the imagetype (depending what the wms offers) and thats it. It then sends the Queries automaticly one after the other using wget. After its finished you have to merge the tiles.

The downside is you need roughly 1-2 hours to be able to get along with GrassGis far enough to set the region extent and start the tool (GrassGis is pretty different from other Gi-Systems)

  • Ok, i did not know that. That'll be pretty damn usefull because the tool is really powerfull and a little bit easier to set up than WMS downloader (But that's mostly due to the fact that i was already working with some of it's modules so a LOT of the settings were set by my previous tinkering with Grass). The hardest part was actually to find a way to force him to dowload the Tif i wanted, since i didn't quite know if he asked for the name of the thing, it's id or it's path. But after much work, and i still don't quite know how, it worked and got the tiles smoothly. Thank you for the help. – Moreau Colin Apr 26 '16 at 7:19

In QGIS you can use R-Click and Save As... to save the WMS, and any other service, as a raster image.

enter image description here

It saves is at a tiff, and the resolution needs to be set by you. There are other expression and creation options as well.

  • this does it, just choose the projection and (if it's like google, bing or esri satellite) set resolution to 1 m – Elio Diaz Mar 11 '19 at 21:06
  • 3
    What if I just want everything same as the source? How can I set it up? – user2720402 Jul 30 '19 at 0:07
  • @user2720402 try the layer properties in most cases you will find the resolution there – till Kadabra Aug 16 '20 at 13:01

If your WMS server allows users to cache data, and all that you require is the Imagery as a Base layer, you should look into using Mobile Atlas Creator

I've successfully used MAC to create a mbtiles file, which can be viewed in QGIS, and is as good as an offline basemap, which you can place underneath your data.

For more information on how to use Mobile Atlas Creator, please have a look at this answer: https://gis.stackexchange.com/a/72973/442

  • 1
    That'll be usefull, both for the datas i need and the osm tiles preset into the mapsource folder. I'll get back to you if i need a little more help and i'll try to use the link you provided to set the wms for now. – Moreau Colin Apr 25 '16 at 8:26
  • Well, the WMS i am trying to use seems to have a lot of incompabilities with MOBAC. Tried with both Geopal and Geoportail, then saw in the doc that the zoom levels from MOBAC makes it unable to open the tiles properly. – Moreau Colin Apr 25 '16 at 9:11

Ok, i am trying an Arcgis plugin avaible as a standalone .exe. It's called WMS dowloader, avaible here and i'll confirm later if it works but from what i've seen it might do the trick (It has a clear and simple UI at least)

After much work and a long download it seems WMS downloader worked alright for the task at hand. But i have to say, seting up that program was very tedious.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.