[Qgis-user] GTiff compression issues
Hi, I am using QGIS to try and compress hi-res drone imagery. I am using GDAL tools, such as 'Clip Raster by Extent' . In the command line parameters I am adding the following: -co COMPRESS=JPEG -co TILED=YES --config GDAL_TIFF_INTERNAL_MASK YES. The original image is RGBA. Compression is significant (which is what I need) and visually there is not much of a difference. However, when zooming further in (1:200), I noticed that some raster cells have turned white. When inspecting, it appears that the compression is changing the data of one or more of the bands to nodata. How can this be resolved? I am using QGIS 3.10.8 Thanks Yury Zammit ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Error: unsupported locale setting
Hello, I am not sure when this happened but I am getting this error for the HCMGIS plugin. I am running QGS 3.10.8 on Windows 7. Here is the python message 2021-01-13T07:11:05 WARNINGTraceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 334, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:/Users/yury/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HCMGIS\__init__.py", line 11, in classFactory from .hcmgis_menu import hcmgis_menu File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 743, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/yury/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HCMGIS\hcmgis_menu.py", line 11, in from .hcmgis_dialogs import * File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 743, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/yury/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HCMGIS\hcmgis_dialogs.py", line 908, in class hcmgis_microsoft_dialog(hcmgis_dialog, Ui_hcmgis_microsoft_form): File "C:/Users/yury/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HCMGIS\hcmgis_dialogs.py", line 928, in hcmgis_microsoft_dialog locale.setlocale(locale.LC_ALL, 'en_US') File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\locale.py", line 604, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting Regards, Yury ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Loss of data
Windows has a feature called previous versions. Locate the shape files on explorer, look for the dbf file, right click, properties and see if you have any previous versions that you can restore. On Sun, 15 Nov 2020, 10:45 Francesco Pelullo, wrote: > Ciao Vladut, > > I'm sorry, you have no chanches to recover deleted attributes. > > You need to populate attributes again. > > However, in my mind, this could be not a impossible job. > > SUP (area) attribute is a geometry dependant value, you could calculate > areas again with a simple string in field calculator. > > TIPO (Type) attribute is the real problem, but since I suppose you > extracted it from some public data source, maybe you could use field > calculator again for extract data in minutes. > > Don't worry, these are common experiences that would drive you to a more > prudent jobs management. > > Also hope you will adopt another file format (.gpkg is great) and leave > shapefiles. > > Ciao > Francesco > > > > Il dom 15 nov 2020, 10:12 Vladut Constandoiu ha > scritto: > >> Good morning, >> >> My name is Vladut Constandoiu, I'm a university student from Trento, >> Italy and I'm using QGis for my master thesis. >> Yesterday I had a very unpleasant experience with QGis. I have a >> shapefile that contains all of the different areas of the >> river's hydrological basin on which I'm doing my project; every element has >> two attributes: type (TIPO) and area (SUP). Somehow I managed to erase >> those attributes from the attribute table and could not do undo (ctrl+z or >> anything else) since the auto-save plug-in activated exatly 2 seconds >> after my mistake and saved the changes. The shapefile contains about 6900 >> elements, and they were all sorted by use, while now they are just areas >> without any information. >> Is there any way to recover a previous version of that shapefile so that >> I don't have to spend uncountable hours putting all the attributes back in? >> Here are three pictures of my work, previously and after the loss of >> information. >> >> Before data loss: >> [image: image.png] >> >> After data loss + legend of types of area: >> [image: image.png] >> >> Attribute panel: >> [image: image.png] >> >> I would be enormously grateful to anyone who could help me find a >> solution for this mess. >> >> Thank you very much in advance and have a nice day. >> Sincerely, >> Vladut Constandoiu >> ___ >> Qgis-user mailing list >> Qgis-user@lists.osgeo.org >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Question on Aequilibrae
Done y On Thu, 28 May 2020 at 08:41, Pedro Camargo wrote: > Hi Yury, > > You can definitely log a feature request as an issue on > https://github.com/AequilibraE/AequilibraE/issues > > and please send the question to aequilib...@googlegroups.com (I guess > you are part of the group) > > Cheers, > Pedro > > > > > On Thu, 28 May 2020 15:40:29 +1000 *Yury >* wrote > > Pedro, > > Thank you for the answer. Shall I send my request on github, and if yes > under the issues heading? Or the qgis users lits > qgis-user@lists.osgeo.org ? > > Regards, > > Yury > > On Thu, 28 May 2020 at 03:43, Pedro Camargo wrote: > > > Yury, > That is a very relevant question. Can you send it to the user's > list? > > The answer, however, is not yet. Select link analysis requires the > creation of a Path file, which is not yet available. > > Cheers, > Pedro > > > On Wed, 27 May 2020 22:48:37 +1000 *Yury >* wrote > > Dear Pedro, > > I have a question in relation to the functionality of Aequilibrae. Once a > traffic assignment has been set, is it possible to trace back the origins > or destinations from a given link or node? > > For example, as a result of the assignment, there are 100 vehicles that > flow on Link A. Can I determine what are the origins of those 100 vehicles > on Link A ? Can it be mapped? > > This might show potential improvements to the transport network or > services. If say 30% of vehicles on Link A arrive from a cluster of > origins, one might suggest investigating potential public transport route > that will take a share of those trips. > > I hope you understand my question. > > Regards, > > Yury Zammit > > > > > > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Question on Aequilibrae
Pedro, Thank you for the answer. Shall I send my request on github, and if yes under the issues heading? Or the qgis users lits qgis-user@lists.osgeo.org ? Regards, Yury On Thu, 28 May 2020 at 03:43, Pedro Camargo wrote: > Yury, > That is a very relevant question. Can you send it to the user's > list? > > The answer, however, is not yet. Select link analysis requires the > creation of a Path file, which is not yet available. > > Cheers, > Pedro > > > On Wed, 27 May 2020 22:48:37 +1000 *Yury >* wrote > > Dear Pedro, > > I have a question in relation to the functionality of Aequilibrae. Once a > traffic assignment has been set, is it possible to trace back the origins > or destinations from a given link or node? > > For example, as a result of the assignment, there are 100 vehicles that > flow on Link A. Can I determine what are the origins of those 100 vehicles > on Link A ? Can it be mapped? > > This might show potential improvements to the transport network or > services. If say 30% of vehicles on Link A arrive from a cluster of > origins, one might suggest investigating potential public transport route > that will take a share of those trips. > > I hope you understand my question. > > Regards, > > Yury Zammit > > > > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Installation of QGIS 3.4 continually crashes
That didn't work. I am on Win7 On Tue, 6 Aug 2019 at 14:03, Alexandre Neto wrote: > Hi, > > What operating system are you using? > > Did you import QGIS 2.x settings? > > My guess is some faulty/non-working plugin from 2.x is causing that. Or > some imported project default settings. > > Try cleaning your settings. Open QGIS using your colleague's project, go > to options > profiles and create a new (clean) profile. See if it opens > well. If it does, that should become your default profile. > > Alexandre Neto > QGIS Support > www.QCooperative.net > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Installation of QGIS 3.4 continually crashes
An update, and this is really really weird. So a colleague of mine save a QGIS3 project on our work network. If I double click on it, then I manage to open QGIS 3.4. I copied it on my PC and I managed again to open the project in QGIS3 by double clicking. Then if I close, and try to open QGIS via the Start menu, it crashes. Why? Would really like to solve this. On Tue, 2 Jul 2019 at 13:38, Yury wrote: > Yes it is in a separate directory. Tried 3.8 via osgeo and same thing > happened. > > On Tue, 2 Jul 2019, 13:22 Phil Wyatt, wrote: > >> Hi Yury, >> >> Are they installed in seperate directories? Maybe try another download in >> case there was some issue with the download of 3.4.x >> >> >> Cheers - Phil, >> On the road with his iPad >> >> On 2 Jul 2019, at 7:44 pm, Yury wrote: >> >> I cannot get QGIS 3.4 LTR to work on my PC. I have QGIS 2.18 installed >> and it works fine. But after I installed 3.4 and started the program, it >> crashes on the splash screen, just after *Starting Python *shows up. >> >> Help me please! >> >> Yury Zammit >> >> ___ >> Qgis-user mailing list >> Qgis-user@lists.osgeo.org >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >> >> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Installation of QGIS 3.4 continually crashes
Yes it is in a separate directory. Tried 3.8 via osgeo and same thing happened. On Tue, 2 Jul 2019, 13:22 Phil Wyatt, wrote: > Hi Yury, > > Are they installed in seperate directories? Maybe try another download in > case there was some issue with the download of 3.4.x > > > Cheers - Phil, > On the road with his iPad > > On 2 Jul 2019, at 7:44 pm, Yury wrote: > > I cannot get QGIS 3.4 LTR to work on my PC. I have QGIS 2.18 installed > and it works fine. But after I installed 3.4 and started the program, it > crashes on the splash screen, just after *Starting Python *shows up. > > Help me please! > > Yury Zammit > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Installation of QGIS 3.4 continually crashes
I cannot get QGIS 3.4 LTR to work on my PC. I have QGIS 2.18 installed and it works fine. But after I installed 3.4 and started the program, it crashes on the splash screen, just after *Starting Python *shows up. Help me please! Yury Zammit ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] MySQL Importer plugin
Hello, I am trying to install the MySQL Importer plugin, but on installation, I get the following error: - No module named MySQLdb However, I do have the python extension mysqlclient installed: C:\Users\yury>pip install mysqlclient Requirement already satisfied: mysqlclient in c:\python27\lib\site-packages (1.3 .13) I am using QGIS 2.18.23 and have python 2.7 installed. Thanks for your help. Regards, Yury ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user