Articles

Affichage des articles associés au libellé qgis

How-to run QGIS 2 and QGIS 3 at the same time in Archlinux or Manjaro

Image
Since QGIS 3 was released, it's a nice and very pleasant upgrade. Unfortunately some plugins I use does still not work with Qgis 3 due to python upgrade from version 2 to 3. It's possible to upgrade with tools like 2to3 (If interested, I suggest to watch Heikki Vesanto blog : https://gisforthought.com/updating-a-plugin-from-qgis-2-to-qgis-3/ ) but some plugins needs time to debug. That's why, it's interesting during migration to have Qgis 2 and 3 at the same time in one computer. It's also possible to run Qgis 2 and 3 at the same time due to profile migration. They are not sharing same preferences folder so you are not breaking anything. It's possible to have Qgis 2 and 3 running at the time with different way like Conda or Docker. But it's lightest to run it natively. Archlinux/Manjaro is the Linux distribution I use. It have in my opinion a powerfull little thing called AUR (Arch User Repository) which automate installation of software. Furthermore,...

Adding Microsoft SQL server support in Qgis with Archlinux

Yesterday, I want to connect to a MSSQL Server with GIS support through VPN network until I realize it doesn't work. I use a modifying qgis-ltr aur package. I've got this error : [unixODBC][Driver Manager]Can't open lib 'FreeTDS' : file not found QODBC3: Incapable d'établir une connexion If you want make it works, you have to add unixodbc and freetds packages. You could add them with : pacman -S unixodbc pacman -S freetds Just edit this file : /etc/odbcinst.ini And add this [FreeTDS] Description = ODBC for FreeTds Driver      = /usr/lib/libtdsodbc.so.0 Setup       = /usr/lib/libtdsodbc.so.0  Then just add a MSSQL layer in Qgis and it should work

L'ECW sous MacOSX : comment le rendre fonctionnel

Mis à jour le 15/01/2016 (Correction d'une coquille dans la procédure) Petit aide mémoire pour avoir les commandes gdal dans le terminal sous mac osx sans avoir à aller dans le répertoire d'installation : - Installer gdal complete venant de kyngchaos : http://www.kyngchaos.com/software/frameworks#gdal_complete - Mettre le répertoire gdal dans le path de son profil : echo 'export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH' >> ~/.bash_profile - Fermer et relancer le terminal après avoir actualiser le path. Vérification du bon fonctionnement : gdalinfo --version - Il est alors possible de lancer toutes les commandes gdal/ogr dans à rentrer dans le répertoire d'installation gdal. Exemple d'utilisation : vérification que la librairie ECW est bien fonctionnelle dans gdal => gdalinfo --formats | grep ECW - Kyngchaos a désormais compilé la version de gdal avec la nouvelle librairie Erdas ECW de la société Intergraph : version 5.1. Il f...

Disposer du support de l'ECW sous Ubuntu

Mise à jour des paquets, voir ici :  http://geomatips.blogspot.com/2010/09/mise-jour-paquet-ecw-pour-ubuntu.html A chaque version de Qgis et Mapserser, il faut en principe les recompiler pour disposer du support de l'ECW et JPEG2000 (plus de détails ici : Enhanced Compression Wavelet )dans nos logiciels SIG libres. C'est assez pénible et c'est en recherchant sur le launchpad Ubuntu que j'ai découvert un paquet nommé gdal-ecw-src Je me suis empressé de l'installer pour voir ce qu'il contenait : - Un fichier Readme contenant l'aide et - Un exécutable : /usr/bin/gdal-ecw-build Le readme précise qu'une fois le sdk d'ermapper installé, il suffit de lancer gdal-ecw-build en précisant l'emplacement du répertoire d'installation du sdk. Allons-y, passons à l'installation ! 1) Pour le sdk : - soit vous le compiler à la main à partir du code source disponible ici ECW JPEG2000 Codec SDK Source Code Note : Compilation du sdk en 3 l...