QGIS Issue Tracking: Issueshttps://issues.qgis.org/https://issues.qgis.org/favicon.ico2019-01-22T15:50:48ZQGIS Issue Tracking
Redmine QGIS Application - Bug report #21072 (Reopened): Readability issues dark mode Machttps://issues.qgis.org/issues/210722019-01-22T15:50:48ZLeon van der Meulenleonvandermeulen@gmail.com
<p>On several places the readability could be improved. Mostly text labels.</p>
<p>Screenshots: [[<a class="external" href="https://github.com/lutraconsulting/qgis-mac-packager/issues/54">https://github.com/lutraconsulting/qgis-mac-packager/issues/54</a>]]</p> QGIS Application - Bug report #20872 (Reopened): QGIS 3.5 not loading or saving multi-dimensional...https://issues.qgis.org/issues/208722018-12-23T00:41:19ZCory Albrecht
<p>I have map layers stored in PostgreSQL where a field contains two dimensional arrays of values.</p>
<pre>
Alternate History=# select name,full_name,alternate_name from "Balance of Power"."timeline-countries" where full_name is not null and alternate_name is not null;
name | full_name | alternate_name
-----------------+----------------------------------------------------------------------------------------+----------------------------------------------------------------------
New Spain | {{en,"Viceroyalty of New Spain"}} | {{es,"Virreinato de la Nueva España"},{es,"Nueva España"}}
Mexico | {{es,"Imperio Mexicano"},{en,"Mexican Empire"}} | {{es,"Imperio Mexicano"}}
Mexico | {{es,"Estados Unidos Mexicanos"},{en,"United Mexican States"}} | {{es,"Estados Unidos Mexicanos"}}
Mexico | {{es,"Estados Unidos Mexicanos"},{en,"United Mexican States"}} | {{es,"Estados Unidos Mexicanos"}}
Alta California | {{es,"República de Alta California"},{en,"Republic of Alta California"}} | {{en,"Upper California"}}
New Spain | {{en,"Viceroyalty of New Spain"}} | {{es,"Virreinato de la Nueva España"},{es,"Nueva España"}}
…
</pre>
<p>In QGIS 2.18.x those arrays appeared in Feature Attributes dialog in the PostgreSQL text format for specifying arrays, using curly braces as seen in the psql output fragment above, and you could add to the arrays by entering new items in that format.</p>
<p>But in 3.5 that is no longer the case. Instead, only a bit of the text is shown in the text widget of the dialog.</p>
<p><img src="https://i.ibb.co/FxC1jkf/image.png" alt="" /></p>
<p>Further, when you try to update that field with as value like</p>
<pre>
{{en,"Cape Colony"}}
</pre>
<p>it gets saved in the database as</p>
<pre>
{"{{en,\"Cape Colony\"}}"}
</pre> QGIS Application - Bug report #20313 (Reopened): Python deprecation warning: invalid escape sequencehttps://issues.qgis.org/issues/203132018-11-01T12:48:15ZAndrea Giudiceandreaandreaerdna@libero.it
<p>QGIS 3.4.0 standalone installer on W7 64 bit with a fresh new profile</p>
<p>Python warning<br /><pre>
WARNING warning:C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\requests\status_codes.py:18: DeprecationWarning: invalid escape sequence \o
"""
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 335, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\MetaSearch\__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\MetaSearch\plugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\MetaSearch\dialogs\maindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\owslib\csw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\owslib\util.py", line 32, in
import requests
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\requests\__init__.py", line 114, in
from .models import Request, Response, PreparedRequest
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\requests\models.py", line 43, in
from .status_codes import codes
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 860, in get_code
File "", line 791, in source_to_code
File "", line 219, in _call_with_frames_removed
</pre></p> QGIS Application - Bug report #20283 (Reopened): Crash when exiting program [proj_lpz_dist]https://issues.qgis.org/issues/202832018-10-30T19:38:53ZJerry Brandbrandj@gmail.com
<a name="User-Feedback"></a>
<h2 >User Feedback<a href="#User-Feedback" class="wiki-anchor">¶</a></h2>
<p>Just closing the program</p>
<a name="Report-Details"></a>
<h2 >Report Details<a href="#Report-Details" class="wiki-anchor">¶</a></h2>
<p><strong>Crash ID</strong>: a3eb9e008e3031d98e71767c90264528b8c82c02</p>
<p><strong>Stack Trace</strong><br /><pre>
proj_lpz_dist :
proj_lpz_dist :
QgsCoordinateTransform::transformPolygon :
QgsCoordinateTransform::transformPolygon :
QgsCoordinateTransform::~QgsCoordinateTransform :
QgsFirstRunDialog::trUtf8 :
QObjectPrivate::deleteChildren :
QWidget::~QWidget :
CPLStringList::operator char const * __ptr64 const * __ptr64 :
main :
BaseThreadInitThunk :
RtlUserThreadStart :
</pre></p>
<p><strong>QGIS Info</strong><br />QGIS Version: 3.4.0-Madeira<br />QGIS code revision: <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/4a4b62ed19d2333b1f3a9e72bf77119048e3c9c0" title="Release of 3.4 (Madeira)">4a4b62ed19</a><br />Compiled against Qt: 5.11.2<br />Running against Qt: 5.11.2<br />Compiled against GDAL: 2.3.2<br />Running against GDAL: 2.3.2</p>
<p><strong>System Info</strong><br />CPU Type: x86_64<br />Kernel Type: winnt<br />Kernel Version: 10.0.17134</p> QGIS Application - Feature request #19832 (Reopened): Delete layers/files rather than removehttps://issues.qgis.org/issues/198322018-09-12T15:12:25Zna na
<p>There are some stackexchange questions about this with some code.</p>
<p>Rather than right clicking and removing layers, can we have the option to Delete them, so you don't have multiple duplicate/not needed files around.</p>
<p>I think this is more useful for commercial users, as it can be hard to determine what is still useful or junk data after the user who created the layers has finished his work.</p>
<p>Stackexchange tickets<br />[[<a class="external" href="https://gis.stackexchange.com/questions/190283/deleting-shapefiles-using-qgis">https://gis.stackexchange.com/questions/190283/deleting-shapefiles-using-qgis</a>]]<br />[[<a class="external" href="https://gis.stackexchange.com/questions/215673/deleting-shapefile-with-qgis?noredirect=1&lq=1">https://gis.stackexchange.com/questions/215673/deleting-shapefile-with-qgis?noredirect=1&lq=1</a>]]</p>
<p>The stackexchange tickets list how to delete shapefile but the scripts may need be converted in QGIS 3.0 as there has been an API break ect..</p> QGIS Application - Bug report #19742 (Reopened): accentued caracters make problem to load python ...https://issues.qgis.org/issues/197422018-08-31T13:27:39ZJérôme Seigneuretjerome.seigneuret@gmail.com
<p>Hi,</p>
<a name="Error"></a>
<h2 >Error<a href="#Error" class="wiki-anchor">¶</a></h2>
<p>2018-08-31T15:05:56 WARNING L'expression de l'utilisateur base_water_function n'est pas valide<br /> Traceback (most recent call last):<br /> File "C:/OSGEO4~1/apps/qgis/./python\qgis\user.py", line 48, in load_user_expressions<br /> <i>import</i>("expressions.{0}".format(name), locals(), globals())<br /> File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 674, in _import<br /> mod = _builtin_import(name, globals, locals, fromlist, level)<br /> File "C:/Users/user1/AppData/Roaming/QGIS/QGIS3\profiles\default/python\expressions\base_water_function.py", line 21<br /> SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xe9 in position 4: invalid continuation byte</p>
<a name="Context"></a>
<h2 >Context:<a href="#Context" class="wiki-anchor">¶</a></h2>
<p>I make a function in expresion script panel and it is used to set label.</p>
<p>The expression script is:<br /><pre>
# -*- coding: utf-8 -*-
from qgis.core import *
from qgis.gui import *
@qgsfunction(args='auto', group='Custom')
def get_pipe_material_code_fr(v,feature, parent):
"""
return french material name to it corresponding code
"""
if v == "Fonte":
return "F"
elif v == "Pvc":
return "PVC"
elif v == "inconnu":
return "?"
elif v == "Polyéthylène":
return "PE"
else:
return "X"
</pre></p>
<p>In fact i see<br />C:\Users\user1\AppData\Roaming\QGIS\QGIS3\profiles\default\QGIS\QGIS3.ini<br />encoding=UTF-8</p>
<p>there is no information with python but if I have understand, QGIS 3 work with python 3 and default encoding is UTF-8 so I don't understrand</p>
<p>my label call get_pipe_material_code_fr("Material") || (' Ø' ) || "Diameter"</p>
<p>If I go in function panel and click on load, all work fine.</p>
<a name="Software-information"></a>
<h2 >Software information<a href="#Software-information" class="wiki-anchor">¶</a></h2>
<p>Version de QGIS<br />3.2.2-Bonn<br />Révision du code<br />26842169e9<br />Compilé avec Qt<br />5.9.2<br />Utilisant Qt<br />5.9.2<br />Compilé avec GDAL/OGR<br />2.2.4<br />Utilisé avec GDAL/OGR<br />2.2.4<br />Compilé avec GEOS<br />3.6.1-CAPI-1.10.1<br />Utilisé avec GEOS<br />3.6.1-CAPI-1.10.1 r0<br />Version du client PostgreSQL<br />9.2.4<br />Version de SpatiaLite<br />4.3.0<br />Version de QWT<br />6.1.3<br />Version de QScintilla2<br />2.10.1<br />Version de PROJ.4 :<br />493</p> QGIS Application - Bug report #19626 (Reopened): World map incorrectly drawn when using a differe...https://issues.qgis.org/issues/196262018-08-15T07:04:02Z克鲁 黄tone90999@hotmail.com
<p>When I use Natural Earth as data source and want to change projection for the project to customized Robinson, the map breaks apart (see attached file). <br />I use a projection as follows: <br />Proj4: +proj=robin +lon_0=150dE +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs<br />Hope if it's not a bug. But if it is, I'd like to know if there's a workaround.</p> QGIS Application - Bug report #19575 (Reopened): QWebPage: No such file or directoryhttps://issues.qgis.org/issues/195752018-08-09T10:41:49Znicolas zzzzswiss_knight@hotmail.com
<p>I encountered this error during QGIS compilation on Ubuntu Xenial (4.15.0-29-generic x86_64 GNU/Linux):</p>
<pre>
In file included from /opt/QGIS/src/core/annotations/qgshtmlannotation.cpp:26:0:
/opt/QGIS/src/core/qgswebpage.h:26:20: fatal error: QWebPage: No such file or directory
compilation terminated.
</pre> QGIS Application - Bug report #18485 (Reopened): Recent Projects startup screen truncates filenam...https://issues.qgis.org/issues/184852018-03-20T03:27:27ZPatrick Dunfordenzedrailmaps@gmail.com
<p>If a project filename contains periods, the filename is truncated at the first period when displayed in the Recent Projects startup screen.</p>
<p>The code should truncate the filename at the last period, not the first one.</p> QGIS Application - Bug report #14900 (Reopened): Styling panel: Clicking the Apply button adds a ...https://issues.qgis.org/issues/149002016-05-26T04:21:56ZHarrissou Santanna
<p>Open the map styling panel of a layer, History Tab<br />Click Apply. A new line is added although nothing has been done!</p> QGIS Application - Feature request #13786 (Reopened): Include the closed source ESRI FileGeoDB li...https://issues.qgis.org/issues/137862015-11-07T11:38:31ZCorey Burgercorey.burger@gmail.com
<p>The default QGIS install (2.12) doesn't include R/W access to ESRI FileGBs (it used to and it go dropped about 2.8). Given the popularity of Arc* products, shipping this should be part of the basic functionality of QGIS.</p>
<p>Here is a great example of another user frustrated with the same issue:<br /><a class="external" href="http://gis.stackexchange.com/questions/167939/need-file-geodatabase-gdb-read-write-support-in-qgis">http://gis.stackexchange.com/questions/167939/need-file-geodatabase-gdb-read-write-support-in-qgis</a></p> QGIS Application - Feature request #10822 (Reopened): Print composer - allow tiled raster image e...https://issues.qgis.org/issues/108222014-07-05T14:29:49Zbaditaflorin -baditaflorin@gmail.com
<p>Please try a lower resolution papersize</p>
<p>I need to print 40000x35000 pixels images, i have 8 GB of RAM, and the image will need only 1.54 GB of Ram</p>
<p>How can i circumvent this warnign/error ?</p> QGIS Application - Feature request #7611 (Reopened): Title case option which also operates on upp...https://issues.qgis.org/issues/76112013-04-14T03:15:51ZNyall Dawson
<p>Setting a type case of "Title case" has no effect on the way labels are rendered when the text is already in upper case. For example, in the attached image "KNOX" is rendered as "KNOX", not "Knox". The other case settings (All uppercase/lowercase) work as expected.</p>
<p>EDIT<br />As discussed, "Title case" has been renamed "capitalize first letter", so this is now a feature request for a "Title case" feature, which would also lowercase subsequent letters.</p> QGIS Plugin Site - Bug report #4879 (Reopened): Planet not updatedhttps://issues.qgis.org/issues/48792012-01-25T03:35:26ZAlexander Bruy
<p>RSS at <a class="external" href="http://plugins.qgis.org/planet/">http://plugins.qgis.org/planet/</a> is not updated anymore, while at <a class="external" href="http://qgis.org/planet">http://qgis.org/planet</a> it works. Seems one of this should be removed.</p> QGIS Application - Feature request #4069 (Reopened): Enhancement: ability to search for a plugin ...https://issues.qgis.org/issues/40692011-07-10T19:12:15ZAlister Hood
<p><strong>Problem description</strong><br />Quoting from an old ticket: "With the explosion of QGIS plugins, people will eventually have so many plugins that it would get hard to find them in the Plugin menu or Plugin toolbar."</p>
<p>"eventually" is now!</p>
<p>This is particularly a problem when a plugin is not grouped into one of the categories (e.g. "analysis" or "vector"), and its name is different from the label of its menu entry e.g. "shaded relief" vs "DEM relief shader".</p>
<p>In the plugin manager and the plugin installer there is a "filter", which allows the user to search for a plugin to install/uninstall or enable/disable it. It would be good if there was also somewhere where the user could search for a plugin to <em>run</em> it.</p>
<strong>Possible Solutions</strong>
<ol>
<li>Add to the plugin manager the ability to start a plugin.</li>
<li>Implement something like <a class="issue tracker-2 status-1 priority-3 priority-" href="https://issues.qgis.org/issues/1734" title="Use a dockable tabbed window for plugins (Open)">#1734</a>: "Use a dockable tabbed window for plugins", and include a filter. Personally I don't like the idea of an array of buttons (a list like the plugin manager would be better), and rather than category tabs it may be better to have a single list of plugins, with the ability to filter by category.</li>
<li>Combine 1 and 2, i.e. modify the plugin manager to be a dockable modeless window with the ability to launch plugins.</li>
<li>?</li>
</ol>
<p>The need for this would probably be reduced significantly if <a class="issue tracker-2 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1602" title="Superfluous entries in the Plugin menu (Closed)">#1602</a>: "Grouping plugins in the menu" was implemented, i.e. if all plugin developers put their plugins into category submenus.</p>