Hi,

You could try starting QGIS with command line options. I did not find the 
option for QGIS 3 but this probably works. 
https://docs.qgis.org/2.18/en/docs/user_manual/introduction/getting_started.html#command-line-options

The biggest problem is that you will probably not be able to download the 
entire US at the resolution you want.  Most wms server will limite the size of 
the download.  What are you trying to download exactly?  Can you find the 
original data that does come from a wms server? 

Please do a reply all so that the QGIS user groupe can profit of the 
conversation.
Cheers!

Nicolas Cadieux
Ça va bien aller!

> Le 20 avr. 2020 à 00:38, Michael Demeyer <[email protected]> a écrit :
> 
> 
> Nicolas,
>  
> Thanks for the reply.  The problem is that the entire thing is the entire 
> United States.  So I have to clip before I can save it.
>  
> Any idea why it is not working?
>  
> Michael
>  
> Sent from Mail for Windows 10
>  
> From: Nicolas Cadieux
> Sent: Sunday, April 19, 2020 5:46 PM
> To: Michael Demeyer
> Cc: [email protected]
> Subject: Re: [Qgis-user] Unable to Clip Raster from WMS Source
>  
> Hi,
>  
> You need to export the image first.  Try exporting the project as a .tiff 
> then, you will be able to clip the new image.
> 
> Nicolas Cadieux
> Ça va bien aller!
> 
> 
> Le 19 avr. 2020 à 20:01, Michael Demeyer <[email protected]> a écrit :
> 
> 
> Have connected a WMS server for the NAIP Imagery data (US Department of 
> Agriculture) to a layer in a project, which seems to function properly.  I am 
> trying to export a sub-section of the data using the Clip Raster by Extent 
> function, also specifying the resolution at 30 x 30 meters.
>  
> Below is the input string to GDAL that is created.  I consistently (100% of 
> the time) get an error saying “Failure: No Target Dataset Specified”
>  
> Have tried everything I can think of.  This command works fine for me on 
> local data, but is somehow not working for this WMS source.
>  
> Thanks!
>  
> Michael
>  
> QGIS version: 3.12.1-București
> QGIS code revision: 121cc00ff0
> Qt version: 5.11.2
> GDAL version: 3.0.4
> GEOS version: 3.8.1-CAPI-1.13.3
> PROJ version: Rel. 6.3.1, February 10th, 2020
> Processing algorithm…
> Algorithm 'Clip raster by extent' starting…
> Input parameters:
> { 'DATA_TYPE' : 0, 'EXTRA' : '', 'INPUT' : 
> 'contextualWMSLegend=0&crs=EPSG:4326&dpiMode=7&featureCount=10&format=image/jpeg&layers=0&styles&url=https://services.nationalmap.gov/arcgis/services/USGSNAIPImagery/ImageServer/WMSServer',
>  'NODATA' : None, 'OPTIONS' : '', 'OUTPUT' : 'E:/Flying/Landscape 
> Building/Imagery Test/jpeg test.bil', 'PROJWIN' : '415804, 761404, 3987838, 
> 4379518' }
>  
> GDAL command:
> gdal_translate -projwin 415804.0 4379518.0 761404.0 3987838.0 -of EHdr 
> contextualWMSLegend=0&crs=EPSG:4326&dpiMode=7&featureCount=10&format=image/jpeg&layers=0&styles&url=https://services.nationalmap.gov/arcgis/services/USGSNAIPImagery/ImageServer/WMSServer
>  "E:/Flying/Landscape Building/Imagery Test/jpeg test.bil"
> GDAL command output:
>  
>  
> FAILURE: No target dataset specified.
>  
> Sent from Mail for Windows 10
>  
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>  
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to