banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?
Nom d'utilisateur    Mot de passe              Toujours pas inscrit ?   Mot de passe oublié ?

Annonce

Printemps des cartes 2024

#1 Thu 03 October 2019 21:54

preliator
Participant assidu
Date d'inscription: 17 Nov 2018
Messages: 433

QGIS: Probleme couche WMS

Bonjour à tous,

Est-il possible d'enregistrer une couche WMS/WMTS dans un dossier pour l'utiliser indépendamment d'internet ?

Merci à vous.

Hors ligne

 

#2 Mon 07 October 2019 14:00

MathieuR
Membre
Lieu: aix-en-provence
Date d'inscription: 16 Feb 2009
Messages: 1690
Site web

Re: QGIS: Probleme couche WMS

Bonjour,

Non, ce n'est pas possible, mais avec GDAL, on peut télécharger de façon programmatique après définition par XML du flux, les dalles sur une emprise.
Et surtout, QGIS en mode ligne de commande permet d'exporter des images de projet avec une étendue qui est précisée :  voir qgis snapshot https://docs.qgis.org/2.8/fr/docs/user_ … arted.html

Code:

qgis --help
QGIS - 2.6.0-Brighton 'Brighton' (exported)
QGIS is a user friendly Open Source Geographic Information System.
Usage: /usr/bin/qgis.bin [OPTION] [FILE]
OPTION:
      [--snapshot filename]   emit snapshot of loaded datasets to given file
      [--width width] width of snapshot to emit
      [--height height]       height of snapshot to emit
      [--lang language]       use language for interface text
      [--project projectfile] load the given QGIS project
      [--extent xmin,ymin,xmax,ymax]  set initial map extent
      [--nologo]      hide splash screen
      [--noplugins]   don't restore plugins on startup
      [--nocustomization]     don't apply GUI customization
      [--customizationfile]   use the given ini file as GUI customization
      [--optionspath path]    use the given QSettings path
      [--configpath path]     use the given path for all user configuration
      [--code path]   run the given python file on load
      [--defaultui]   start by resetting user ui settings to default
      [--help]                this text

FILE:
  Files specified on the command line can include rasters,
  vectors, and QGIS project files (.qgs):
   1. Rasters - supported formats include GeoTiff, DEM
      and others supported by GDAL
   2. Vectors - supported formats include ESRI Shapefiles
      and others supported by OGR and PostgreSQL layers using
      the PostGIS extension

geodata au cerema et petits billets en géomatique

Hors ligne

 

Pied de page des forums

Powered by FluxBB