qgis

Ubuntu 14.04 安装qgis2.X版本

狂风中的少年 提交于 2019-12-10 13:22:57
Ubuntu 14.04 安装Qgis2.X版本 开源的Qgis功能逐渐增多,美国导师建议用用Qgis,特在Ubuntu 14.04 安装Qgis2.X版本: 下面是安装命令行: sudo sh -c 'echo "deb http://qgis.org/debian trusty main" >> /etc/apt/sources.list' sudo sh -c 'echo "deb-src http://qgis.org/debian trusty main" >> /etc/apt/sources.list' wget -O - http://qgis.org/downloads/qgis-2015.gpg.key | gpg --import gpg --fingerprint 3FF5FFCAD71472C4 gpg --export --armor 3FF5FFCAD71472C4 | sudo apt-key add - sudo apt-get update && sudo apt-get install qgis python-qgis qgis-plugin-grass 安装之后,启动qgis,done! 参考链接: 1. Install QGIS on Ubuntu 14.04 http://chrisstrelioff.ws/sandbox/2015/02

QGis: How to import svg or raster images into Quantum GIS?

断了今生、忘了曾经 提交于 2019-12-09 05:54:51
问题 these vector or raster files being classic files without geocoordinates. They are lat/long projection, I want to import them into QGIS, scale them up/down, place them to their right place, and they become reusable shp or raster geocoordinated layers. Edit: I'am from the wikipedia Graphic Lab>Map workshop, we want to work more using GIS. We litteraly have hundreds maps to migrate to GIS technologies.... File:Chinese_plain_5c._BC-en.svg File:Vignobles_basse_loire.svg 回答1: Partial Solution: load

Debian/Raspbian install QGIS 3.x

时光总嘲笑我的痴心妄想 提交于 2019-12-08 05:52:26
问题 Re-posted from GIS stackexchange as this is becoming more of a software question. I'm trying to install QGIS 3.x on Raspbian Stretch with Desktop. I found this build-from-source guide using this forum post, but my linux-fu is weak. I followed sections 3.5 and 3.6 of that guide, and then started on section 3.8. At the dpkg-buildpackage -us -uc -b stage, I get an "unmet build dependencies" error. When trying to sudo apt-get install the missing packages I get several "Unable to locate package"

Using QGIS, how to properly link a postgis sql layer?

三世轮回 提交于 2019-12-08 00:15:08
问题 I have no problem using the DB Manager in QGIS 2.18, but if I try to add a layer based on a long running query (1 min+), QGIS becomes entirely unusable. It would appear that every map pan, every mouse click, etc., is triggering some kind of layer refresh. This seems silly for one, especially given that you can right click the layer and request a refresh. And more important, it makes the application unusable. What am I doing wrong here? Is it not possible to create the layer and only have it

Topojson: How to design valid polygons, lines, points in GIS softwares?

倾然丶 夕夏残阳落幕 提交于 2019-12-07 21:20:00
问题 Up to now I always used GIS files from the web, which provide me administrative polygons, rivers, landmasses, etc. I then convert them to Topojson format to feed D3js. Today I have to design my own layer (wine_areas) within Quantum GIS (QGIS). Similarly, this .shp file will later on be converted into Topojson format. When designing my shapes, lines, dots within a GIS software (.shp file): What are the critical aspects I should worry about, and how to do so the .shp and the final Topojson

Unable to compile QGIS 3.2 on xenial; Python3 errors in PyQt5 (undefined symbol: PySlice_AdjustIndices)

左心房为你撑大大i 提交于 2019-12-07 13:36:29
When trying to compile the latest version of QGIS ( https://github.com/qgis/QGIS ) I end up with the folowing erros on cmake-gui: Traceback (most recent call last): File "/opt/QGIS/cmake/FindPyQt5.py", line 34, in <module> import PyQt5.pyqtconfig ImportError: No module named 'PyQt5.pyqtconfig' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/QGIS/cmake/FindPyQt5.py", line 37, in <module> import PyQt5.QtCore ImportError: /usr/local/lib/python3.5/dist-packages/PyQt5/QtCore.so: undefined symbol: PySlice_AdjustIndices Found SIP

Open a Mapbox map in QGis

强颜欢笑 提交于 2019-12-07 13:06:46
问题 I'm looking for a way to display one of my Mapbox map in QGis (baselayer edited on mapbox.com & data uploaded from tilemill). Did someone here already find a way ? Is there a feature or a plugin to do that ? Thanks for your future answers ! Adrien 回答1: Yesterday, I found two solutions by myself : 1) the pretty official "TileLayer Plugin" QGis plugin You'll have to write a TSV file (Tab Separated Values) with, at least, the name, the credits and the URL of your Mapbox map. The URL should look

Debian/Raspbian install QGIS 3.x

那年仲夏 提交于 2019-12-07 02:01:29
Re-posted from GIS stackexchange as this is becoming more of a software question. I'm trying to install QGIS 3.x on Raspbian Stretch with Desktop. I found this build-from-source guide using this forum post , but my linux-fu is weak. I followed sections 3.5 and 3.6 of that guide, and then started on section 3.8. At the dpkg-buildpackage -us -uc -b stage, I get an "unmet build dependencies" error. When trying to sudo apt-get install the missing packages I get several "Unable to locate package" errors ( libqscintilla2-qt5-dev , qt3d-assimpsceneimport-plugin , qt3d-defaultgeometryloader-plugin ,

How to read out the text from QLineEdit in python?

∥☆過路亽.° 提交于 2019-12-07 01:54:05
问题 I have created for my plugin a start GUI with 3 buttons. This works very well and if I click on one of the buttons a specific action is started. So far this works. If I click on one of the buttons a new GUI with two buttons "ok" and "cancel" and a lineedit appears. If I push on cancel the GUI will be closed, if I push on ok, I want the program to read the text from the editline and store it in a variable. This doesnßt work so far. Here is the class containing the dialog: from PyQt4.QtCore

Topojson: How to design valid polygons, lines, points in GIS softwares?

回眸只為那壹抹淺笑 提交于 2019-12-06 07:21:39
Up to now I always used GIS files from the web, which provide me administrative polygons, rivers, landmasses, etc. I then convert them to Topojson format to feed D3js. Today I have to design my own layer (wine_areas) within Quantum GIS (QGIS). Similarly, this .shp file will later on be converted into Topojson format. When designing my shapes, lines, dots within a GIS software (.shp file): What are the critical aspects I should worry about, and how to do so the .shp and the final Topojson files is valid, with the expected typologies ? Mostly, with neighbor polygons sharing their common arcs,