Re: [Qgis-user] Missing Raster Calculator in QGIS 3.34
Whouuu – I normally look at the changelog. And didn´t see this. My raster classes start just after Christmas and all my matrtial are now outdated :-O Sebastian – Thanks for telling me. Regards Lene Fra: Sebastian Gutwein Sendt: 18. december 2023 15:00 Til: Lene Fischer Cc: qgis-user@lists.osgeo.org Emne: Re: [Qgis-user] Missing Raster Calculator in QGIS 3.34 Sadly it looks like there was a port of the Raster Calculator to C++ and that functionality wasn't ported. https://github.com/qgis/QGIS/pull/54035<https://github.com/qgis/QGIS/pull/54035> On Mon, Dec 18, 2023 at 8:08 AM Lene Fischer via QGIS-User mailto:qgis-user@lists.osgeo.org>> wrote: Hi All, I´m using QGIS 3.34 In processing>Raster Calculator I can´t find the same Raster Calculator as in 3.32. The dialog are totally changed – Can anyone tell me where to find it. In the raster calculator in 3.32 I can save function – but this has vanished. Please help me find this dialog. Regards Lene Fischer ___ QGIS-User mailing list QGIS-User@lists.osgeo.org<mailto:QGIS-User@lists.osgeo.org> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user<https://lists.osgeo.org/mailman/listinfo/qgis-user> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user<https://lists.osgeo.org/mailman/listinfo/qgis-user> -- ___ Sebastian "Bas* " Gutwein *rhymes with Josh Regenerative Design Group 1 Chevalier Ave Greenfield, Ma 01301 Web: regenerativedesigngroup.com<http://regenerativedesigngroup.com/> (631) 241-1018 Look close, think big, make change. _______ 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] Missing Raster Calculator in QGIS 3.34
Sadly it looks like there was a port of the Raster Calculator to C++ and that functionality wasn't ported. https://github.com/qgis/QGIS/pull/54035 On Mon, Dec 18, 2023 at 8:08 AM Lene Fischer via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hi All, > > I´m using QGIS 3.34 > > In processing>Raster Calculator I can´t find the same Raster Calculator as > in 3.32. > > The dialog are totally changed – Can anyone tell me where to find it. In > the raster calculator in 3.32 I can save function – but this has vanished. > > Please help me find this dialog. > > > > Regards > > Lene Fischer > > > ___ > 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 > -- ___ Sebastian "Bas* " Gutwein *rhymes with Josh Regenerative Design Group 1 Chevalier Ave Greenfield, Ma 01301 Web: regenerativedesigngroup.com (631) 241-1018 *Look close, think big, make change. * ___ 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] Missing Raster Calculator in QGIS 3.34
Hi All, I´m using QGIS 3.34 In processing>Raster Calculator I can´t find the same Raster Calculator as in 3.32. The dialog are totally changed - Can anyone tell me where to find it. In the raster calculator in 3.32 I can save function - but this has vanished. Please help me find this dialog. Regards Lene Fischer ___ 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] Canvas larger than viewport is rendered/drawn for vector layers, but not for raster layers
I have tried out version 3.34 with the rendering profiler. However, I misunderstood your response and thought that it was a feature that would let me set a rendering profille, ie let me choose to have some raster layers prerendered outside the visible extent. Anyway, the profiler feature is quite cool feature, and interesting to watch :) Lets say I have a some locally stored raster data, e.g. xyz tiles or geopackage. What would it take if I wanted those to be prerendered outside the visible extent? I think my PC should be able to handle that. Would I need to dig into the C++ code and make my own build with my own preferences? Are there any articles out there that I should have a look at? I suspect I am not the first one who is looking to have raster layers prerendered :) Sincerely On Sat, Dec 16, 2023 at 2:49 PM Thomas Larsen Wessel wrote: > Thanks :) I am looking forward to testing that new feature out :) > > On Mon, Dec 11, 2023 at 10:47 AM Nyall Dawson > wrote: > >> >> >> On Thu, 16 Nov 2023, 2:40 am Thomas Larsen Wessel via QGIS-User, < >> qgis-user@lists.osgeo.org> wrote: >> >>> This screen capture demonstrates much better than words: >>> https://imgur.com/5LSEsiY. >>> >>> Is there any way I can make it prerender the raster data as well? >>> >>> What I have already tried: >>> * setting almost infinite cache size >>> * all the relevant QGIS options/settings I could find >>> * both local (gpkg) and remote WMS raster data >>> * both Windows and Linux >>> * QGIS 3.22 and 3.30 >>> * different CRS for layer >>> >>> Some of my tests did make the rendering speed up, but no matter what it >>> always renders the raster data only for the canvas inside the view port, >>> and does not render anything outside of the view port, whereas vector data >>> is always rendered for an area that extends outside the view port. >>> >> >> There's a few parts to the logic defining whether a layer will be >> included in the outside-visible-extent preview: >> >> - WMS layers are **never** included. This is by design, to reduce >> unnecessary server load >> - when a layer is drawn the time taken to render it is recorded. If this >> time exceeds a certain threshold, then the layer is marked as too expensive >> to render in these optional out-of-canvas areas. >> >> (You can check the new renderer profile option available in the F12 >> debugging tools panel in 3.34 for more detailed information about layer >> render times) >> >> Nyall >> >> >> >>> Sincerely, Thomas >>> ___ >>> 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] Canvas larger than viewport is rendered/drawn for vector layers, but not for raster layers
Thanks :) I am looking forward to testing that new feature out :) On Mon, Dec 11, 2023 at 10:47 AM Nyall Dawson wrote: > > > On Thu, 16 Nov 2023, 2:40 am Thomas Larsen Wessel via QGIS-User, < > qgis-user@lists.osgeo.org> wrote: > >> This screen capture demonstrates much better than words: >> https://imgur.com/5LSEsiY. >> >> Is there any way I can make it prerender the raster data as well? >> >> What I have already tried: >> * setting almost infinite cache size >> * all the relevant QGIS options/settings I could find >> * both local (gpkg) and remote WMS raster data >> * both Windows and Linux >> * QGIS 3.22 and 3.30 >> * different CRS for layer >> >> Some of my tests did make the rendering speed up, but no matter what it >> always renders the raster data only for the canvas inside the view port, >> and does not render anything outside of the view port, whereas vector data >> is always rendered for an area that extends outside the view port. >> > > There's a few parts to the logic defining whether a layer will be included > in the outside-visible-extent preview: > > - WMS layers are **never** included. This is by design, to reduce > unnecessary server load > - when a layer is drawn the time taken to render it is recorded. If this > time exceeds a certain threshold, then the layer is marked as too expensive > to render in these optional out-of-canvas areas. > > (You can check the new renderer profile option available in the F12 > debugging tools panel in 3.34 for more detailed information about layer > render times) > > Nyall > > > >> Sincerely, Thomas >> ___ >> 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] Oracle DB connection in QGIS
Hi Michaela, did you check theese options? * "Use estimated table metadata" * "Only look for user tables" best regards Stefan Stefan Giese Projektleiter/Consultant ** Where2B Konferenz 2023 14. Dezember 2023 in Bonn und Online https://where2b-conference.com/ ** WhereGroup GmbH Schwimmbadstr. 2 79100 Freiburg Germany Tel.: +49 (0)761 / 519 102 - 61 Fax: +49 (0)761 / 519 102 - 11 stefan.gi...@wheregroup.com www.wheregroup.com Geschäftsführer: Olaf Knopp, Peter Stamm Amtsgericht Bonn, HRB 9885 Am 15.12.2023 um 08:28 schrieb Huesmann, Michaela via QGIS-User: Hello QGIS Users, I need to access an Oracle Database in QGIS. The scheme I need to connect to has plenty of tables and Views and it seems that all data is loaded in the background even before I was able to select the few tables I will really need. This lakes a lot of time. Is this a normal behaviour or can I ajust something in Database options? Thanks for your help! Best regards, Michaela Kreisstadt Steinfurt <http://www.steinfurt.de> - 48565 Steinfurt www.steinfurt.de <http://www.steinfurt.de> Mit freundlichen Grüßen im Auftrag MichaelaHuesmann IT Fachdienst Tiefbau Tel.: +49 2552 925 219 Fax: E-Mail: michaela.huesm...@stadt-steinfurt.de <mailto:michaela.huesm...@stadt-steinfurt.de> Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. _______ 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-us_______ 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] Oracle DB connection in QGIS
Hello QGIS Users, I need to access an Oracle Database in QGIS. The scheme I need to connect to has plenty of tables and Views and it seems that all data is loaded in the background even before I was able to select the few tables I will really need. This lakes a lot of time. Is this a normal behaviour or can I ajust something in Database options? Thanks for your help! Best regards, Michaela [Kreisstadt Steinfurt]<http://www.steinfurt.de> - 48565 Steinfurt www.steinfurt.de<http://www.steinfurt.de> Mit freundlichen Grüßen im Auftrag Michaela Huesmann IT Fachdienst Tiefbau Tel.: +49 2552 925 219 Fax: E-Mail: michaela.huesm...@stadt-steinfurt.de<mailto:michaela.huesm...@stadt-steinfurt.de> Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. ___ 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] Support for Mesh layers (netCDF) on Postgis/Postgresql: is it possible?
Hi Saber, Thank you for your feedback. You are an expert on the subject and I really appreciate your comments. Postgresql is probably not the best option in terms of performance. But it is a practical solution to centralize all information in a single place. I'm using postgis raster support, for example, which is not faster than files, but it is ok for my use cases. I have all the spatial data in one place, where I can manage authentication and authorizations quite well. The end user will use a cached WMTS/TMS service (MapProxy on top of QGIS Server), and the performance will be ok. I want to use QGIS Server to provide data in netCDF files as temporal layers. The end user will use cached data and will not notice any performance issues. The cache can be created once, since the data is always in the past. That's my use case: I'm not processing the data or making any processing. Just providing maps/tiles. GDAL and QGIS works very well with Postgresql and users are familiar with Postgresql (setup and usage). How difficult would be to have netCDF data in Postgresql? 1) We should have a way to store the data (and metadata) on the database (like we do with rasters, with raster2pgsql). 2) We need to improve QgsMeshLayer to read from a PG uri, like: uri_config = { 'service':'atlantico', 'schema':'public', 'table':'az1_hs_2023101200_03', 'geometrycolumn':'rast' } uri_config = {key:val for key, val in uri_config.items() if val is not None} md = QgsProviderRegistry.instance().providerMetadata('mdal') uri = QgsDataSourceUri(md.encodeUri(uri_config)) mesh_layer = QgsMeshLayer(uri.uri(False), "layer_name", "mdal") If you think this does not make sense, you are probably right :-) I'm quite new to netCDF data and I just want to use the tools I'm used to have with this format. Regards, Jorge On 14/12/23 10:13, Saber Razmjooei wrote: Hi Jorge, What is your motivation for storing mesh data in PG? If you want to have fast access to large central datasets, PG is probably not a good storage option. Best to investigate Zarr (https://zarr.dev/) which is a cloud optimised format for large multidimensional datasets. We need to first implement it in MDAL for QGIS to be able to load the data effectively. Another option to serve large NetCDF/GRIB data is to set up an EDR (https://ogcapi.ogc.org/edr/overview.html) service which we are adding support for it in QGIS. Kind regards Saber On Wed, 13 Dec 2023 at 19:36, Jorge Gustavo Rocha via QGIS-User wrote: Hi, I'm playing with netCDF files. I add them to QGIS using the mdal provider (mesh layer). Reading netCDF data from files works very well. My question is: is it possible to read netCDF data from Postgis/Postgresql? I can store netCDF files in Postgis using raster2pgsql, but the data is stored as raster and I can only open it as raster in QGIS and not as mesh. Is works, but not as good as the mesh support. I'm storing it, using something like this: raster2pgsql -s 4326 -d -I -C -M AZ1_HS_2023101200.nc -F public.az1_hs_2023101200 | psql service=atlantico Thanks in advance, Jorge Gustavo ___ 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 -- Saber Razmjooei www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk> +44 (0)7568 129733_______ 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] Support for Mesh layers (netCDF) on Postgis/Postgresql: is it possible?
Hi Jorge, What is your motivation for storing mesh data in PG? If you want to have fast access to large central datasets, PG is probably not a good storage option. Best to investigate Zarr (https://zarr.dev/) which is a cloud optimised format for large multidimensional datasets. We need to first implement it in MDAL for QGIS to be able to load the data effectively. Another option to serve large NetCDF/GRIB data is to set up an EDR ( https://ogcapi.ogc.org/edr/overview.html) service which we are adding support for it in QGIS. Kind regards Saber On Wed, 13 Dec 2023 at 19:36, Jorge Gustavo Rocha via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hi, > > I'm playing with netCDF files. I add them to QGIS using the mdal > provider (mesh layer). Reading netCDF data from files works very well. > > My question is: is it possible to read netCDF data from Postgis/Postgresql? > > I can store netCDF files in Postgis using raster2pgsql, but the data is > stored as raster and I can only open it as raster in QGIS and not as > mesh. Is works, but not as good as the mesh support. > > I'm storing it, using something like this: > > raster2pgsql -s 4326 -d -I -C -M AZ1_HS_2023101200.nc -F > public.az1_hs_2023101200 | psql service=atlantico > > Thanks in advance, > > Jorge Gustavo > > ___ > 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 > -- Saber Razmjooei www.lutraconsulting.co.uk +44 (0)7568 129733 ___ 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] Support for Mesh layers (netCDF) on Postgis/Postgresql: is it possible?
Hi, I'm playing with netCDF files. I add them to QGIS using the mdal provider (mesh layer). Reading netCDF data from files works very well. My question is: is it possible to read netCDF data from Postgis/Postgresql? I can store netCDF files in Postgis using raster2pgsql, but the data is stored as raster and I can only open it as raster in QGIS and not as mesh. Is works, but not as good as the mesh support. I'm storing it, using something like this: raster2pgsql -s 4326 -d -I -C -M AZ1_HS_2023101200.nc -F public.az1_hs_2023101200 | psql service=atlantico Thanks in advance, Jorge Gustavo ___ 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] [extern] Re: Problem with Python/Qgis
Gaël Kermarrec kermarrec at meteo.uni-hannover.de Tue Dec 12 23:38:24 PST 2023 Hi, this is a qgis python problem since I got such error for everything involving python with qgis. This was just an exemple. For sure I installed and reinstalled it :-). I hope that someone had the same pb Hi Gaël, have you tried if the issue occurs using a new QGIS user profile as previously recommended? if it still occur also using a new QGIS user profile, then please provide the full error messages log, not only an example. Best regards. Andrea ___ 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] osgeo4w not updating installation
Hi, Wondering if anyone can help me with my problem. I've been experimenting with running OSGEO4w installer from command line to update the ltr with out having to click OK 15 times. I used the following commands -k -o -g --quiet-mode --packages qgis-ltr-full -R "C:\OSGeo4W" This appeared to run, and if I run setup again it shows 3.28.13-2 as installed, but if I actually open qgis it is still 3.28.12 Even if I uninstall and reinstall with OSGEO4W-setup it remains 3.28.12 There are no standalone versions installed. Anyone have any ideas what I might have done wrong or how to fix it? Deleting the entire OSGeo4W directory and starting again works, but doesn't help with my plan to make updates easier! ___ 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] [extern] Re: Problem with Python/Qgis
Hi, this is a qgis python problem since I got such error for everything involving python with qgis. This was just an exemple. For sure I installed and reinstalled it :-). I hope that someone had the same pb Le 13 décembre 2023 07:56:38 GMT+01:00, Frank Broniewski a écrit : >Hi Gael, > >this is not a QGIS problem, but one of your installed plugins is causing the >issue. The first line mentions it already >> Couldn't load plugin 'crayfish' > >I don't know the plugin, but you could try to delete / uninstall it and >reinstall it again. If you go in a terminal to >/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins and >delete the 'crayfish' folder, QGIS should start without the error. > >Further down the line the vrtbuilder plugin is mentioned as well, you might >want to delete and reinstall it as well, just to be sure if the crayfish >plugin is a dependency of the vrtbuilder plugin. > >HTH >Frank > >____ >Von: QGIS-User im Auftrag von Gael >Kermarrec via QGIS-User >Gesendet: Mittwoch, 13. Dezember 2023 01:52 >An: chris hermansen >Cc: qgis-user@lists.osgeo.org >Betreff: Re: [Qgis-user] [extern] Re: Problem with Python/Qgis > > >thanks chris for your help. I tried your suggestion, I was able to install >Qgis but interestingly as I launched it I got immediatly the error message > >Couldn't load plugin 'crayfish' due to an error when calling its initGui() >method AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow' >Traceback (most recent call last): File >"/usr/lib/python3/dist-packages/qgis/utils.py", line 448, in startPlugin >plugins[packageName].initGui() File >"/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/plugin.py", > line 96, in initGui w = CrayfishPlotWidget(self.plot_dock_widget) File >"/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/gui/plot_widget.py", > line 186, in __init__ self.gw = pyqtgraph.GraphicsWindow() AttributeError: >module 'pyqtgraph' has no attribute 'GraphicsWindow' Python version: 3.8.10 >(default, Nov 22 2023, 10:22:35) [GCC 9.4.0] QGIS version: 3.26.3-Buenos Aires >Buenos Aires, 65e4edfdad Python Path: /usr/share/qgis/python >/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python >/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins >/usr/share/qgis/python/plugins /usr/lib/python38.zip /usr/lib/python3.8 >/usr/lib/python3.8/lib-dynload /usr/local/lib/python3.8/dist-packages >/usr/lib/python3/dist-packages >/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python >/home/kermarrec/.local/share/gis4wrf/python38/local/lib/python3.8/site-packages > /home/kermarrec/.local/share/gis4wrf/python38/lib/python3/site-packages >/home/kermarrec/.local/share/gis4wrf/python38/lib/python3.8/site-packages . >/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin > >/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin/vrtbuilder > >I have no idea what I could do to solve the problem. > >gael. > >On 12/12/23 18:36, chris hermansen wrote: >Gael and list, > >On Tue, Dec 12, 2023 at 8:03 AM Gael Kermarrec via QGIS-User >mailto:qgis-user@lists.osgeo.org>> wrote: >Dear members, > >I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo >apt install qgis qgis-plugin-grass I become the following: > > >The following packages contain unsatisfied dependencies: >qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but >1:3.26.3+32focal-ubuntugis needs to be installed >Depends on qgis-providers (= 1:3.22.16+32focal) but >1:3.26.3+32focal-ubuntugis needs to be installed >Depends on qgis-common (= 1:3.22.16+32focal) but >1:3.26.3+32focal-ubuntugis needs to be installed >qgis-plugin-grass: Depends on qgis-plugin-grass-common (= >1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed >Depends on grass782 >E: Unable to correct problems, defective packages are in "keep in the >current state" mode. > >I have no idea what I should do to make it works. Maybe somebody had the >same problem, I would be grateful to get some support as I would like to >work with QGis. > >It looks as though you might be trying to work with the ubuntugis PPA. If >that's so, maybe you should consider trying the suggested methodology on the >QGIS site here: > >https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu > >If you just want to correct the unsatisfied dependencies, it's probably worth >trying your command again with the "-f" option: > >apt install -f qgis qgis-plugin-
Re: [Qgis-user] [extern] Re: Problem with Python/Qgis
Gael Kermarrec kermarrec at meteo.uni-hannover.de Tue Dec 12 16:52:37 PST 2023 Couldn't load plugin 'crayfish' due to an error when calling its initGui() method AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow' Traceback (most recent call last) Hi Gael, the error message is quite clear: it is caused by the external plugin "crayfish" you have installed in the QGIS user profile "default". The issue has been already reported [1]. Te easiest way to get rid of the error message is to uninstall such external plugin or to use a new QGIS user profile [2][3] or to start QGIS without any plugin enabled [3]. Best regards. Andrea [1] https://github.com/lutraconsulting/qgis-crayfish-plugin/issues/499 [2] https://docs.qgis.org/3.28/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles [3] https://docs.qgis.org/3.28/en/docs/user_manual/introduction/qgis_configuration.html#command-line-and-environment-variables ___ 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] [extern] Re: Problem with Python/Qgis
Hi Gael, this is not a QGIS problem, but one of your installed plugins is causing the issue. The first line mentions it already > Couldn't load plugin 'crayfish' I don't know the plugin, but you could try to delete / uninstall it and reinstall it again. If you go in a terminal to /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins and delete the 'crayfish' folder, QGIS should start without the error. Further down the line the vrtbuilder plugin is mentioned as well, you might want to delete and reinstall it as well, just to be sure if the crayfish plugin is a dependency of the vrtbuilder plugin. HTH Frank Von: QGIS-User im Auftrag von Gael Kermarrec via QGIS-User Gesendet: Mittwoch, 13. Dezember 2023 01:52 An: chris hermansen Cc: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] [extern] Re: Problem with Python/Qgis thanks chris for your help. I tried your suggestion, I was able to install Qgis but interestingly as I launched it I got immediatly the error message Couldn't load plugin 'crayfish' due to an error when calling its initGui() method AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qgis/utils.py", line 448, in startPlugin plugins[packageName].initGui() File "/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/plugin.py", line 96, in initGui w = CrayfishPlotWidget(self.plot_dock_widget) File "/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/gui/plot_widget.py", line 186, in __init__ self.gw = pyqtgraph.GraphicsWindow() AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow' Python version: 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0] QGIS version: 3.26.3-Buenos Aires Buenos Aires, 65e4edfdad Python Path: /usr/share/qgis/python /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins /usr/share/qgis/python/plugins /usr/lib/python38.zip /usr/lib/python3.8 /usr/lib/python3.8/lib-dynload /usr/local/lib/python3.8/dist-packages /usr/lib/python3/dist-packages /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python /home/kermarrec/.local/share/gis4wrf/python38/local/lib/python3.8/site-packages /home/kermarrec/.local/share/gis4wrf/python38/lib/python3/site-packages /home/kermarrec/.local/share/gis4wrf/python38/lib/python3.8/site-packages . /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin/vrtbuilder I have no idea what I could do to solve the problem. gael. On 12/12/23 18:36, chris hermansen wrote: Gael and list, On Tue, Dec 12, 2023 at 8:03 AM Gael Kermarrec via QGIS-User mailto:qgis-user@lists.osgeo.org>> wrote: Dear members, I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo apt install qgis qgis-plugin-grass I become the following: The following packages contain unsatisfied dependencies: qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on qgis-providers (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on qgis-common (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed qgis-plugin-grass: Depends on qgis-plugin-grass-common (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on grass782 E: Unable to correct problems, defective packages are in "keep in the current state" mode. I have no idea what I should do to make it works. Maybe somebody had the same problem, I would be grateful to get some support as I would like to work with QGis. It looks as though you might be trying to work with the ubuntugis PPA. If that's so, maybe you should consider trying the suggested methodology on the QGIS site here: https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu If you just want to correct the unsatisfied dependencies, it's probably worth trying your command again with the "-f" option: apt install -f qgis qgis-plugin-grass In any event, I suggest you read this useful mini-tutorial on fixing unsatisfied dependencies. https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa -- Chris Hermansen · clhermansen "at" gmail "dot" com C'est ma façon de parler. -- ---- Dr. Gael Kermarrec Institute for meteorology and climatology Leibniz Universität Hannover Herrenhäuser Str. 2 D-30419 Hannover Tel: +49 511 762 2679 Email: kermar...@meteo.uni-hannover.de<mailto:kermar...@meteo.uni-hannover.de> Web: www.meteo.uni-hannover.de<http://www.meteo.uni-hannover.de>
Re: [Qgis-user] [extern] Re: Problem with Python/Qgis
thanks chris for your help. I tried your suggestion, I was able to install Qgis but interestingly as I launched it I got immediatly the error message Couldn't load plugin 'crayfish' due to an error when calling its initGui() method AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qgis/utils.py", line 448, in startPlugin plugins[packageName].initGui() File "/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/plugin.py", line 96, in initGui w = CrayfishPlotWidget(self.plot_dock_widget) File "/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/gui/plot_widget.py", line 186, in __init__ self.gw = pyqtgraph.GraphicsWindow() AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow' Python version: 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0] QGIS version: 3.26.3-Buenos Aires Buenos Aires, 65e4edfdad Python Path: /usr/share/qgis/python /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins /usr/share/qgis/python/plugins /usr/lib/python38.zip /usr/lib/python3.8 /usr/lib/python3.8/lib-dynload /usr/local/lib/python3.8/dist-packages /usr/lib/python3/dist-packages /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python /home/kermarrec/.local/share/gis4wrf/python38/local/lib/python3.8/site-packages /home/kermarrec/.local/share/gis4wrf/python38/lib/python3/site-packages /home/kermarrec/.local/share/gis4wrf/python38/lib/python3.8/site-packages . /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin/vrtbuilder I have no idea what I could do to solve the problem. gael. On 12/12/23 18:36, chris hermansen wrote: Gael and list, On Tue, Dec 12, 2023 at 8:03 AM Gael Kermarrec via QGIS-User wrote: Dear members, I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo apt install qgis qgis-plugin-grass I become the following: The following packages contain unsatisfied dependencies: qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on qgis-providers (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on qgis-common (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed qgis-plugin-grass: Depends on qgis-plugin-grass-common (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on grass782 E: Unable to correct problems, defective packages are in "keep in the current state" mode. I have no idea what I should do to make it works. Maybe somebody had the same problem, I would be grateful to get some support as I would like to work with QGis. It looks as though you might be trying to work with the ubuntugis PPA. If that's so, maybe you should consider trying the suggested methodology on the QGIS site here: https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu If you just want to correct the unsatisfied dependencies, it's probably worth trying your command again with the "-f" option: apt install -f qgis qgis-plugin-grass In any event, I suggest you read this useful mini-tutorial on fixing unsatisfied dependencies. https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa -- Chris Hermansen · clhermansen "at" gmail "dot" com C'est ma façon de parler. -- ---- Dr. Gael Kermarrec Institute for meteorology and climatology Leibniz Universität Hannover Herrenhäuser Str. 2 D-30419 Hannover Tel: +49 511 762 2679 Email:kermar...@meteo.uni-hannover.de Web:www.meteo.uni-hannover.de ___ 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] Problem with Python/Qgis
Gael and list, On Tue, Dec 12, 2023 at 8:03 AM Gael Kermarrec via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Dear members, > > I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo > apt install qgis qgis-plugin-grass I become the following: > > > The following packages contain unsatisfied dependencies: > qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but > 1:3.26.3+32focal-ubuntugis needs to be installed > Depends on qgis-providers (= 1:3.22.16+32focal) but > 1:3.26.3+32focal-ubuntugis needs to be installed > Depends on qgis-common (= 1:3.22.16+32focal) but > 1:3.26.3+32focal-ubuntugis needs to be installed > qgis-plugin-grass: Depends on qgis-plugin-grass-common (= > 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed > Depends on grass782 > E: Unable to correct problems, defective packages are in "keep in the > current state" mode. > > I have no idea what I should do to make it works. Maybe somebody had the > same problem, I would be grateful to get some support as I would like to > work with QGis. > > It looks as though you might be trying to work with the ubuntugis PPA. If that's so, maybe you should consider trying the suggested methodology on the QGIS site here: https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu If you just want to correct the unsatisfied dependencies, it's probably worth trying your command again with the "-f" option: apt install -f qgis qgis-plugin-grass In any event, I suggest you read this useful mini-tutorial on fixing unsatisfied dependencies. https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa -- Chris Hermansen · clhermansen "at" gmail "dot" com C'est ma façon de parler. _______ 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] Problem with Python/Qgis
Hi Gael, I'm using QGis on Linux Mint, an Ubuntu fork, with no problems, so just some notes. - Did you follow https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu? - Did you run "sudo apt update" before "sudo apt install"? - There seems to be an older installation, You could try "sudo apt-get purge qgis qgis-plugin-grass python3-qgis qgis-providers qgis-common" before... hth Ludwig Am 12.12.23 um 16:57 schrieb Gael Kermarrec via QGIS-User: Dear members, I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo apt install qgis qgis-plugin-grass I become the following: The following packages contain unsatisfied dependencies: qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on qgis-providers (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on qgis-common (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed qgis-plugin-grass: Depends on qgis-plugin-grass-common (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on grass782 E: Unable to correct problems, defective packages are in "keep in the current state" mode. I have no idea what I should do to make it works. Maybe somebody had the same problem, I would be grateful to get some support as I would like to work with QGis. Thanks, gael. _______ 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] Problem with Python/Qgis
Dear members, I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo apt install qgis qgis-plugin-grass I become the following: The following packages contain unsatisfied dependencies: qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on qgis-providers (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on qgis-common (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed qgis-plugin-grass: Depends on qgis-plugin-grass-common (= 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed Depends on grass782 E: Unable to correct problems, defective packages are in "keep in the current state" mode. I have no idea what I should do to make it works. Maybe somebody had the same problem, I would be grateful to get some support as I would like to work with QGis. Thanks, gael. -- ---- Dr. Gael Kermarrec Institute for meteorology and climatology Leibniz Universität Hannover Herrenhäuser Str. 2 D-30419 Hannover Tel: +49 511 762 2679 Email: kermar...@meteo.uni-hannover.de Web: www.meteo.uni-hannover.de ___ 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] Accessing iface from jupyter
Thank you for your response. I have succeeded in adding all the shapefiles and google map layer in my map. I have another type of file which is mike dfsu file.I have added the layer dictionary in the attachment. I have five dfsu files as you can see. I need to make each layer active one at a time and create a map. So there will be five maps finally. But I can't find any resource with a solution for handling such files. Can you share any way to add such a file in a map? [image: image.png] Regards, Noshin Saiyara On Fri, 8 Dec 2023 at 03:15, Thomas Gratier wrote: > Hi, > > iface is only accessible via QGIS console. It's not available within > Jupyter. See the examples for standalone usage of PyQGIS to manipulate QGIS > project, create an UI > https://gist.github.com/ThomasG77/f711853e5fb81c746d2a1af0b2a9ecf5 and > run some PyQGIS things within Jupyter > https://gist.github.com/ThomasG77/223064813d8aefda5b3cdb05c2588fa1 > Links more to help you getting started on a right track when doing > standalone dev using PyQGIS. > > Regards > > Thomas GRATIER > > Le mar. 5 déc. 2023 à 11:38, noshin prachi via QGIS-User < > qgis-user@lists.osgeo.org> a écrit : > >> Dear all, >> I am trying to create a map from qgis using jupyter. I have few layers >> that need to be added to the map. I have tried to add iface by importing >> iface from qgis.utils import iface, plugins . But I am getting the >> following error. >> [image: image.png] >> >> Please help me in this regard. >> >> Regards, >> Noshin Saiyara >> ___ >> 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] What is the r coordinate?
Thanks, I should have found that, but was tripped up by https://github.com/qgis/QGIS-Website/issues/961 and not reading carefully enough. I wondered if it was a radius, but I thought if so I would be able to type a radius in to turn a vertex into a curve - I was mainly confused because digitising curves doesn't work here for CompoundCurve and MultiCurve memory layers (they are digitised as if the provider doesn't support curves; maybe I have a plugin that is causing this problem). Now that I've tried a CurvePolygon layer it all becomes clear. And I see that to convert between a vertex and a curve you select it with the node tool and press 'o'. Thanks. On Tue, 12 Dec 2023 at 12:56, Emma Hain wrote: > Hi Alister > The 'r' coordinate is for the radius > > https://docs.qgis.org/3.28/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html?highlight=vertex%20editor#the-vertex-editor-panel > > Cheers > Em > > On Tue, 12 Dec 2023 at 09:22, Alister Hood via QGIS-User < > qgis-user@lists.osgeo.org> wrote: > >> The vertex editor panel always seems to include a column for an r >> coordinate. It always seems to be empty and anything I try to type in it >> is thrown away. >> What is it? I guess I haven't been looking carefully enough, but I can't >> seem to find it explained anywhere. >> >> You can see a screenshot in the docs at: >> >> https://docs.qgis.org/3.34/en/docs/training_manual/create_vector_data/create_new_vector.html?highlight=vertex%20editor#moderate-fa-using-vertex-editor-table >> >> Thanks. >> ___ >> 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 >> > > > -- > Emma Hain — Product Manager/Senior GIS Analyst > e...@north-road.com / 0414 512 782 > [image: https://north-road.com] > *North Road* > Cartography • Development • Spatial Analysis > -- > *north-road.com* <http://north-road.com> > <https://twitter.com/northroadgeo> > <https://www.linkedin.com/company/north-road-studios> > <https://www.facebook.com/North-Road-997236690392419/home> > > _______ 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] What is the r coordinate?
Hi Alister The 'r' coordinate is for the radius https://docs.qgis.org/3.28/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html?highlight=vertex%20editor#the-vertex-editor-panel Cheers Em On Tue, 12 Dec 2023 at 09:22, Alister Hood via QGIS-User < qgis-user@lists.osgeo.org> wrote: > The vertex editor panel always seems to include a column for an r > coordinate. It always seems to be empty and anything I try to type in it > is thrown away. > What is it? I guess I haven't been looking carefully enough, but I can't > seem to find it explained anywhere. > > You can see a screenshot in the docs at: > > https://docs.qgis.org/3.34/en/docs/training_manual/create_vector_data/create_new_vector.html?highlight=vertex%20editor#moderate-fa-using-vertex-editor-table > > Thanks. > ___ > 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 > -- Emma Hain — Product Manager/Senior GIS Analyst e...@north-road.com / 0414 512 782 [image: https://north-road.com] *North Road* Cartography • Development • Spatial Analysis -- *north-road.com* <http://north-road.com> <https://twitter.com/northroadgeo> <https://www.linkedin.com/company/north-road-studios> <https://www.facebook.com/North-Road-997236690392419/home> ___ 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] What is the r coordinate?
The vertex editor panel always seems to include a column for an r coordinate. It always seems to be empty and anything I try to type in it is thrown away. What is it? I guess I haven't been looking carefully enough, but I can't seem to find it explained anywhere. You can see a screenshot in the docs at: https://docs.qgis.org/3.34/en/docs/training_manual/create_vector_data/create_new_vector.html?highlight=vertex%20editor#moderate-fa-using-vertex-editor-table Thanks. ___ 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] Canvas larger than viewport is rendered/drawn for vector layers, but not for raster layers
On Thu, 16 Nov 2023, 2:40 am Thomas Larsen Wessel via QGIS-User, < qgis-user@lists.osgeo.org> wrote: > This screen capture demonstrates much better than words: > https://imgur.com/5LSEsiY. > > Is there any way I can make it prerender the raster data as well? > > What I have already tried: > * setting almost infinite cache size > * all the relevant QGIS options/settings I could find > * both local (gpkg) and remote WMS raster data > * both Windows and Linux > * QGIS 3.22 and 3.30 > * different CRS for layer > > Some of my tests did make the rendering speed up, but no matter what it > always renders the raster data only for the canvas inside the view port, > and does not render anything outside of the view port, whereas vector data > is always rendered for an area that extends outside the view port. > There's a few parts to the logic defining whether a layer will be included in the outside-visible-extent preview: - WMS layers are **never** included. This is by design, to reduce unnecessary server load - when a layer is drawn the time taken to render it is recorded. If this time exceeds a certain threshold, then the layer is marked as too expensive to render in these optional out-of-canvas areas. (You can check the new renderer profile option available in the F12 debugging tools panel in 3.34 for more detailed information about layer render times) Nyall > Sincerely, Thomas > ___ > 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] Printing Qgis shown layers in new version
Hi Asim, I'm surprised that previous QGis versions should have returned three layers "Gasunie 2, Gasunie Z-509-05 and Wattinfra Kabelverbinding", because the legend image shows a single vector layer "Overzicht entities" with three classes, not three separate layers. According to https://api.qgis.org/api/classQgsProject.html: QgsProject.instance().mapLayers() => "Returns a map of all registered layers by layer ID." Perhaps you previously had three separate layers bundled in a layer group? Ludwig Am 08.12.23 um 15:47 schrieb Asim al-sofi via QGIS-User: Hi All, I have a question related to printing out the shown layers in qgis. I made a plugin that has worked fine in the older Qgis versions but not working properly in the new version. The problem that iam facing is that the *QgsProject.instance().mapLayers().values() *does not show me the layers shown in qgis. So in the previous version, the below image gives me the names of the layers *Gasunie 2, Gasunie Z-509-05 and Wattinfra Kabelverbinding*. But in the new Qgis version it gives me the names *Overzicht entities and openbasiskaart.nl <http://openbasiskaart.nl>*. Does anyone know how to tackle this problem? Layers.png Thanks in advance Kind regards Asim _______ 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] Locking Font Characteristics for Text Items in Print Layout
Sebastian – thank you for your thoughts. The idea that a different version of QGS might be creating the issue had occurred to me and I’ve tested that by opening the project file in the version in which it was originally created. That did not resolve the issue. It seems unlikely that corruption of a specific QGIS project file is the issue since this problem occurs with all my project files. The fonts that I’m having issues with are installed on my system and I have no issues with these same fonts in other applications on my computer. Also, once I reset the font variables in my QGIS Print Layout, they show up fine and remain unchanged for an extended time period. However, after an unknown amount of time (months to a year or so), the font characteristics reset to the default. I’ll try submitting a bug report. Tim From: Sebastian Gutwein Sent: Friday, December 8, 2023 10:09 AM To: Tim Malloy Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Locking Font Characteristics for Text Items in Print Layout Tim, I have never had the font style change on me after reopening a QGIS file. In other words they should be locked by default. To me this sounds like a bug or there is an issue with the way fonts are working on your system or your QGIS file is getting corrupted in some way. If you can share your file or create a simple file showing the issue I would suggest creating a bug report on the QGIS github site. https://github.com/qgis/QGIS/issues The volunteer bug fixers will only be able to fix your issue if they can reproduce it so if you can create a file with steps that consistently creates the problem you will have the best chances of getting it resolved. Here are some things I would consider trying. If you are using a different version of QGIS now you could try to download and use the same version of QGIS that you used previously in case something changed on the QGIS code that prevented your file from working correctly. Is it possible that the font you were using previously is no longer available on your system and QGIS is replacing it with another font? Good luck -Bas On Fri, Dec 8, 2023 at 10:39 AM Tim Malloy via QGIS-User mailto:qgis-user@lists.osgeo.org>> wrote: Hello again. Noone responded to my initial inquiry below so I’m resending the email since this issue has come up for me again. I have 14 maps that I made about a year ago to which I need to make some very minor revisions. When I opened the layouts in my project, I once again discovered that all the formatting for the text items created in Print Layout has been lost and must be reformatted. I figure it will take me about 10 minutes per map to redo all the text formatting, which translates to over 2 hours of work. The edits that my client has requested would take about 15 minutes for all 14 maps. So, I’m losing 2 hours of billable time since I can’t charge for redoing all the text item formatting. Anyone have any input? Gratefully, Tim Original Email Below: Hello all – does anyone know if there is a way to lock a text map item in QGIS Print Layout to prevent the font size and type (bold, italic, etc.) from changing over time. I’ve had several situations where I created a series of maps and exported them to PDF for a client and later needed to amend the maps and found that the text items created in Print Layout (map title, date, figure number, disclaimer statement, legend text, etc.) had reverted to a default font size and type. Having to reset all the fonts for the text items can be very time consuming when you need to do it for 20 or 30 maps. I’ve tried locking the text item in the Items panel in Print Layout but that seems only to prevent the text item from being moved but does not retain the font characteristics. Any thoughts would be appreciated. Tim ___ QGIS-User mailing list QGIS-User@lists.osgeo.org<mailto:QGIS-User@lists.osgeo.org> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user -- ___ Sebastian "Bas* " Gutwein *rhymes with Josh Regenerative Design Group 1 Chevalier Ave Greenfield, Ma 01301 Web: regenerativedesigngroup.com<http://regenerativedesigngroup.com> (631) 241-1018 Look close, think big, make change. ___ 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] IDW Interpolation not working, help!?
I can next week, just signed out for this week. Sorry and thank you. Sent from Outlook for Android<https://aka.ms/AAb9ysg> From: Alexandre Neto Sent: Friday, December 8, 2023 5:18:06 PM To: Jos Thio Cc: QGIS User Subject: Re: [Qgis-user] IDW Interpolation not working, help!? Can you share the log of the processing tool? Sent with Shortwave<https://www.shortwave.com?utm_medium=email_content=signature_source=c2VuaG9yLm5ldG9AZ21haWwuY29t> On Fri Dec 8, 2023, 05:14 PM GMT, Jos Thio<mailto:t...@geoscience.co.uk> wrote: Hi Alexandre, Yes, I've tried it with various datasets and started from scratch a few times. Very confused and frustrated at the moment. Thanks, Jos Sent from Outlook for Android<https://aka.ms/AAb9ysg> From: Alexandre Neto Sent: Friday, December 8, 2023 5:12:25 PM To: Jos Thio Cc: QGIS User Subject: Re: [Qgis-user] IDW Interpolation not working, help!? Have you tried with a clean profile? Have you tried with a different dataset? Best regards, Alexandre Neto A sexta, 8/12/2023, 14:18, Jos Thio via QGIS-User mailto:qgis-user@lists.osgeo.org>> escreveu: Hi All, I have been attempting to interpolate some data, but have been unable to make any progress. The function is not working - I have already uninstalled two new versions of Q to see if it works before returning to Firenze. However, still no luck. I hit 'Run' - the meter shoots to 99% - before dropping to 0% and hanging. Can anyone suggest a fix or know what is going on? * which QGIS version ? - 3.28.13 * what are you expecting to get? - an interpolated surface made from z-value in points shapefile cut to the extent of a polygon * if applicable, what have you tried and the result you got? - No results, simply left hanging on 0% for over 40 minutes before quitting application [X] Jos Thio Geothermal Geologist GeoScience Limited [X] Oilfield Geomechanics <https://www.geoscience.co.uk/oilfieldgeomechanics> - Geothermal Engineering <https://www.geoscience.co.uk/geothermal> - Ground Source Heat Pumps<https://www.geoscience.co.uk/gshp> [X] tel: +44 (0) 1326 211070 | web: www.geoscience.co.uk<http://www.geoscience.co.uk/> _ Falmouth Business Park | Bickland Water Rd | Falmouth | Cornwall | TR11 4SZ | UK Registered in England No: 1930745 IMPORTANT NOTICE: This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited and may be a criminal offence. If you have received this email in error please inform the sender and delete it from your mailbox or any other storage mechanism. Any communication of a personal nature in this message is not made by or on behalf of any GeoScience Group company. Please note that the sender’s email address and all other GeoScience Group email addresses are not valid addresses for the service of legal proceedings. _______ QGIS-User mailing list QGIS-User@lists.osgeo.org<mailto: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] IDW Interpolation not working, help!?
Can you share the log of the processing tool? Sent with Shortwave <https://www.shortwave.com?utm_medium=email_content=signature_source=c2VuaG9yLm5ldG9AZ21haWwuY29t> On Fri Dec 8, 2023, 05:14 PM GMT, Jos Thio <mailto:t...@geoscience.co.uk> wrote: > Hi Alexandre, > > Yes, I've tried it with various datasets and started from scratch a few times. > > Very confused and frustrated at the moment. > > Thanks, > Jos > > Sent from Outlook for Android <https://aka.ms/AAb9ysg> -- > From: Alexandre Neto > Sent: Friday, December 8, 2023 5:12:25 PM > To: Jos Thio > Cc: QGIS User > Subject: Re: [Qgis-user] IDW Interpolation not working, help!? > Have you tried with a clean profile? > Have you tried with a different dataset? > > Best regards, > > Alexandre Neto > > > A sexta, 8/12/2023, 14:18, Jos Thio via QGIS-User <mailto:qgis-user@lists.osgeo.org>> escreveu: >> Hi All, >> >> I have been attempting to interpolate some data, but have been unable to >> make any progress. The function is not working - I have already uninstalled >> two new versions of Q to see if it works before returning to Firenze. >> However, still no luck. >> >> I hit 'Run' - the meter shoots to 99% - before dropping to 0% and hanging. >> >> Can anyone suggest a fix or know what is going on? >> >> - which QGIS version ? - 3.28.13 >> - what are you expecting to get? - an interpolated surface made from z-value >> in points shapefile cut to the extent of a polygon >> - if applicable, what have you tried and the result you got? - No results, >> simply left hanging on 0% for over 40 minutes before quitting application >> [image] >> >> >> >> Jos Thio >> Geothermal Geologist >> GeoScience Limited [image] >> Oilfield Geomechanics <https://www.geoscience.co.uk/oilfieldgeomechanics>- >> Geothermal Engineering <https://www.geoscience.co.uk/geothermal> - Ground >> Source Heat Pumps <https://www.geoscience.co.uk/gshp> [image] >> tel: +44 (0) 1326 211070 | web: www.geoscience.co.uk >> <http://www.geoscience.co.uk/> >> _ >> Falmouth Business Park | Bickland Water Rd | Falmouth | Cornwall | TR11 4SZ >> | UK >> Registered in England No: 1930745 >> >> IMPORTANT NOTICE: This email is confidential, may be legally privileged, and >> is for the intended recipient only. Access, disclosure, copying, >> distribution or reliance on any of it by anyone else is prohibited and may >> be a criminal offence. If you have received this email in error please >> inform the sender and delete it from your mailbox or any other storage >> mechanism. Any communication of a personal nature in this message is not >> made by or on behalf of any GeoScience Group company. Please note that the >> sender’s email address and all other GeoScience Group email addresses are >> not valid addresses for the service of legal proceedings. >> ___ >> QGIS-User mailing list >> QGIS-User@lists.osgeo.org <mailto:QGIS-User@lists.osgeo.org> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >> <https://lists.osgeo.org/mailman/listinfo/qgis-user> >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >> <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] IDW Interpolation not working, help!?
Hi Alexandre, Yes, I've tried it with various datasets and started from scratch a few times. Very confused and frustrated at the moment. Thanks, Jos Sent from Outlook for Android<https://aka.ms/AAb9ysg> From: Alexandre Neto Sent: Friday, December 8, 2023 5:12:25 PM To: Jos Thio Cc: QGIS User Subject: Re: [Qgis-user] IDW Interpolation not working, help!? Have you tried with a clean profile? Have you tried with a different dataset? Best regards, Alexandre Neto A sexta, 8/12/2023, 14:18, Jos Thio via QGIS-User mailto:qgis-user@lists.osgeo.org>> escreveu: Hi All, I have been attempting to interpolate some data, but have been unable to make any progress. The function is not working - I have already uninstalled two new versions of Q to see if it works before returning to Firenze. However, still no luck. I hit 'Run' - the meter shoots to 99% - before dropping to 0% and hanging. Can anyone suggest a fix or know what is going on? * which QGIS version ? - 3.28.13 * what are you expecting to get? - an interpolated surface made from z-value in points shapefile cut to the extent of a polygon * if applicable, what have you tried and the result you got? - No results, simply left hanging on 0% for over 40 minutes before quitting application [cid:6e8845b6-6b7d-4dd4-a9e5-f09693cdcc98] Jos Thio Geothermal Geologist GeoScience Limited [cid:8c6e3d18-db87-4bda-a9ff-f55421271e07] Oilfield Geomechanics <https://www.geoscience.co.uk/oilfieldgeomechanics> - Geothermal Engineering <https://www.geoscience.co.uk/geothermal> - Ground Source Heat Pumps<https://www.geoscience.co.uk/gshp> [cid:4b9c8e7e-98d6-4e43-86ea-dcad39af9775] tel: +44 (0) 1326 211070 | web: www.geoscience.co.uk<http://www.geoscience.co.uk/> _ Falmouth Business Park | Bickland Water Rd | Falmouth | Cornwall | TR11 4SZ | UK Registered in England No: 1930745 IMPORTANT NOTICE: This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited and may be a criminal offence. If you have received this email in error please inform the sender and delete it from your mailbox or any other storage mechanism. Any communication of a personal nature in this message is not made by or on behalf of any GeoScience Group company. Please note that the sender’s email address and all other GeoScience Group email addresses are not valid addresses for the service of legal proceedings. _______ QGIS-User mailing list QGIS-User@lists.osgeo.org<mailto: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] Locking Font Characteristics for Text Items in Print Layout
Tim, I have never had the font style change on me after reopening a QGIS file. In other words they should be locked by default. To me this sounds like a bug or there is an issue with the way fonts are working on your system or your QGIS file is getting corrupted in some way. If you can share your file or create a simple file showing the issue I would suggest creating a bug report on the QGIS github site. https://github.com/qgis/QGIS/issues The volunteer bug fixers will only be able to fix your issue if they can reproduce it so if you can create a file with steps that consistently creates the problem you will have the best chances of getting it resolved. Here are some things I would consider trying. If you are using a different version of QGIS now you could try to download and use the same version of QGIS that you used previously in case something changed on the QGIS code that prevented your file from working correctly. Is it possible that the font you were using previously is no longer available on your system and QGIS is replacing it with another font? Good luck -Bas On Fri, Dec 8, 2023 at 10:39 AM Tim Malloy via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hello again. Noone responded to my initial inquiry below so I’m > resending the email since this issue has come up for me again. I have 14 > maps that I made about a year ago to which I need to make some very minor > revisions. When I opened the layouts in my project, I once again > discovered that all the formatting for the text items created in Print > Layout has been lost and must be reformatted. I figure it will take me > about 10 minutes per map to redo all the text formatting, which translates > to over 2 hours of work. The edits that my client has requested would > take about 15 minutes for all 14 maps. So, I’m losing 2 hours of > billable time since I can’t charge for redoing all the text item formatting. > > > > Anyone have any input? > > > > Gratefully, > > > > Tim > > > > *Original Email Below:* > > > > Hello all – does anyone know if there is a way to lock a text map item in > QGIS Print Layout to prevent the font size and type (bold, italic, etc.) > from changing over time. I’ve had several situations where I created a > series of maps and exported them to PDF for a client and later needed to > amend the maps and found that the text items created in Print Layout (map > title, date, figure number, disclaimer statement, legend text, etc.) had > reverted to a default font size and type. Having to reset all the fonts > for the text items can be very time consuming when you need to do it for 20 > or 30 maps. I’ve tried locking the text item in the Items panel in Print > Layout but that seems only to prevent the text item from being moved but > does not retain the font characteristics. > > > > Any thoughts would be appreciated. > > > > Tim > > > ___ > 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 > -- ___ Sebastian "Bas* " Gutwein *rhymes with Josh Regenerative Design Group 1 Chevalier Ave Greenfield, Ma 01301 Web: regenerativedesigngroup.com (631) 241-1018 *Look close, think big, make change. * ___ 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] Locking Font Characteristics for Text Items in Print Layout
Hello again. Noone responded to my initial inquiry below so I'm resending the email since this issue has come up for me again. I have 14 maps that I made about a year ago to which I need to make some very minor revisions. When I opened the layouts in my project, I once again discovered that all the formatting for the text items created in Print Layout has been lost and must be reformatted. I figure it will take me about 10 minutes per map to redo all the text formatting, which translates to over 2 hours of work. The edits that my client has requested would take about 15 minutes for all 14 maps. So, I'm losing 2 hours of billable time since I can't charge for redoing all the text item formatting. Anyone have any input? Gratefully, Tim Original Email Below: Hello all - does anyone know if there is a way to lock a text map item in QGIS Print Layout to prevent the font size and type (bold, italic, etc.) from changing over time. I've had several situations where I created a series of maps and exported them to PDF for a client and later needed to amend the maps and found that the text items created in Print Layout (map title, date, figure number, disclaimer statement, legend text, etc.) had reverted to a default font size and type. Having to reset all the fonts for the text items can be very time consuming when you need to do it for 20 or 30 maps. I've tried locking the text item in the Items panel in Print Layout but that seems only to prevent the text item from being moved but does not retain the font characteristics. Any thoughts would be appreciated. Tim ___ 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] Printing Qgis shown layers in new version
Hi All, I have a question related to printing out the shown layers in qgis. I made a plugin that has worked fine in the older Qgis versions but not working properly in the new version. The problem that iam facing is that the *QgsProject.instance().mapLayers().values() *does not show me the layers shown in qgis. So in the previous version, the below image gives me the names of the layers *Gasunie 2, Gasunie Z-509-05 and Wattinfra Kabelverbinding*. But in the new Qgis version it gives me the names *Overzicht entities and openbasiskaart.nl <http://openbasiskaart.nl>*. Does anyone know how to tackle this problem? [image: Layers.png] Thanks in advance Kind regards Asim ___ 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] Accessing iface from jupyter
Hi, iface is only accessible via QGIS console. It's not available within Jupyter. See the examples for standalone usage of PyQGIS to manipulate QGIS project, create an UI https://gist.github.com/ThomasG77/f711853e5fb81c746d2a1af0b2a9ecf5 and run some PyQGIS things within Jupyter https://gist.github.com/ThomasG77/223064813d8aefda5b3cdb05c2588fa1 Links more to help you getting started on a right track when doing standalone dev using PyQGIS. Regards Thomas GRATIER Le mar. 5 déc. 2023 à 11:38, noshin prachi via QGIS-User < qgis-user@lists.osgeo.org> a écrit : > Dear all, > I am trying to create a map from qgis using jupyter. I have few layers > that need to be added to the map. I have tried to add iface by importing > iface from qgis.utils import iface, plugins . But I am getting the > following error. > [image: image.png] > > Please help me in this regard. > > Regards, > Noshin Saiyara > ___ > 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] QGIS Open Day 08 December 2023
Dear QGIS Users On Friday, 08 December 2023 we will be holding our year-eand festive QGIS Open Day! What is a QGIS Open Day you may be wondering to yourself? It is an initiative to replace the wonderful community meetups we used to hold every six months when times were different. Like our in-person meetings, the event is organised on the principle of self-organisation and community participation. *Programme* - Session 1: Title, YouTube Link <https://youtube.com/live/R1g2pKIAXTs?feature=share>, Jitsi link <https://meet.jit.si/InnerFencesSupposeCrazily> - Session 2: Title, YouTube Link <https://youtube.com/live/GsnwlWwBBKY?feature=share>, Jitsi link <https://meet.jit.si/ShockedSeasSeparateForward> - Session 3: Title, YouTube Link <https://youtube.com/live/E0mniKo7TOQ?feature=share>, Jitsi link <https://meet.jit.si/ColourfulInabilitiesSettleBackwards> - Session 4: Title, YouTube Link <https://youtube.com/live/QXllaudzu_U?feature=share>, Jitsi link <https://meet.jit.si/IncredibleCasinosFarmAfterwards> *Where to watch* Please see the event wiki page at QOD-December-2023 Wiki <https://github.com/qgis/QGIS/wiki/QOD-december-2023> for all the details of times and links for participation. <https://github.com/qgis/QGIS/wiki/QOD-December-2023#recordings>Recordings All the events are recorded and made available to users who couldn't make the live events. Youtube live streams are automatically available for catch-up viewing. Reviewing video links for individual events should work without a hitch, but you can also catch up on recordings from the QGIS Youtube channel: - https://www.youtube.com/@qgishome <https://github.com/qgis/QGIS/wiki/QOD-December-2023#code-of-conduct>Code of Conduct Participants are kindly reminded to please read and observe our QGIS Code of Conduct and Diversity Statement to make these events a great experience for everyone! - Code of Conduct <https://www.qgis.org/en/site/getinvolved/governance/codeofconduct/codeofconduct.html> - Diversity Statement <https://www.qgis.org/en/site/getinvolved/governance/codeofconduct/diversitystatement.html> Please contact the Lead QOD Event Organiser, Amy by email a...@kartoza.com, or via the Telegram Channel <https://t.me/joinchat/Aq2V5RPoxYYhXqUPoxRWPQ> username @Amz if you have any queries or need help setting up events. We look forward to seeing you there! <https://github.com/qgis/QGIS/wiki/QOD-December-2023> <https://github.com/qgis/QGIS/wiki/_Footer/_edit> -- Amy Ternent GIS Technician Visit http://kartoza.com to find out about open source: * Desktop GIS programming services * Geospatial web development * GIS Training * Consulting Services Office: +27(0)71 225 0039 ___ 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] Accessing iface from jupyter to create map from QGIS
On Thu, 7 Dec 2023 at 13:13, noshin prachi via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Thank you Adam for your response. I have imported iface from from > qgis.utils import iface. I am working in qgis environment. It is my > first work with qgis and I am finding it difficult to understand. Can you > please share where I am going wrong? Is there any other way to activate a > layer from multiple layers and create a map? I have google street map , > shape file and dfsu file in these layers which are required to be added in > the map. > iface is ONLY available when you're running the QGIS desktop application. It contains methods for interacting with the parts of the desktop application, which have no meaning when run from elsewhere (such as in a notebook). In this situation you should avoid iface and use only the classes from qgis.core instead. Hope that helps! Nyall > > On Wed, 6 Dec 2023 at 18:10, Adam Nielsen via QGIS-User < > qgis-user@lists.osgeo.org> wrote: > >> > While trying to activate with iface.setactivelayer I am facing an error. >> >> The error is complaining that iface is None. Your code doesn't show >> what value you assigned to this variable - where did you set iface and >> what value did you set it to? I think you forgot to set it and that is >> why you are getting this error. >> >> Cheers, >> Adam. >> ___ >> 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] Accessing iface from jupyter to create map from QGIS
Thank you Adam for your response. I have imported iface from from qgis.utils import iface. I am working in qgis environment. It is my first work with qgis and I am finding it difficult to understand. Can you please share where I am going wrong? Is there any other way to activate a layer from multiple layers and create a map? I have google street map , shape file and dfsu file in these layers which are required to be added in the map. On Wed, 6 Dec 2023 at 18:10, Adam Nielsen via QGIS-User < qgis-user@lists.osgeo.org> wrote: > > While trying to activate with iface.setactivelayer I am facing an error. > > The error is complaining that iface is None. Your code doesn't show > what value you assigned to this variable - where did you set iface and > what value did you set it to? I think you forgot to set it and that is > why you are getting this error. > > Cheers, > Adam. > _______ > 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 > (base) C:\Users\FFWS>conda activate qgis (qgis) C:\Users\FFWS>jupyter notebook [I 2023-12-06 15:20:33.915 ServerApp] Package notebook took 0.s to import [I 2023-12-06 15:20:33.962 ServerApp] Package jupyter_lsp took 0.0473s to import [W 2023-12-06 15:20:33.962 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2023-12-06 15:20:33.993 ServerApp] Package jupyter_server_terminals took 0.0269s to import [I 2023-12-06 15:20:33.993 ServerApp] Package jupyterlab took 0.s to import [I 2023-12-06 15:20:34.087 ServerApp] Package notebook_shim took 0.s to import [W 2023-12-06 15:20:34.087 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2023-12-06 15:20:34.087 ServerApp] jupyter_lsp | extension was successfully linked. [I 2023-12-06 15:20:34.102 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2023-12-06 15:20:34.118 ServerApp] jupyterlab | extension was successfully linked. [I 2023-12-06 15:20:34.118 ServerApp] notebook | extension was successfully linked. [I 2023-12-06 15:20:34.477 ServerApp] notebook_shim | extension was successfully linked. [I 2023-12-06 15:20:34.509 ServerApp] notebook_shim | extension was successfully loaded. [I 2023-12-06 15:20:34.509 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2023-12-06 15:20:34.509 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2023-12-06 15:20:34.524 LabApp] JupyterLab extension loaded from C:\Users\FFWS\anaconda3\envs\qgis\lib\site-packages\jupyterlab [I 2023-12-06 15:20:34.524 LabApp] JupyterLab application directory is C:\Users\FFWS\anaconda3\envs\qgis\share\jupyter\lab [I 2023-12-06 15:20:34.524 LabApp] Extension Manager is 'pypi'. [I 2023-12-06 15:20:34.524 ServerApp] jupyterlab | extension was successfully loaded. [I 2023-12-06 15:20:34.524 ServerApp] notebook | extension was successfully loaded. [I 2023-12-06 15:20:34.524 ServerApp] Serving notebooks from local directory: C:\Users\FFWS [I 2023-12-06 15:20:34.524 ServerApp] Jupyter Server 2.10.0 is running at: [I 2023-12-06 15:20:34.524 ServerApp] http://localhost:/tree?token=99f5ac6fd1ec2cac299b0dcc61f5392edd69a7bbed37f1eb [I 2023-12-06 15:20:34.524 ServerApp] http://127.0.0.1:/tree?token=99f5ac6fd1ec2cac299b0dcc61f5392edd69a7bbed37f1eb [I 2023-12-06 15:20:34.524 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2023-12-06 15:20:34.571 ServerApp] To access the server, open this file in a browser: file:///C:/Users/FFWS/AppData/Roaming/jupyter/runtime/jpserver-5788-open.html Or copy and paste one of these URLs: http://localhost:/tree?token=99f5ac6fd1ec2cac299b0dcc61f5392edd69a7bbed37f1eb http://127.0.0.1:/tree?token=99f5ac6fd1ec2cac299b0dcc61f5392edd69a7bbed37f1eb [I 2023-12-06 15:20:34.665 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server [I 2023-12-06 15:20:41.701 ServerApp] Creating new notebook in [I 2023-12-06 15:20:48.258 ServerA
Re: [Qgis-user] Accessing iface from jupyter to create map from QGIS
> While trying to activate with iface.setactivelayer I am facing an error. The error is complaining that iface is None. Your code doesn't show what value you assigned to this variable - where did you set iface and what value did you set it to? I think you forgot to set it and that is why you are getting this error. Cheers, Adam. ___ 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] Accessing iface from jupyter to create map from QGIS
Dear all, I am trying to create a map from qgis. I have added a few layers and created a layout in qgis. All I want is to create a script to get a map from the layer on the layout that I have created in qgis. I have attached the code. I am thinking of activating each layer at a time so that only the activated layer will be on the layout and a map will get generated. While trying to activate with iface.setactivelayer I am facing an error. So no layer is added to the layout. I have added the code and image of the generated map. [image: Day-1.png] [image: image.png] How to access the layer in qgis? how to deactivate the first layer and then move to the next layer for the next map. Regards, Noshin #!/usr/bin/env python # coding: utf-8 # In[61]: import os from datetime import datetime, timedelta from qgis.core import ( QgsGeometry, QgsMapSettings, QgsPrintLayout, QgsMapSettings, QgsMapRendererParallelJob, QgsLayoutItemLabel, QgsLayoutItemLegend, QgsLayoutItemMap, QgsLayoutItemPolygon, QgsLayoutItemScaleBar, QgsLayoutExporter, QgsLayoutItem, QgsLayoutPoint, QgsLayoutSize, QgsUnitTypes, QgsProject, QgsFillSymbol, QgsAbstractValidityCheck, check, ) from qgis.PyQt.QtGui import ( QPolygonF, QColor, ) from qgis.PyQt.QtCore import ( QPointF, QRectF, QSize, ) # In[70]: project_path = r"C:\Users\FFWS\Desktop\Boundary_Generation_For_2D\2D Overland Flow Model-Boundary Generation\2D Overland Flow Model-Boundary Generation\bin\Debug\C2_FloodMap_SERM_V01.qgz" project_instance = QgsProject.instance() project_instance.read(project_path) print(project_instance.fileName()) # In[71]: map_layers = QgsProject.instance().mapLayersByName('V1054_SWRM_SW_2D PS_LR_Dike_Updt_statBaseFlood Map_Day01')[0] iface.setActiveLayer(map_layers) # In[64]: projectInstance = QgsProject.instance() layoutmanager = projectInstance.layoutManager() layout = layoutmanager.layoutByName("SW_Day_1") # In[65]: map_label = QgsLayoutItemLabel(layout) # In[67]: firstDay ="2023-11-25 09:00:00" dateTimeObj = datetime.strptime(firstDay, "%Y-%m-%d %I:%M:%S" ) secDay=(dateTimeObj+ timedelta(days = 1)) PreparedDayValue = secDay.strftime('%Y-%m-%d %I:%M:%S') map_label.setText("Valid for: " +firstDay.strip('"')+ " "+"to" +" "+PreparedDayValue + ", Prepared on: " + firstDay) # In[68]: layout.removeLayoutItem(map_label) layout.addLayoutItem(map_label) # In[69]: map_label.attemptMove(QgsLayoutPoint(1.6, 0.5, QgsUnitTypes.LayoutInches)) exporter = QgsLayoutExporter(layout) exporter.exportToImage(r"C:\Users\FFWS\Desktop\Boundary_Generation_For_2D\2D Overland Flow Model-Boundary Generation\2D Overland Flow Model-Boundary Generation\bin\Debug\Day-1.png", QgsLayoutExporter.ImageExportSettings() ) # In[ ]: ___ 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] QGIS attribute forms question
Hi, If I understood correctly, You want to reuse a form given that a layer has more columns. If you are using QGIS GUI you can: Option A. Change the data source to the layer. The form will remain. Add/edit the new attributes Option B. Add the new layer and copy styles (form) --> paste the style/form to the new layer Hope this helps. Rosa - Dr. Rosa Aguilar University of Twente Faculty of Geoinformation Science and Earth Observation Connect with me on LinkedIn<https://www.linkedin.com/in/rosamaguilar/?locale=en_US> https://rosaguilar.github.io<https://rosaguilar.github.io/> - The essential is invisible to the eye. Saint-Exupéry From: QGIS-User On Behalf Of Brent Wood via QGIS-User Sent: Tuesday, December 5, 2023 4:35 AM To: 'Qgis-user@lists.osgeo.org' Subject: [Qgis-user] QGIS attribute forms question Hi, I have created some forms for data entry/edit using QGIS. I have successfully exported them & imported them to apply in different computers with QGIS. It can take several hours to create such a form where there are 80+ columns in the underlying database table, I now have the situation where the underlying table needs columns added or removed. QGIS will not apply a saved form to a layer unless the structure is identical. How can I reuse a form for a layer representing a database table with (say) a single new column, by adding the new column to the form, rather than manually creating the whole form from scratch? Thanks Brent Wood Principal Technician, Fisheries NIWA DDI: +64 (4) 3860529 [https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png]<https://www.niwa.co.nz/> Brent Wood Principal Technician - GIS and Spatial Data Management Programme Leader - Environmental Information Delivery +64-4-386-0529 National Institute of Water & Atmospheric Research Ltd (NIWA) 301 Evans Bay Parade Hataitai Wellington New Zealand Connect with NIWA: niwa.co.nz<https://www.niwa.co.nz/> Facebook<https://www.facebook.com/nzniwa> LinkedIn<https://www.linkedin.com/company/niwa> Twitter<https://twitter.com/niwa_nz> Instagram<https://www.instagram.com/niwa_science> YouTube<https://www.youtube.com/channel/UCJ-j3MLMg1H59Ak2UaNLL3A> To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems. Note: This email is intended solely for the use of the addressee and may contain information that is confidential or subject to legal professional privilege. If you receive this email in error please immediately notify the sender and delete the email. ___ 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] Accessing iface from jupyter
Dear all, I am trying to create a map from qgis using jupyter. I have few layers that need to be added to the map. I have tried to add iface by importing iface from qgis.utils import iface, plugins . But I am getting the following error. [image: image.png] Please help me in this regard. Regards, Noshin Saiyara ___ 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] QGIS attribute forms question
Dear Brent, Hm - this is not what I observe. Normally you should be able to carry over attribute widget definitions to other layers even if the attributes don't fully match. It would assign those who match. Are you talking about the "drag and drop" configuration mode (there are three different form configuration modes). I used this all the time when I was configuring more complex projects. I never had issues when adding or removing columns. If this doesn't work, it should be reported as a bug with data helping to reproduce the issue. I am sure this can be fixed. Andreas On Tue, 5 Dec 2023 at 04:35, Brent Wood via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hi, > > I have created some forms for data entry/edit using QGIS. > > I have successfully exported them & imported them to apply in different > computers with QGIS. > > It can take several hours to create such a form where there are 80+ > columns in the underlying database table, > > I now have the situation where the underlying table needs columns added or > removed. > > QGIS will not apply a saved form to a layer unless the structure is > identical. > > > How can I reuse a form for a layer representing a database table with > (say) a single new column, by adding the new column to the form, rather > than manually creating the whole form from scratch? > > > Thanks > > Brent Wood > > Principal Technician, Fisheries > NIWA > DDI: +64 (4) 3860529 > <https://www.niwa.co.nz> > Brent Wood > Principal Technician - GIS and Spatial Data Management > Programme Leader - Environmental Information Delivery > +64-4-386-0529 > > National Institute of Water & Atmospheric Research Ltd (NIWA) > 301 Evans Bay Parade Hataitai Wellington New Zealand > *Connect with NIWA:* niwa.co.nz <https://www.niwa.co.nz> Facebook > <https://www.facebook.com/nzniwa> LinkedIn > <https://www.linkedin.com/company/niwa> Twitter > <https://twitter.com/niwa_nz> Instagram > <https://www.instagram.com/niwa_science> YouTube > <https://www.youtube.com/channel/UCJ-j3MLMg1H59Ak2UaNLL3A> To ensure > compliance with legal requirements and to maintain cyber security > standards, NIWA's IT systems are subject to ongoing monitoring, activity > logging and auditing. This monitoring and auditing service may be provided > by third parties. Such third parties can access information transmitted to, > processed by and stored on NIWA's IT systems. > Note: This email is intended solely for the use of the addressee and may > contain information that is confidential or subject to legal professional > privilege. If you receive this email in error please immediately notify the > sender and delete the email. > ___ > 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 > -- -- Andreas Neumann QGIS.ORG board member (treasurer) ___ 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] QGIS attribute forms question
> It can take several hours to create such a form where there are 80+ > columns in the underlying database table, > > I now have the situation where the underlying table needs columns > added or removed. > > QGIS will not apply a saved form to a layer unless the structure is > identical. > > How can I reuse a form for a layer representing a database table with > (say) a single new column, by adding the new column to the form, > rather than manually creating the whole form from scratch? I'm not sure if there's a better way, but can you duplicate the form, add or remove columns as needed to match the target, then use that as your saved form? In other words, instead of copying one form and trying to make it fit onto a different structure, can you modify the source form/structure so you get a new saved form that already matches the updated structure? I'm assuming you're talking about copying and pasting the "Attributes Form" from one layer to another but I could be misunderstanding. Cheers, Adam. _______ 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] QGIS attribute forms question
Hi, I have created some forms for data entry/edit using QGIS. I have successfully exported them & imported them to apply in different computers with QGIS. It can take several hours to create such a form where there are 80+ columns in the underlying database table, I now have the situation where the underlying table needs columns added or removed. QGIS will not apply a saved form to a layer unless the structure is identical. How can I reuse a form for a layer representing a database table with (say) a single new column, by adding the new column to the form, rather than manually creating the whole form from scratch? Thanks Brent Wood Principal Technician, Fisheries NIWA DDI: +64 (4) 3860529 [https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png] <https://www.niwa.co.nz> Brent Wood Principal Technician - GIS and Spatial Data Management Programme Leader - Environmental Information Delivery +64-4-386-0529 National Institute of Water & Atmospheric Research Ltd (NIWA) 301 Evans Bay Parade Hataitai Wellington New Zealand Connect with NIWA: niwa.co.nz<https://www.niwa.co.nz> Facebook<https://www.facebook.com/nzniwa> LinkedIn<https://www.linkedin.com/company/niwa> Twitter<https://twitter.com/niwa_nz> Instagram<https://www.instagram.com/niwa_science> YouTube<https://www.youtube.com/channel/UCJ-j3MLMg1H59Ak2UaNLL3A> To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems. Note: This email is intended solely for the use of the addressee and may contain information that is confidential or subject to legal professional privilege. If you receive this email in error please immediately notify the sender and delete the email. _______ 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] Problem solved
Hi all there. My problem of saving is solved. Sorry that I did not describe my task so well. However, with the help of Pekka its over. Ilkka ___ 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] PyQGIS Jupyter Notebooks on Windows Using Conda
da3\\envs\\qgis\\Library\\bin', 'C:\\Users\\FFWS\\anaconda3\\envs\\qgis', 'C:\\Users\\FFWS\\anaconda3\\envs\\qgis\\lib\\site-packages', 'C:/Users/FFWS/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python', 'C:\\Users\\FFWS\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\shapetools\\ext-libs', 'C:/Users/FFWS/Desktop/Boundary_Generation_For_2D/2D Overland Flow Model-Boundary Generation/2D Overland Flow Model-Boundary Generation/bin/Debug -n qgis added C:\Users\FFWS\['C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\OpenTopography-DEM-Downloader', completed operation for: C:\Users\FFWS\['C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\OpenTopography-DEM-Downloader', added C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\python', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\python', added C:\Users\FFWS\'C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python', added C:\Users\FFWS\'C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins', added C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\python\plugins', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\python\plugins', path exists, skipping C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\python', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\python', path exists, skipping C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\python\plugins', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\python\plugins', added C:\Users\FFWS\'C:\Users\FFWS', completed operation for: C:\Users\FFWS\'C:\Users\FFWS', added C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\python310.zip', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\python310.zip', added C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\DLLs', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\DLLs', added C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\lib', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\lib', added C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\bin', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\Library\bin', added C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis', added C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\lib\site-packages', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\anaconda3\envs\qgis\lib\site-packages', path exists, skipping C:\Users\FFWS\'C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python', added C:\Users\FFWS\'C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\shapetools\ext-libs', completed operation for: C:\Users\FFWS\'C:\Users\FFWS\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\shapetools\ext-libs', added C:\Users\FFWS\'C:\Users\FFWS\Desktop\Boundary_Generation_For_2D\2D completed operation for: C:\Users\FFWS\'C:\Users\FFWS\Desktop\Boundary_Generation_For_2D\2D added C:\Users\FFWS\Overland completed operation for: C:\Users\FFWS\Overland added C:\Users\FFWS\Flow completed operation for: C:\Users\FFWS\Flow added C:\Users\FFWS\Model-Boundary completed operation for: C:\Users\FFWS\Model-Boundary added C:\Users\FFWS\Generation\2D completed operation for: C:\Users\FFWS\Generation\2D path exists, skipping C:\Users\FFWS\Overland completed operation for: C:\Users\FFWS\Overland path exists, skipping C:\Users\FFWS\Flow completed operation for: C:\Users\FFWS\Flow path exists, skipping C:\Users\FFWS\Model-Boundary completed operation for: C:\Users\FFWS\Model-Boundary added C:\Users\FFWS\Generation\bin\Debug completed operation for: C:\Users\FFWS\Generation\bin\Debug (base) C:\Users\FFWS>conda activate qgis (qgis) C:\Users\FFWS>python Python 3.10.9 | packaged by conda-forge | (main, Feb 2 2023, 20:14:58) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import qgis >>>___ 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] Problems with showing gml file EPSG 3044 in QGIS
Hi Andrea. What source do the gml files come from? How were they generated? To avoid copy and paste, can you attach the files? Ivano Ivano Il giorno gio 30 nov 2023 alle 14:37 Andrea De Felici via QGIS-User < qgis-user@lists.osgeo.org> ha scritto: > Hallo, everybody > > I cannot visualize correctly a gml file in QGIS (last LTR version 3.28.13 > Firenze). > > The .gml file contains 1 linear feature (Administrative Buondary) and 1 > areal feature (Administrative Unit), all georeferenced EPSG 3044 (ETRS89 / > UTM ZONE 32N (N-E)) > > When I open that file with QGIS (I set the correct 3044 EPSG when QGIS > asks me), the linear feature is correctly georeferenced, while the areal > feature is georeferenced with inverted coordinate X and Y, so the polygons > are in placed in Somalia instead of Italy. > > The same result I obtain with a gml 3044 file with the only areal feature: > coordinates are inverted only in case of areal feature, but some other > other areal features are displayed correctly… > > I tried to open the gml file with a text editor and it seems to be > correct: both for areal and linear features the first coordinate is Y (7 > integer digits) and the second is X (6 integer digits); here is a short > snippet: > > > -- > > gml:FeatureCollection xmlns:au="http://inspire.ec.europa.eu/schemas/au/4.0; > xmlns:gml="http://www.opengis.net/gml/3.2; xmlns:gn=" > http://inspire.ec.europa.eu/schemas/gn/4.0; xmlns:base=" > http://inspire.ec.europa.eu/schemas/base/3.3; xmlns:gmd=" > http://www.isotc211.org/2005/gmd; xmlns:xlink=" > http://www.w3.org/1999/xlink; xmlns:gco="http://www.isotc211.org/2005/gco; > xmlns:ns1="http://www.w3.org/1999/xhtml; xmlns:gss=" > http://www.isotc211.org/2005/gss; xmlns:gsr=" > http://www.isotc211.org/2005/gsr; xmlns:gts=" > http://www.isotc211.org/2005/gts; xmlns:hfp=" > http://www.w3.org/2001/XMLSchema-hasFacetAndProperty; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance; > xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/au/4.0 > https://inspire.ec.europa.eu/schemas/au/4.0/AdministrativeUnits.xsd > http://www.opengis.net/gml/3.2 > http://schemas.opengis.net/gml/3.2.1/deprecatedTypes.xsd > <http://inspire.ec.europa.eu/schemas/au/4.0%20https:/inspire.ec.europa.eu/schemas/au/4.0/AdministrativeUnits.xsd%20http:/www.opengis.net/gml/3.2%20http:/schemas.opengis.net/gml/3.2.1/deprecatedTypes.xsd> > "> > > > > gml:id="AdministrativeUnit_id_385577a9-d267-41ef-a9bb-3ca71c56b955"> > > IMPERIA > > > > > > > > http://www.opengis.net/def/crs/EPSG/0/3044; srsDimension="2"> > > > > > > 4856196.982872699 379221.4296809618 > 4856153.012608033 379288.4400786731 4856101.092710585 379308.25983894855 > 4855992.103140529 379319.1789686257 4855970.63314184 379333.2989412164 > 4855938.893374141 379321.1185031719 4855803.6838102685 379348.71759441256 > 4855780.623492267 379409.9181218235 4855775.263461644 379417.9181693339 > 4855761.003115882 379477.2687556814 4855720.332499044 379593.489778 > 4855699.152067357 379670.010521323 4855389.701225213 380002.14175060584 > 4855354.410952511 380065.8722090269 4855293.321618781 380011.0409913284 > 4855282.411717165 380004.2308100543 4855236.491942137 380003.03038199147 > 4855207.772282108 379973.2997601987 4855179.582498212 379961.1993582745 > 4855072.002978952 379965.04843585216 4855059.623013855 379968.46836620884 > 4855008.863297664 379961.97782922763 4854977.903487933 379955.50747079897 > 4854947.173628453 379956.13720157446 4854931.493636088 379965.8171792209 > 4854910.743755877 379962.6069528013 4854880.523763171 379982.3669236042 > 4854848.283871256 379988.7967124407 4854835.123858148 37.79672941327 > 4854805.853881814 380016.546672364 4854784.883930116 380023.96657519136 > 4854754.044075761 380023.9562977112 4854670.144294579 380049.95586446853 > 4854597.034550153 380063.1353706411 4854586.074327666 380103.43577101553 > 4854558.744095516 380156.5661838027 4854477.884803961 380163.515877593 > 4854455.885183744 380159.385849793
[Qgis-user] trigger action in qgis2web
In my desktop QGIS I have a short Python script that opens an HTML page including arguments (attributes of the selected feature). When I use QGIS2web to put the project on the web, I would like the user to trigger that action when he/she clicks on a feature. I would be grateful for advice on how to do that. = #This is the script for Action "showPhoto" import webbrowser host = "promPics.rf.gd" cName = "[%"common name"%]" lName = "[%"latin name"%]" picture = "[%"picture"%]" theURL = "http://; + host + "/?" theURL = theURL + "cName=" + cName + "&" theURL = theURL + "lName=" + lName + "&" theURL = theURL + "photo=" + picture webbrowser.open(theURL) = If you're interested, you can see an older, two-click, approach at BrooklynProm.epizy.com [Garden B only] ___ 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] Cannot save
Hi! Good point Raymond, but I'd rather prefer to have a detailed description of what has happened. A simple sentence of: "What is the problem as I cannot save." is just not enough to provide a proper solution. What are you trying to save? Where does the data come from? Which operating system are you using? In which directory are you trying to save to? (local? network?). without having detailed information all you will get is a rough guess out of the "crystal ball". regards Werner On Thu, Nov 30, 2023 at 2:52 PM Raymond Nijssen via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Just guessing.. You're trying to export your layer and when you chose a > file name you just typed it into the edit widget and did not choose the > [...] button next to it to open file browser. Now QGIS will attempt to > save your gpkg file in the installation folder or some other directory > where you don't have write access. > > Could that be? > > > On 30-11-2023 08:00, Pekka Sarkola via QGIS-User wrote: > > Hi! > > > > It seems that you are trying to convert vector data to geopackage. What > > tool are you using? > > > > Rgs, > > > > Pekka > > > > Pekka Sarkola > > Gispo Oy > > pekka.sark...@gispo.fi <mailto:pekka.sark...@gispo.fi> - GSM +358 > > 40 725 2042 > > www.gispo.fi <http://www.gispo.fi/>– www.paikkatieto.com > > <http://www.paikkatieto.com/> > > > > > > > > ke 29. marrask. 2023 klo 12.22 Ilkka Haapalinna via QGIS-User > > (qgis-user@lists.osgeo.org <mailto:qgis-user@lists.osgeo.org>) > kirjoitti: > > > > Hi > > What is the problem as I cannot save. > > I have version 3.28.13 Firenze. > > When trying to save this is what I get in the attachment. > > Please advice > > Ilkka > > ___ > > QGIS-User mailing list > > QGIS-User@lists.osgeo.org <mailto:QGIS-User@lists.osgeo.org> > > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > > <https://lists.osgeo.org/mailman/listinfo/qgis-user> > > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > <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 > ___ 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] Cannot save
Just guessing.. You're trying to export your layer and when you chose a file name you just typed it into the edit widget and did not choose the [...] button next to it to open file browser. Now QGIS will attempt to save your gpkg file in the installation folder or some other directory where you don't have write access. Could that be? On 30-11-2023 08:00, Pekka Sarkola via QGIS-User wrote: Hi! It seems that you are trying to convert vector data to geopackage. What tool are you using? Rgs, Pekka Pekka Sarkola Gispo Oy pekka.sark...@gispo.fi <mailto:pekka.sark...@gispo.fi> - GSM +358 40 725 2042 www.gispo.fi <http://www.gispo.fi/>– www.paikkatieto.com <http://www.paikkatieto.com/> ke 29. marrask. 2023 klo 12.22 Ilkka Haapalinna via QGIS-User (qgis-user@lists.osgeo.org <mailto:qgis-user@lists.osgeo.org>) kirjoitti: Hi What is the problem as I cannot save. I have version 3.28.13 Firenze. When trying to save this is what I get in the attachment. Please advice Ilkka ___ QGIS-User mailing list QGIS-User@lists.osgeo.org <mailto:QGIS-User@lists.osgeo.org> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user <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
[Qgis-user] Problems with showing gml file EPSG 3044 in QGIS
inspireId|Identifier|localId Integer namespace inspireId|Identifier|namespace String 11 versionId inspireId|Identifier|versionId String 10 LocalisedCharacterString nationalLevelName|LocalisedCharacterString String 9 Country country|Country String 2 language name|GeographicalName|language String 3 sourceOfName sourceOfName Untyped pronunciationIPA name|GeographicalName|pronunciation|PronunciationOfName|pronunciationIPA String 30 text name|GeographicalName|spelling|SpellingOfName|text String 30 script name|GeographicalName|spelling|SpellingOfName|script String 4 residenceOfAuthority residenceOfAuthority Untyped beginLifespanVersion beginLifespanVersion String 20 endLifespanVersion endLifespanVersion Untyped administeredBy administeredBy Untyped coAdminister coAdminister Untyped AdministrativeBoundary AdministrativeBoundary geometry geometry http://www.opengis.net/def/crs/EPSG/0/3044http://www.opengis.net/def/crs/EPSG/0/3044%3c/SRSName>> 754 379028.49393 585774.11643 4847813.57006 4947064.21378 localId inspireId|Identifier|localId Integer namespace inspireId|Identifier|namespace String 11 versionId inspireId|Identifier|versionId String 10 Country country|Country String 2 legalStatus legalStatus String 6 technicalStatus technicalStatus String 11 beginLifespanVersion beginLifespanVersion String 20 endLifespanVersion endLifespanVersion Untyped admUnit admUnit Untyped -- It seems that for the areal feature (Administrative Units) the bounding box coordinates are inverted (ExtentXMin>4847813.57006…. Etc.), I cannot understand the reason why… I also tried to open the gml file with other softwares and these are the results: * Global Mapper: ALL the features are shown with inverted coordinates * FME: ALL the features are shown with the correct coordinates Have you ever heard about this trouble? Did I make some particular mistake? Thank you so much for your help! Andrea De Felici ___ 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] Festive year-end QGIS Open-day (08 December 2023)
Dear QGIS Users On Friday, 08 December 2023 we will be holding our year-eand festive QGIS Open Day! What is a QGIS Open Day you may be wondering to yourself? It is an initiative to replace the wonderful community meetups we used to hold every six months when times were different. Like our in-person meetings, the event is organised on the principle of self-organisation and community participation. **Programme** TBC - We need more speakers, please contact a...@kartoza.com if you would like to give a talk. **Where to watch** Please see the event wiki page at [QOD-December-2023 Wiki]( https://github.com/qgis/QGIS/wiki/QOD-December-2023) for all the details of times and links for participation. # Recordings All the events are recorded and made available to users who couldn't make the live events. Youtube live streams are automatically available for catch-up viewing. Reviewing video links for individual events should work without a hitch, but you can also catch up on recordings from the QGIS Youtube channel: * [https://www.youtube.com/@qgishome](https://www.youtube.com/@qgishome) # Code of Conduct Participants are kindly reminded to please read and observe our QGIS Code of Conduct and Diversity Statement to make these events a great experience for everyone! - [Code of Conduct]( https://www.qgis.org/en/site/getinvolved/governance/codeofconduct/codeofconduct.html "QGIS Code of Conduct") - [Diversity Statement]( https://www.qgis.org/en/site/getinvolved/governance/codeofconduct/diversitystatement.html "QGIS Diversity Statement") Please contact the Lead QOD Event Organiser, Amy by email < a...@kartoza.com>, or via the [Telegram Channel]( https://t.me/joinchat/Aq2V5RPoxYYhXqUPoxRWPQ "QGIS Open Day User Channel") username @Amz if you have any queries or need help setting up events. [We look forward to seeing you there!]( https://github.com/qgis/QGIS/wiki/QOD-December-2023) -- Amy Ternent GIS Technician Visit http://kartoza.com to find out about open source: * Desktop GIS programming services * Geospatial web development * GIS Training * Consulting Services Office: +27(0)71 225 0039 _______ 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] Connecting to Oracle Spatial using a proxy user
Thanks Julien for your suggestions. I don't think I managed to make it work like that. Is there anyone who has connected QGIS to an Oracle DB with a proxy user? Il giorno mar 14 nov 2023 alle ore 08:56 Julien Cabieces < julien.cabie...@oslandia.com> ha scritto: > > In order to set the environment variable, you can follow this procedure > [0] > > Regarding the Oracle client version, It is either oci-19-8 or oci-19-11 > [1], but I would say that both has to work the same way. > > [0] > https://www.howtogeek.com/787217/how-to-edit-environment-variables-on-windows-10-or-11/ > [1] http://download.osgeo.org/osgeo4w/v2/x86_64/release/oci/ > > Regards, > Julien > > > > Yes I have also tried using the tnsnames.ora alternative, byut in that > case I have a doubt about where to set the TNS_ADMIN, in case of a > > standard Win 11 QGis installation. Could you suggest ? Also, what is the > Oracle client / version used by QGis? Thanks > > > > Il giorno lun 13 nov 2023 alle ore 10:33 Julien Cabieces via QGIS-User < > qgis-user@lists.osgeo.org> ha scritto: > > > > Hi, > > > > Did you try to use a tnsnames.ora file ? > > > > You can then set the environment variable TNS_ADMIN to point to the > > directory which contains the file and then refer to the connexion in > > QGIS with the "database name" (dbname in QGIS uri), no host and port > > specified. > > > > I have no expertise in configuring the tnsnames.ora file, but when I > > have to face complicated connexion, I generally ask for tnsnames.ora and > > go this way to make it work. > > > > Regards, > > Julien > > > > > Hi, > > > > > > I have to connect to Oracle DBs for my work with a "proxy" user > (security requirements) and I normally make it with SQLDeveloper, > > setting it up > > > like: > > > > > > username: MY_USER[DB_USER] > > > password: << MY_USER password >> > > > connection type: Base > > > host: << DB host address >> > > > port: << DB port >> > > > service: << DB service name >> > > > > > > where MY_USER is my personal user, while DB_USER is the name of the > schema where DB tables are present. The DB is an Oracle 12g and > > is > > > v21, but in order to make this work I had to setup SQLDeveloper > preferences so to use an external Oracle client (instantclient) and the > > > Thick/OCI driver. Also, compatibility with the oracle client needs to > be taken care of. I use the Oracle instant client 21.11 and > > SQLDeveloper > > > 21.4.1. > > > > > > I'm trying to replicate such an Oracle connection in QGIS, but simply > setting up the connection details as above, it fails with: > > > > > > ORA-01017 invalid username/password > > > > > > I've searched a lot already and tried some variations in the QGIS > connection setup, but I haven't been able to solve my problem. Oracle > > proxy > > > user connection doesn't seem to be supported in QGIS, does it? > > > > > > Can someone here help me? > > > thanks in advance > > > Fabio > > > > > > _______ > > > 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 > > > > -- > > > > Julien Cabieces > > Senior Developer at Oslandia > > julien.cabie...@oslandia.com > > ___ > > 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 > > > -- > > Julien Cabieces > Senior Developer at Oslandia > julien.cabie...@oslandia.com > ___ 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] Cannot save
Hi! It seems that you are trying to convert vector data to geopackage. What tool are you using? Rgs, Pekka Pekka Sarkola Gispo Oy pekka.sark...@gispo.fi - GSM +358 40 725 2042 www.gispo.fi – www.paikkatieto.com ke 29. marrask. 2023 klo 12.22 Ilkka Haapalinna via QGIS-User ( qgis-user@lists.osgeo.org) kirjoitti: > Hi > What is the problem as I cannot save. > I have version 3.28.13 Firenze. > When trying to save this is what I get in the attachment. > Please advice > Ilkka > ___ > 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] Locking Font Characteristics for Text Items in Print Layout
Hello all - does anyone know if there is a way to lock a text map item in QGIS Print Layout to prevent the font size and type (bold, italic, etc.) from changing over time. I've had several situations where I created a series of maps and exported them to PDF for a client and at later needed to amend the maps and found that many of the text items (map title, date, figure number, disclaimer statement, legend text, etc.) had reverted to a default font size and type. Having to reset all of fonts for the items can be very time consuming when you need to do it for 20 or 30 maps. I've tried locking the text item in the Items panel in Print Layout but that seems to only prevent the text item from being moved but does not retain the font characteristics. Any thoughts would be appreciated. Tim TGMC,llc Tim Malloy, Principal 402 Park Drive Glenwood Springs, CO 81601 Office: 970-945-0832 Mobile: 970-618-6097 t...@tgmalloy.com<mailto:t...@tgmalloy.com> ___ 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] Problem insatalling from source
I found, that I can modify cmake config options, but I don't know how to change them to avid errors in configuration Regards, Raico On 29.11.23 13:47, Raivo Rebane wrote: Hi,' I use ubuntu 20.04 and guide from QGIS package and from ChatGPT Did I do anythng wrongly ? Raivo On 29.11.23 13:39, Johannes Kröger (WhereGroup) wrote: What guide are you following and what OS (+version) are you using? On 29.11.23 12:24, Raivo Rebane via QGIS-User wrote: I have installed following : 2064 sudo apt-get install libspatialite-dev 2087 sudo apt install libqt5serialport5-dev but same error ocured Regards, Raivo On 29.11.23 13:14, Werner Macho wrote: And regarding spatialite .. take a look if the -dev package of spatialite is installed .. If you want to compile yourself you always need the -dev packages regards Werner On Wed, Nov 29, 2023 at 12:10 PM Werner Macho wrote: Hi! According to the error message you provided you are missing: Could not find a package configuration file provided by "Qt5SerialPort" with any of the following names: Try to install the package "libqt5serialport5-dev" (depending on which distribution you are - I can only see it is a linux system) regards Werner On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User wrote: Hi, I want to install QGIS package from source, but got foolowing errors : CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library): add_library cannot create ALIAS target "spatialite::spatialite" because target "PkgConfig::PC_SPATIALITE" is imported but not globally visible. Call Stack (most recent call first): CMakeLists.txt:405 (find_package) -- Qt WebKit support enabled -- Using embedded laz-perf -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so -- Found PDAL: pdal_base;pdal_util (2.2.0) -- Found Draco: /usr/local/lib/libdraco.a (1.5.6) CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5SerialPort" with any of the following names: Qt5SerialPortConfig.cmake qt5serialport-config.cmake Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH or set "Qt5SerialPort_DIR" to a directory containing one of the above files. If "Qt5SerialPort" provides a separate development package or SDK, be sure it has been installed. I tried different way of cmake : raivo@Hydra:~/QGIS/build-master$ cmake -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so -DSPATIALITE_INCLUDE_DIR=/usr/include/ .. and raivo@Hydra:~/QGIS/build-master$ cmake -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so -DSPATIALITE_INCLUDE_DIR=/usr/include/ -DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc .. but in any cases got previous errors. What is wrong ? Regards, Raivo _______ 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] Problem insatalling from source
Hi,' I use ubuntu 20.04 and guide from QGIS package and from ChatGPT Did I do anythng wrongly ? Raivo On 29.11.23 13:39, Johannes Kröger (WhereGroup) wrote: What guide are you following and what OS (+version) are you using? On 29.11.23 12:24, Raivo Rebane via QGIS-User wrote: I have installed following : 2064 sudo apt-get install libspatialite-dev 2087 sudo apt install libqt5serialport5-dev but same error ocured Regards, Raivo On 29.11.23 13:14, Werner Macho wrote: And regarding spatialite .. take a look if the -dev package of spatialite is installed .. If you want to compile yourself you always need the -dev packages regards Werner On Wed, Nov 29, 2023 at 12:10 PM Werner Macho wrote: Hi! According to the error message you provided you are missing: Could not find a package configuration file provided by "Qt5SerialPort" with any of the following names: Try to install the package "libqt5serialport5-dev" (depending on which distribution you are - I can only see it is a linux system) regards Werner On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User wrote: Hi, I want to install QGIS package from source, but got foolowing errors : CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library): add_library cannot create ALIAS target "spatialite::spatialite" because target "PkgConfig::PC_SPATIALITE" is imported but not globally visible. Call Stack (most recent call first): CMakeLists.txt:405 (find_package) -- Qt WebKit support enabled -- Using embedded laz-perf -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so -- Found PDAL: pdal_base;pdal_util (2.2.0) -- Found Draco: /usr/local/lib/libdraco.a (1.5.6) CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5SerialPort" with any of the following names: Qt5SerialPortConfig.cmake qt5serialport-config.cmake Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH or set "Qt5SerialPort_DIR" to a directory containing one of the above files. If "Qt5SerialPort" provides a separate development package or SDK, be sure it has been installed. I tried different way of cmake : raivo@Hydra:~/QGIS/build-master$ cmake -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so -DSPATIALITE_INCLUDE_DIR=/usr/include/ .. and raivo@Hydra:~/QGIS/build-master$ cmake -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so -DSPATIALITE_INCLUDE_DIR=/usr/include/ -DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc .. but in any cases got previous errors. What is wrong ? Regards, Raivo _______ 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] Problem insatalling from source
I have installed following : 2064 sudo apt-get install libspatialite-dev 2087 sudo apt install libqt5serialport5-dev but same error ocured Regards, Raivo On 29.11.23 13:14, Werner Macho wrote: And regarding spatialite .. take a look if the -dev package of spatialite is installed .. If you want to compile yourself you always need the -dev packages regards Werner On Wed, Nov 29, 2023 at 12:10 PM Werner Macho wrote: Hi! According to the error message you provided you are missing: Could not find a package configuration file provided by "Qt5SerialPort" with any of the following names: Try to install the package "libqt5serialport5-dev" (depending on which distribution you are - I can only see it is a linux system) regards Werner On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User wrote: Hi, I want to install QGIS package from source, but got foolowing errors : CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library): add_library cannot create ALIAS target "spatialite::spatialite" because target "PkgConfig::PC_SPATIALITE" is imported but not globally visible. Call Stack (most recent call first): CMakeLists.txt:405 (find_package) -- Qt WebKit support enabled -- Using embedded laz-perf -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so -- Found PDAL: pdal_base;pdal_util (2.2.0) -- Found Draco: /usr/local/lib/libdraco.a (1.5.6) CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5SerialPort" with any of the following names: Qt5SerialPortConfig.cmake qt5serialport-config.cmake Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH or set "Qt5SerialPort_DIR" to a directory containing one of the above files. If "Qt5SerialPort" provides a separate development package or SDK, be sure it has been installed. I tried different way of cmake : raivo@Hydra:~/QGIS/build-master$ cmake -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so -DSPATIALITE_INCLUDE_DIR=/usr/include/ .. and raivo@Hydra:~/QGIS/build-master$ cmake -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so -DSPATIALITE_INCLUDE_DIR=/usr/include/ -DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc .. but in any cases got previous errors. What is wrong ? Regards, Raivo _______ 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] Problem insatalling from source
And regarding spatialite .. take a look if the -dev package of spatialite is installed .. If you want to compile yourself you always need the -dev packages regards Werner On Wed, Nov 29, 2023 at 12:10 PM Werner Macho wrote: > Hi! > According to the error message you provided you are missing: > Could not find a package configuration file provided by "Qt5SerialPort" >with any of the following names: > > Try to install the package "libqt5serialport5-dev" (depending on which > distribution you are - I can only see it is a linux system) > > regards > Werner > > On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User < > qgis-user@lists.osgeo.org> wrote: > >> Hi, >> >> I want to install QGIS package from source, but got foolowing errors : >> >> CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library): >>add_library cannot create ALIAS target "spatialite::spatialite" because >>target "PkgConfig::PC_SPATIALITE" is imported but not globally visible. >> Call Stack (most recent call first): >>CMakeLists.txt:405 (find_package) >> >> >> -- Qt WebKit support enabled >> -- Using embedded laz-perf >> -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so >> -- Found PDAL: pdal_base;pdal_util (2.2.0) >> -- Found Draco: /usr/local/lib/libdraco.a (1.5.6) >> CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 >> (find_package): >>Could not find a package configuration file provided by "Qt5SerialPort" >>with any of the following names: >> >> Qt5SerialPortConfig.cmake >> qt5serialport-config.cmake >> >>Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH >> or set >>"Qt5SerialPort_DIR" to a directory containing one of the above files. >> If >>"Qt5SerialPort" provides a separate development package or SDK, be >> sure it >>has been installed. >> >> I tried different way of cmake : >> >> raivo@Hydra:~/QGIS/build-master$ cmake >> -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so >> -DSPATIALITE_INCLUDE_DIR=/usr/include/ .. >> and >> >> raivo@Hydra:~/QGIS/build-master$ cmake >> -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so >> -DSPATIALITE_INCLUDE_DIR=/usr/include/ >> -DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc .. >> >> but in any cases got previous errors. >> >> What is wrong ? >> >> Regards, >> >> Raivo >> >> >> ___ >> 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] Problem insatalling from source
Hi! According to the error message you provided you are missing: Could not find a package configuration file provided by "Qt5SerialPort" with any of the following names: Try to install the package "libqt5serialport5-dev" (depending on which distribution you are - I can only see it is a linux system) regards Werner On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hi, > > I want to install QGIS package from source, but got foolowing errors : > > CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library): >add_library cannot create ALIAS target "spatialite::spatialite" because >target "PkgConfig::PC_SPATIALITE" is imported but not globally visible. > Call Stack (most recent call first): >CMakeLists.txt:405 (find_package) > > > -- Qt WebKit support enabled > -- Using embedded laz-perf > -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so > -- Found PDAL: pdal_base;pdal_util (2.2.0) > -- Found Draco: /usr/local/lib/libdraco.a (1.5.6) > CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 > (find_package): >Could not find a package configuration file provided by "Qt5SerialPort" >with any of the following names: > > Qt5SerialPortConfig.cmake > qt5serialport-config.cmake > >Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH > or set >"Qt5SerialPort_DIR" to a directory containing one of the above files. > If >"Qt5SerialPort" provides a separate development package or SDK, be > sure it >has been installed. > > I tried different way of cmake : > > raivo@Hydra:~/QGIS/build-master$ cmake > -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so > -DSPATIALITE_INCLUDE_DIR=/usr/include/ .. > and > > raivo@Hydra:~/QGIS/build-master$ cmake > -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so > -DSPATIALITE_INCLUDE_DIR=/usr/include/ > -DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc .. > > but in any cases got previous errors. > > What is wrong ? > > Regards, > > Raivo > > > ___ > 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] Problem insatalling from source
Hi, I want to install QGIS package from source, but got foolowing errors : CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library): add_library cannot create ALIAS target "spatialite::spatialite" because target "PkgConfig::PC_SPATIALITE" is imported but not globally visible. Call Stack (most recent call first): CMakeLists.txt:405 (find_package) -- Qt WebKit support enabled -- Using embedded laz-perf -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so -- Found PDAL: pdal_base;pdal_util (2.2.0) -- Found Draco: /usr/local/lib/libdraco.a (1.5.6) CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5SerialPort" with any of the following names: Qt5SerialPortConfig.cmake qt5serialport-config.cmake Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH or set "Qt5SerialPort_DIR" to a directory containing one of the above files. If "Qt5SerialPort" provides a separate development package or SDK, be sure it has been installed. I tried different way of cmake : raivo@Hydra:~/QGIS/build-master$ cmake -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so -DSPATIALITE_INCLUDE_DIR=/usr/include/ .. and raivo@Hydra:~/QGIS/build-master$ cmake -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so -DSPATIALITE_INCLUDE_DIR=/usr/include/ -DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc .. but in any cases got previous errors. What is wrong ? Regards, Raivo _______ 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] Cannot save
Hi What is the problem as I cannot save. I have version 3.28.13 Firenze. When trying to save this is what I get in the attachment. Please advice Ilkka ___ 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] Oriented Points
Hello, the last two suggestions are very promising. Thank you! Von: Ujaval Gandhi Gesendet: Dienstag, 28. November 2023 07:47 An: Huesmann, Michaela Cc: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] Oriented Points If you want to add the angle of the underlying road automatically, this is doable using aggregate() expression to obtain the intersecting road sement and then obtaining the angle of the line using angle_at_vertex() function. You can set it up so it gets filled automatically as soon as you add the point. See the example at https://courses.spatialthoughts.com/advanced-qgis.html#auto-populate-field-values<https://mailtrack.io/link/feb25ae438375010ca500c6e9f8ac548258a5f24?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=https%3A%2F%2Fcourses.spatialthoughts.com%2Fadvanced-qgis.html%23auto-populate-field-values=8747767=5f152cff5c7d6c42> --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com<https://mailtrack.io/link/af54bb078ed4c217497b3e9254ca31f7413ccad4?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=http%3A%2F%2Fwww.spatialthoughts.com=8747767=f51b0b0b5e0138b8> [Das Bild wurde vom Absender entfernt.] On Mon, Nov 27, 2023 at 7:21 PM Huesmann, Michaela via QGIS-User wrote: Thank you, Ujaval Gandhi. 'Measure Angle' is a good idea. I didn’t know that tool! I would like to have the points oriented tot he underlaying road. Von: Ujaval Gandhi mailto:uja...@spatialthoughts.com>> Gesendet: Montag, 27. November 2023 14:47 An: Huesmann, Michaela Cc: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Oriented Points I see. If the angle is from a fixed reference point, you can add an expression using azimuth() function in the Attribute Form that sets the default value of the attribute to the angle between the current point and the target point. If your reference point is not fixed but you need to select it manually, you can add the angle after digitizing. Use the 'Measure Angle' tool from the toolbar and measure the angle between the target point and reference point. Make sure to enable snapping so you get the exact point coordinates. Copy/Paste the result into the attribute table. --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com<https://mailtrack.io/link/dbc52f97fbd5b94c024193e16e621de86373b32e?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=http%3A%2F%2Fwww.spatialthoughts.com=8747767=498c91d372ea82a6> [Das Bild wurde vom Absender entfernt.] On Mon, Nov 27, 2023 at 6:04 PM Huesmann, Michaela via QGIS-User mailto:qgis-user@lists.osgeo.org>> wrote: Hello, Thanks for pointing out that I can capture an attribute using rotation. I already know that I can use the angle attribute to rotate the symbol. But it is very difficult to determine the respective angle. If I type in the value manually, I have to correct it 5 times until it is exactly as it should. This is extremely unproductive. Rotating doesn't work with the "Rotate Object" tool. From Geomedia, I'm used to the fact that when recording, you first click on the position point and then record the direction using the mouse position. That's what I was looking for in QGIS. Best regards, Michaela Von: Ujaval Gandhi mailto:uja...@spatialthoughts.com>> Gesendet: Montag, 27. November 2023 12:32 An: Huesmann, Michaela Cc: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Oriented Points Just add an attribute for the rotation/orientation. You can visualize them using the technique shown here https://www.communityhealthmaps.org/blog/2019/02/21/mapping-field-photos-in-qgis<https://mailtrack.io/link/24fbc2e171ace0e065dca7ad8a988e33440db9bf?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=https%3A%2F%2Fwww.communityhealthmaps.org%2Fblog%2F2019%2F02%2F21%2Fmapping-field-photos-in-qgis=8747767=218b5ea232016f3e> --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com<https://mailtrack.io/link/40f7fc9598c4280f3ffd3d282723fc66c1f08f7e?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=http%3A%2F%2Fwww.spatialthoughts.com=8747767=2980740ac02388fd> [Das Bild wurde vom Absender entfernt.] On Mon, Nov 27, 2023 at 4:18 PM Huesmann, Michaela via QGIS-User mailto:qgis-user@lists.osgeo.org>> wrote: Hello QGIS group, how can I digitize oriented points in QGIS? I probably have to provide information when creating the geometry type fort he object class so that the rotation can be recorded. Must be easy I guess but didn’t found out yet. Best regards, Michaela [Kreisstadt Steinfurt]<http://www.steinfurt.de> - 48565 Steinfurt www.steinfurt.de<http://www.steinfurt.de> Mit freundlichen Grüßen im Auftrag Michaela Huesmann IT Fachdienst Tiefbau Tel.: +49 2552 925 219 Fax: E-Mail: michaela.huesm...@stadt-steinfurt.de<mailto:michaela.huesm...@stadt-steinfurt.de> Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. __
Re: [Qgis-user] Oriented Points
If you want to add the angle of the underlying road automatically, this is doable using aggregate() _expression_ to obtain the intersecting road sement and then obtaining the angle of the line using angle_at_vertex() function. You can set it up so it gets filled automatically as soon as you add the point. See the example at https://courses.spatialthoughts.com/advanced-qgis.html#auto-populate-field-values---Ujaval GandhiSpatial Thoughtswww.spatialthoughts.comOn Mon, Nov 27, 2023 at 7:21 PM Huesmann, Michaela via QGIS-User wrote: Thank you, Ujaval Gandhi. 'Measure Angle' is a good idea. I didn’t know that tool! I would like to have the points oriented tot he underlaying road. Von: Ujaval Gandhi <uja...@spatialthoughts.com> Gesendet: Montag, 27. November 2023 14:47 An: Huesmann, Michaela Steinfurt.de> Cc: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] Oriented Points I see. If the angle is from a fixed reference point, you can add an _expression_ using azimuth() function in the Attribute Form that sets the default value of the attribute to the angle between the current point and the target point. If your reference point is not fixed but you need to select it manually, you can add the angle after digitizing. Use the 'Measure Angle' tool from the toolbar and measure the angle between the target point and reference point. Make sure to enable snapping so you get the exact point coordinates. Copy/Paste the result into the attribute table. --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com On Mon, Nov 27, 2023 at 6:04 PM Huesmann, Michaela via QGIS-User <qgis-user@lists.osgeo.org> wrote: Hello, Thanks for pointing out that I can capture an attribute using rotation. I already know that I can use the angle attribute to rotate the symbol. But it is very difficult to determine the respective angle. If I type in the value manually, I have to correct it 5 times until it is exactly as it should. This is extremely unproductive. Rotating doesn't work with the "Rotate Object" tool. From Geomedia, I'm used to the fact that when recording, you first click on the position point and then record the direction using the mouse position. That's what I was looking for in QGIS. Best regards, Michaela Von: Ujaval Gandhi <uja...@spatialthoughts.com> Gesendet: Montag, 27. November 2023 12:32 An: Huesmann, Michaela Steinfurt.de> Cc: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] Oriented Points Just add an attribute for the rotation/orientation. You can visualize them using the technique shown here https://www.communityhealthmaps.org/blog/2019/02/21/mapping-field-photos-in-qgis --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com On Mon, Nov 27, 2023 at 4:18 PM Huesmann, Michaela via QGIS-User <qgis-user@lists.osgeo.org> wrote: Hello QGIS group, how can I digitize oriented points in QGIS? I probably have to provide information when creating the geometry type fort he object class so that the rotation can be recorded. Must be easy I guess but didn’t found out yet. Best regards, Michaela - 48565 Steinfurt www.steinfurt.de Mit freundlichen Grüßen im Auftrag Michaela Huesmann IT Fachdienst Tiefbau Tel.: +49 2552 925 219 Fax: E-Mail: michaela.huesmann@Stadt-Steinfurt.de Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. _______ 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 _______ 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] Donation
Hi Ilkka, I am sorry to hear about your download troubles! I replied you personally (without the mailing list) with additional download instructions. My guess is that you just did not wait long enough for the download. The MSI installers on Windows are 1.2GB in size and that can take up to 30 minutes or longer to download. Please have a look at your browser's download manager to see the download progress. As a clarification: donations are really optional. The donation hint appears after you initiated the download - and you can of course ignore this, although donations are of course welcome (if you like QGIS). Esp. if you are a new user: please try QGIS first if it is usefully for you and only donate if you really find QGIS useful. Best regards, Andreas (QGIS treasurer) On Mon, 27 Nov 2023 at 18:32, Ilkka Haapalinna via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hi > I am a bit (a lot) frustrated. > Tried to download. It was impossible without donating. > I did donation. I have a reciept of that. > But could not download? > I am really angry because of that kind of behavior. > In the beginning, I got the impression that donation is not needed. > However, as I could not do anything I did a small 10€ donation. But good > bye money. > NO download. > This can be called moneypump! > Ilkka Haapalinna > > > _______ > 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 > -- -- Andreas Neumann QGIS.ORG board member (treasurer) ___ 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] Donation
> Tried to download. It was impossible without donating. > I did donation. I have a reciept of that. I think you were scammed, there is no donation requirement on the official QGIS website. Who did you give your money to? > But could not download? When I go to the official download page I see plenty of download links but nothing about donating money: https://qgis.org/fi/site/forusers/download.html > I am really angry because of that kind of behavior. > In the beginning, I got the impression that donation is not needed. > However, as I could not do anything I did a small 10€ donation. But good > bye money. Yes, that is a problem with scammers. It is best to always go to the official web sites to avoid falling for these tricks. Any time you are forced to give money for a free product like QGIS it is a scam - donations are certainly welcomed but never mandatory. Cheers, Adam. _______ 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] Donation
Hi Ilkka, On Mon, 27. Nov 2023 at 19:24:43 +0200, Ilkka Haapalinna via QGIS-User wrote: > I am a bit (a lot) frustrated. > Tried to download. It was impossible without donating. > I did donation. I have a reciept of that. > But could not download? It doesn't require a donation, but it might take patience. What did you actually try to download? Did you retry? Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Nordenhttps://www.norbit.de QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC signature.asc Description: PGP signature ___ 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] Donation
What's the problem. I didn't get it. On Mon, Nov 27, 2023 at 6:32 PM Ilkka Haapalinna via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hi > I am a bit (a lot) frustrated. > Tried to download. It was impossible without donating. > I did donation. I have a reciept of that. > But could not download? > I am really angry because of that kind of behavior. > In the beginning, I got the impression that donation is not needed. > However, as I could not do anything I did a small 10€ donation. But good > bye money. > NO download. > This can be called moneypump! > Ilkka Haapalinna > > > _______ > 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] Donation
Hi I am a bit (a lot) frustrated. Tried to download. It was impossible without donating. I did donation. I have a reciept of that. But could not download? I am really angry because of that kind of behavior. In the beginning, I got the impression that donation is not needed. However, as I could not do anything I did a small 10€ donation. But good bye money. NO download. This can be called moneypump! Ilkka Haapalinna ___ 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] Oriented Points
Thank you, Ujaval Gandhi. 'Measure Angle' is a good idea. I didn’t know that tool! I would like to have the points oriented tot he underlaying road. Von: Ujaval Gandhi Gesendet: Montag, 27. November 2023 14:47 An: Huesmann, Michaela Cc: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] Oriented Points I see. If the angle is from a fixed reference point, you can add an expression using azimuth() function in the Attribute Form that sets the default value of the attribute to the angle between the current point and the target point. If your reference point is not fixed but you need to select it manually, you can add the angle after digitizing. Use the 'Measure Angle' tool from the toolbar and measure the angle between the target point and reference point. Make sure to enable snapping so you get the exact point coordinates. Copy/Paste the result into the attribute table. --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com<https://mailtrack.io/link/dbc52f97fbd5b94c024193e16e621de86373b32e?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=http%3A%2F%2Fwww.spatialthoughts.com=8747767=498c91d372ea82a6> [Das Bild wurde vom Absender entfernt.] On Mon, Nov 27, 2023 at 6:04 PM Huesmann, Michaela via QGIS-User wrote: Hello, Thanks for pointing out that I can capture an attribute using rotation. I already know that I can use the angle attribute to rotate the symbol. But it is very difficult to determine the respective angle. If I type in the value manually, I have to correct it 5 times until it is exactly as it should. This is extremely unproductive. Rotating doesn't work with the "Rotate Object" tool. From Geomedia, I'm used to the fact that when recording, you first click on the position point and then record the direction using the mouse position. That's what I was looking for in QGIS. Best regards, Michaela Von: Ujaval Gandhi mailto:uja...@spatialthoughts.com>> Gesendet: Montag, 27. November 2023 12:32 An: Huesmann, Michaela Cc: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Oriented Points Just add an attribute for the rotation/orientation. You can visualize them using the technique shown here https://www.communityhealthmaps.org/blog/2019/02/21/mapping-field-photos-in-qgis<https://mailtrack.io/link/24fbc2e171ace0e065dca7ad8a988e33440db9bf?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=https%3A%2F%2Fwww.communityhealthmaps.org%2Fblog%2F2019%2F02%2F21%2Fmapping-field-photos-in-qgis=8747767=218b5ea232016f3e> --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com<https://mailtrack.io/link/40f7fc9598c4280f3ffd3d282723fc66c1f08f7e?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=http%3A%2F%2Fwww.spatialthoughts.com=8747767=2980740ac02388fd> [Das Bild wurde vom Absender entfernt.] On Mon, Nov 27, 2023 at 4:18 PM Huesmann, Michaela via QGIS-User mailto:qgis-user@lists.osgeo.org>> wrote: Hello QGIS group, how can I digitize oriented points in QGIS? I probably have to provide information when creating the geometry type fort he object class so that the rotation can be recorded. Must be easy I guess but didn’t found out yet. Best regards, Michaela [Kreisstadt Steinfurt]<http://www.steinfurt.de> - 48565 Steinfurt www.steinfurt.de<http://www.steinfurt.de> Mit freundlichen Grüßen im Auftrag Michaela Huesmann IT Fachdienst Tiefbau Tel.: +49 2552 925 219 Fax: E-Mail: michaela.huesm...@stadt-steinfurt.de<mailto:michaela.huesm...@stadt-steinfurt.de> Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. _______ QGIS-User mailing list QGIS-User@lists.osgeo.org<mailto: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<mailto: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] Oriented Points
I see. If the angle is from a fixed reference point, you can add an _expression_ using azimuth() function in the Attribute Form that sets the default value of the attribute to the angle between the current point and the target point. If your reference point is not fixed but you need to select it manually, you can add the angle after digitizing. Use the 'Measure Angle' tool from the toolbar and measure the angle between the target point and reference point. Make sure to enable snapping so you get the exact point coordinates. Copy/Paste the result into the attribute table.---Ujaval GandhiSpatial Thoughtswww.spatialthoughts.comOn Mon, Nov 27, 2023 at 6:04 PM Huesmann, Michaela via QGIS-User wrote: Hello, Thanks for pointing out that I can capture an attribute using rotation. I already know that I can use the angle attribute to rotate the symbol. But it is very difficult to determine the respective angle. If I type in the value manually, I have to correct it 5 times until it is exactly as it should. This is extremely unproductive. Rotating doesn't work with the "Rotate Object" tool. From Geomedia, I'm used to the fact that when recording, you first click on the position point and then record the direction using the mouse position. That's what I was looking for in QGIS. Best regards, Michaela Von: Ujaval Gandhi <uja...@spatialthoughts.com> Gesendet: Montag, 27. November 2023 12:32 An: Huesmann, Michaela Steinfurt.de> Cc: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] Oriented Points Just add an attribute for the rotation/orientation. You can visualize them using the technique shown here https://www.communityhealthmaps.org/blog/2019/02/21/mapping-field-photos-in-qgis --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com On Mon, Nov 27, 2023 at 4:18 PM Huesmann, Michaela via QGIS-User <qgis-user@lists.osgeo.org> wrote: Hello QGIS group, how can I digitize oriented points in QGIS? I probably have to provide information when creating the geometry type fort he object class so that the rotation can be recorded. Must be easy I guess but didn’t found out yet. Best regards, Michaela - 48565 Steinfurt www.steinfurt.de Mit freundlichen Grüßen im Auftrag Michaela Huesmann IT Fachdienst Tiefbau Tel.: +49 2552 925 219 Fax: E-Mail: michaela.huesmann@Stadt-Steinfurt.de Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. _______ 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] Oriented Points
Hello, Thanks for pointing out that I can capture an attribute using rotation. I already know that I can use the angle attribute to rotate the symbol. But it is very difficult to determine the respective angle. If I type in the value manually, I have to correct it 5 times until it is exactly as it should. This is extremely unproductive. Rotating doesn't work with the "Rotate Object" tool. From Geomedia, I'm used to the fact that when recording, you first click on the position point and then record the direction using the mouse position. That's what I was looking for in QGIS. Best regards, Michaela Von: Ujaval Gandhi Gesendet: Montag, 27. November 2023 12:32 An: Huesmann, Michaela Cc: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] Oriented Points Just add an attribute for the rotation/orientation. You can visualize them using the technique shown here https://www.communityhealthmaps.org/blog/2019/02/21/mapping-field-photos-in-qgis<https://mailtrack.io/link/24fbc2e171ace0e065dca7ad8a988e33440db9bf?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=https%3A%2F%2Fwww.communityhealthmaps.org%2Fblog%2F2019%2F02%2F21%2Fmapping-field-photos-in-qgis=8747767=218b5ea232016f3e> --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com<https://mailtrack.io/link/40f7fc9598c4280f3ffd3d282723fc66c1f08f7e?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl=http%3A%2F%2Fwww.spatialthoughts.com=8747767=2980740ac02388fd> [Das Bild wurde vom Absender entfernt.] On Mon, Nov 27, 2023 at 4:18 PM Huesmann, Michaela via QGIS-User wrote: Hello QGIS group, how can I digitize oriented points in QGIS? I probably have to provide information when creating the geometry type fort he object class so that the rotation can be recorded. Must be easy I guess but didn’t found out yet. Best regards, Michaela [Kreisstadt Steinfurt]<http://www.steinfurt.de> - 48565 Steinfurt www.steinfurt.de<http://www.steinfurt.de> Mit freundlichen Grüßen im Auftrag Michaela Huesmann IT Fachdienst Tiefbau Tel.: +49 2552 925 219 Fax: E-Mail: michaela.huesm...@stadt-steinfurt.de<mailto:michaela.huesm...@stadt-steinfurt.de> Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. _______ QGIS-User mailing list QGIS-User@lists.osgeo.org<mailto: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] Oriented Points
Just add an attribute for the rotation/orientation. You can visualize them using the technique shown here https://www.communityhealthmaps.org/blog/2019/02/21/mapping-field-photos-in-qgis---Ujaval GandhiSpatial Thoughtswww.spatialthoughts.comOn Mon, Nov 27, 2023 at 4:18 PM Huesmann, Michaela via QGIS-User wrote: Hello QGIS group, how can I digitize oriented points in QGIS? I probably have to provide information when creating the geometry type fort he object class so that the rotation can be recorded. Must be easy I guess but didn’t found out yet. Best regards, Michaela - 48565 Steinfurt www.steinfurt.de Mit freundlichen Grüßen im Auftrag Michaela Huesmann IT Fachdienst Tiefbau Tel.: +49 2552 925 219 Fax: E-Mail: michaela.huesmann@Stadt-Steinfurt.de Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. ___ 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] Oriented Points
Hello QGIS group, how can I digitize oriented points in QGIS? I probably have to provide information when creating the geometry type fort he object class so that the rotation can be recorded. Must be easy I guess but didn’t found out yet. Best regards, Michaela [Kreisstadt Steinfurt]<http://www.steinfurt.de> - 48565 Steinfurt www.steinfurt.de<http://www.steinfurt.de> Mit freundlichen Grüßen im Auftrag Michaela Huesmann IT Fachdienst Tiefbau Tel.: +49 2552 925 219 Fax: E-Mail: michaela.huesm...@stadt-steinfurt.de<mailto:michaela.huesm...@stadt-steinfurt.de> Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. ___ 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] Import Qgis symbology into Avanza maps
Good morning, I'm using QGIS 3.34.0 and I want to import a Qgis symbology in Avanza maps. I have a CSV file that I have imported in Qgis and I created a symbology. Then I exported those points as a shapefile format to be able to import them in Avanza. My purpose is to do mapping using my map with my previous points and symbology. However, with the shapefile format I don't keep the symbology. I tried to import the symbology using the format .kml without success. On Avanza website it's written than I can get a new set of symbols by importing them in a .png format. Is there a way to export my symbology in a PNG format on Qgis? Or does anybody know how to transfer my Qgis symbology into Avanza maps application. Thank you for your help, Jules P08 6109 0104 E j.valdena...@deltalithium.com.au A Level 2, 18 Richardson Street, West Perth , WA 6005 ___ 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] Questions regarding the QgsProcessingAlgorithm class
Hi list - I have a couple of (probably dumb) questions on how to use the "QgsProcessingAlgorithm" class. * A have a lot parameter inputs placed in the "advanced" section af the processing input dialog. It's parameters that seldom has to be changed. How do I present the "Avanced" section /not/ unfolded? The default is to unfold this section and thus possibly confuse users by showing a lot of seldom changed parameters. * One of my input parameters is a "QgsProcessingParameterString" parameter that will contain a password. How can I obfuscate the parameter input, i.e showing '***' instead of the password ? -- Med venlig hilsen / Best regards Bo Victor Thomsen _______ 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] Models execution times very different between QGIS 3.34.0 and QGIS 3.32.3
Lorenzo-Outlook morettilorenzo at outlook.com With the new version 3.34.0 it is impossible to run complex models! Why this huge difference between the two versions? Please check Hi Lorenzo, I suggest you to open an issue report on the QGIS GitHub repository at https://github.com/qgis/QGIS/issues providing the model and the input layer(s) and all the info requested in the issue report form. Best regards. Andrea Giudiceandrea ___ 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] Drill Hole Labels
Hi All, I am trying to label drill hole data down drill holes using the Geoscience plug-in but I am having problems getting the labels oriented at right angles to the hole trace and spaced away from the hole trace to enable readability. Has anyone worked out how to do this? Could we use the geometry generator for the label display? Cheers Grant Perth WA ___ 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] Canvas larger than viewport is rendered/drawn for vector layers, but not for raster layers
Anyone? :) So if I had to guess: Prerendering raster outside the viewport is disabled because for any remote raster source (most are remote) it would overall require QGIS to download much more raster data than otherwise. For users with low bandwidth prerendering/predownloading raster outside the viewport would end up feeling even more sluggish than what I am experiencing. Could that be the reason? On Wed, Nov 15, 2023 at 5:40 PM Thomas Larsen Wessel wrote: > This screen capture demonstrates much better than words: > https://imgur.com/5LSEsiY. > > Is there any way I can make it prerender the raster data as well? > > What I have already tried: > * setting almost infinite cache size > * all the relevant QGIS options/settings I could find > * both local (gpkg) and remote WMS raster data > * both Windows and Linux > * QGIS 3.22 and 3.30 > * different CRS for layer > > Some of my tests did make the rendering speed up, but no matter what it > always renders the raster data only for the canvas inside the view port, > and does not render anything outside of the view port, whereas vector data > is always rendered for an area that extends outside the view port. > > Sincerely, Thomas > _______ 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] Models execution times very different between QGIS 3.34.0 and QGIS 3.32.3
I have been using the new version of QGIS 3.34.0 for a few days and have found that in running models created by the Graphics Modeler, there is very different performance between version 3.32.3 and 3.34.0. I have several models created with the modeler including a very complex one with about 100 algorithms that until version 3.32.3 was executed in about 11 minutes, while with version 3.34.0 the same model after more than 3 hours was executed ONLY 18% of the total!!! In the case of simpler models with very few algorithms the execution times are similar with increasingly better times with version 3.32.3. What happened ? I checked and rechecked everything but not much can be done. When "Run" is pressed to execute the model, before the first script appears in the log, several minutes pass while in the previous version 3.32.3 the first model script was executed after a few seconds. With the new version 3.34.0 it is impossible to run complex models! Why this huge difference between the two versions? Please check Thank you Lorenzo ___ 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] zoomToLayers pyqgis
Hi Patrick, what about iface.mapCanvas().setExtent(layer.extent()) iface.mapCanvas().refresh() or iface.setActiveLayer(layer) iface.zoomToActiveLayer() hth Ludwig Am 18.11.23 um 09:32 schrieb Patrick Dunford via QGIS-User: Good day to all I want to call zoomToLayers in a pyqgis script to zoom the map canvas to a layer which I have just applied a filter to. I am not sure how to do it as all the documented uses of this method seem to apply to different things than to a layer. If the layer is not the currently active layer is there a method of this that can be called on a particular layer or selecting a particular layer as active then using the call that uses the active layer. e.g. project =QgsProject.instance() layer = project.mapLayersByName("Live Aerial Footprints")[0] layer.setSubsetString(aerialFilter) # insert code here to zoom to this layer Thanks ___ 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] zoomToLayers pyqgis
Good day to all I want to call zoomToLayers in a pyqgis script to zoom the map canvas to a layer which I have just applied a filter to. I am not sure how to do it as all the documented uses of this method seem to apply to different things than to a layer. If the layer is not the currently active layer is there a method of this that can be called on a particular layer or selecting a particular layer as active then using the call that uses the active layer. e.g. project =QgsProject.instance() layer = project.mapLayersByName("Live Aerial Footprints")[0] layer.setSubsetString(aerialFilter) # insert code here to zoom to this layer Thanks ___ 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] Reselect Features
Michael, In addition to what Nyall said, might I suggest another possible method for you doing it. Instead of selecting and deselecting, how about you use a virtual field? To sort/filter the river names. 1) Using the field calculator, create a virtual field and call it, "filter" and set all values to 1 or 0, based on something like... CASE WHEN river_name = 'SomeRiverName' THEN 1 ELSE 0 END (expression may have some errors) 2) Style your Layer using the "filter" value as your classification and set 0 as Invalid and 1 as Valid. You should then be able to see only the geometries with the valid name and spot the gaps. If instead of selecting and deselecting, you use the filter column to edit the filter attribute to 1 or 0 you can add or remove features until you have what you want. You can also set the attribute table to display only what is visible on canvas, which may also help. Hopefully the above helps Kind Regards, Richard —— Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management —— Oifig na nOibreacha Poiblí Office of Public Works Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36 Jonathan Swift Street, Trim, Co Meath, C15 NX36 —— M +353 87 688 5964 T +353 46 942 2409 https://gov.ie/opw —— To send me files larger than 30MB, please use the link below https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie Email Disclaimer: https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/ —— Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management —— Oifig na nOibreacha Poiblí Office of Public Works Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36 Jonathan Swift Street, Trim, Co Meath, C15 NX36 —— M +353 87 688 5964 T +353 46 942 2409 https://www.opw.ie —— To send me files larger than 30MB, please use the link below https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie Email Disclaimer: https://www.opw.ie/en/disclaimer/ > -Original Message- > From: QGIS-User On Behalf Of Michael > Edward McNeil via QGIS-User > Sent: 17 November 2023 02:48 > To: Andrea Giudiceandrea > Cc: qgis-user@lists.osgeo.org > Subject: Re: [Qgis-user] Reselect Features > > Thank you for your reply, Andrea. I'll be glad to describe the situation and > what > I'm doing. > > I'm running Qgis 3.23.3 for Windows (Windows 11), which is the regular > environment I'm now working Qgis in – though earlier I also tried 3.23.2 on > MacOS (the latter of which – Qgis for MacOS – I now believe to be a less > refined and less finished variety of Qgis, similar version number or no). > > For my particular project at present (a map I'm preparing of Roman Britain), > I'm adding rivers to the map – drawing data from a shapefile of the > "waterways" (rivers, creeks, canals, ditches, etc.) of the island of Britain > (containing something like 190,000 features!), distributed by the U.K. > government. > > The procedure I've found most convenient at present for doing so (excepting > the interference of the problem being discussed) is to copy the original > shapefile to the name of the desired river, load it as a layer, open its > Attributes > Table, turn on Editing, sort the table by name, select all features bearing > the > right river name, then (after selecting the Select Features by Area or Single > Click tool) scan through the segments and features of the intended river: 1) > deselecting the segments of a different river possessing the same name (there > are many such in Britain), 2) deselecting side segments which incorrectly bear > your intended river's name (also a lot), 3) selecting incorrectly named > segments (e.g., NULL) that if omitted would introduce gaps in the line of the > river, 4) adding to the selection creeks possessing a different name, and so > forth. Finally, invert the selection, delete all the features one didn't > select in the > process above, then save. > > It all works well – until the eventual moment when one's pressed shift or > control key momentarily fails to register, the entire laboriously selected > set of > features clears back to just the last one touched – and I pull out even more > of > my remaining hair. > > Nor does saving the layer every now and then in the middle of the process do > any good – because what features are selected or not at that instant doesn't > get remembered in the save file. > > This is the moment when it would be exceedingly nice if one could just pull > down Edit > Select > Reselect Features and thereby get back to the last > previous > selected set of features as they existed just prior to the last > keystroke/click > entered. > > But that command appears to do nothing. > > (Thanks again for your response!) > > Best, > Michael McNeil
Re: [Qgis-user] Reselect Features
On Fri, 17 Nov 2023 at 12:48, Michael Edward McNeil via QGIS-User < qgis-user@lists.osgeo.org> wrote: > > This is the moment when it would be exceedingly nice if one could just > pull down Edit > Select > Reselect Features and thereby get back to the > last previous selected set of features as they existed just prior to the > last keystroke/click entered. > > But that command appears to do nothing. > Reselect only works if you've previously "cleared" a selection. If you're *changing* the selection, then reselect won't do anything. I think what you're ultimately asking for is a undo/redo history for selections Which is a GOOD idea! Nyall > > (Thanks again for your response!) > > Best, > Michael McNeil > > > > On Nov 16, 2023, at 16:33, Andrea Giudiceandrea via QGIS-User < > qgis-user@lists.osgeo.org> wrote: > > > > > >> > >> Michael Edward McNeil memcneil02 at gmail.com > >> Thu Nov 16 16:04:37 PST 2023 > > > >> Why doesn't the Edit > Select > Reselect Features command work? > > > > Hi Michael, > > it seems to me the command works as expected [1], at least using QGIS > 3.28 on Windows. > > > > May you provide a detailed list of steps that lead to such command to > not work properly? > > > > Best regards. > > > > Andrea > > > > [1] > https://docs.qgis.org/3.28/en/docs/user_manual/introduction/general_tools.html#selecting-manually-on-the-map-canvas > > ___ > > 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] Reselect Features
Thank you for your reply, Andrea. I'll be glad to describe the situation and what I'm doing. I'm running Qgis 3.23.3 for Windows (Windows 11), which is the regular environment I'm now working Qgis in – though earlier I also tried 3.23.2 on MacOS (the latter of which – Qgis for MacOS – I now believe to be a less refined and less finished variety of Qgis, similar version number or no). For my particular project at present (a map I'm preparing of Roman Britain), I'm adding rivers to the map – drawing data from a shapefile of the "waterways" (rivers, creeks, canals, ditches, etc.) of the island of Britain (containing something like 190,000 features!), distributed by the U.K. government. The procedure I've found most convenient at present for doing so (excepting the interference of the problem being discussed) is to copy the original shapefile to the name of the desired river, load it as a layer, open its Attributes Table, turn on Editing, sort the table by name, select all features bearing the right river name, then (after selecting the Select Features by Area or Single Click tool) scan through the segments and features of the intended river: 1) deselecting the segments of a different river possessing the same name (there are many such in Britain), 2) deselecting side segments which incorrectly bear your intended river's name (also a lot), 3) selecting incorrectly named segments (e.g., NULL) that if omitted would introduce gaps in the line of the river, 4) adding to the selection creeks possessing a different name, and so forth. Finally, invert the selection, delete all the features one didn't select in the process above, then save. It all works well – until the eventual moment when one's pressed shift or control key momentarily fails to register, the entire laboriously selected set of features clears back to just the last one touched – and I pull out even more of my remaining hair. Nor does saving the layer every now and then in the middle of the process do any good – because what features are selected or not at that instant doesn't get remembered in the save file. This is the moment when it would be exceedingly nice if one could just pull down Edit > Select > Reselect Features and thereby get back to the last previous selected set of features as they existed just prior to the last keystroke/click entered. But that command appears to do nothing. (Thanks again for your response!) Best, Michael McNeil > On Nov 16, 2023, at 16:33, Andrea Giudiceandrea via QGIS-User > wrote: > > >> >> Michael Edward McNeil memcneil02 at gmail.com >> Thu Nov 16 16:04:37 PST 2023 > >> Why doesn't the Edit > Select > Reselect Features command work? > > Hi Michael, > it seems to me the command works as expected [1], at least using QGIS 3.28 on > Windows. > > May you provide a detailed list of steps that lead to such command to not > work properly? > > Best regards. > > Andrea > > [1] > https://docs.qgis.org/3.28/en/docs/user_manual/introduction/general_tools.html#selecting-manually-on-the-map-canvas > ___ > 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] Reselect Features
Michael Edward McNeil memcneil02 at gmail.com Thu Nov 16 16:04:37 PST 2023 Why doesn't the Edit > Select > Reselect Features command work? Hi Michael, it seems to me the command works as expected [1], at least using QGIS 3.28 on Windows. May you provide a detailed list of steps that lead to such command to not work properly? Best regards. Andrea [1] https://docs.qgis.org/3.28/en/docs/user_manual/introduction/general_tools.html#selecting-manually-on-the-map-canvas ___ 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] Reselect Features
Why doesn't the Edit > Select > Reselect Features command work? I've lost so many complex selections because a) either my finger slipped, or the shift or control key didn't function for an instant – together with b) whereby I can't recover the lost selection with the foregoing command, as (from what I've read) it's supposed to. (Reselect Features, in my experience, doesn't function properly on either MacOS or Windows.) As an alternative, by the way, to this delicate situation where work can be lost at an accidental keystroke, why not add an "Add mode" and "Subtract mode" where (till changed) all selections are either one or the other, and not (by default) the type of keystroke that, at a stroke, will obliterate a long selection process. Michael McNeil _______ 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] Official check of plugins on "official" repository?
Maybe some platform to report faulty plugins, so that the plugins team can talk with the plugin developer and eventually mark the plugins as experimental in that case. I agree that that message would be nice to have in the plugin menu. Maybe open a feature request for it? Thanks for your suggestions. A quinta, 16/11/2023, 19:34, Agustin Lobo escreveu: > Dear Alexandre, > I understand the limitations of human resources. And my acknowledgment > to those involved in the QGIS project. > All I'm asking is a consistent terminology so that users are fully > aware of the potential problems: the only "official" or > fully tested plugins should be those which are now named "featured". > And the notice "Plugins are developed by independent organizations and > developers, > the QGIS organization does not take any responsibility for them" (or > similar), should be in QGIS Plugins/Manage and Install Plugins. > I'm already very involved on reporting issues in the github systems of > the plugins I use. Perhaps a system to report eventual problems caused > by the plugins in QGIS > could be considered so that QGIS users could use that information to > decide whether to install a given plugin or not. The current situation > in which installing or running a plugin can crash QGIS goes > against QGIS being contemplated as a stable and reliable software. > Hope QGIS developers find my comments useful. > Best, > > On Thu, Nov 16, 2023 at 10:23 AM Alexandre Neto via QGIS-User > wrote: > > > > Hello Agustin, > > > > I understand your point and I understand the value of what you propose. > Nevertheless, a full functionality check of each plugin would require human > resources that the qgis.org project does not have. > > > > The meaning of oficial plugin repository comes from a time that there > was no centralized place to search for plugins. You would need to find > repositories scattered all over the internet and add it manually. At some > point it was decided to centralise it as much as possible in one place. > > > > The only plugins that are under qqgis.org responsibility are the core > plugins, the ones that come installed with QGIS. > > > > Obviously that, in an ideal world, all plugins would be highly tested > before being allowed into the repository. But the small team responsible > for accepting the plugins already struggle to do a "simple" requirements > check, with all the new plugins and updates. > > > > Please consider to support the testing efforts. Make sure to report the > issues to the respective plugin bug trackers. Consider supporting the > developer's of the plugins you depend the most, so it becomes more stable > and reliable. > > > > Alex Neto > > > > On Thu Nov 16, 2023, 08:23 AM GMT, Agustin Lobo wrote: > > > > Thanks for the clarification, > > > > They are called featured plugins > > > > > > Thus, the term is misleading. "featured" does not mean "certified". > > In any case, the bottom issue is that plugins causing problems in QGIS > > beyond the plugin itself, and in particular those just crashing QGIS > > should not be entitled to be in the official repository or, at least, > > required to keep the "experimental" tag. > > In the absence of further information, the term "official" implies, > > for the (naive?) user, a commitment to their functionality from the > > QGIS steering committee. > > I believe that the note in the QGIS plugins web portal; > > "Plugins are developed by independent organizations and developers, > > the QGIS organization does not take any responsibility for them." > > is somehow conflicting with the term "official". And while all users > > will read the term "official", very few will reach the aforementioned > > note. > > (perhaps this notice should also be in the QGIS plugins menu itself). > > > > Hope this helps to keep QGIS to be seen as a stable and reliable tool. > > > > Agus > > > > On Wed, Nov 15, 2023 at 2:08 PM Alexandre Neto > wrote: > > > > > > Hello Agustin, > > > > > > Due to the nature/diversity of QGIS third party plugins design there's > no automatic review of the plugins. There's a manual review process to > confirm that they comply with some rules [1], but nothing to test if the > plugin does what it advertises or if in some situations may cause crashes. > > > > This being said, there are few plugins that have the qgis.org > "certification". They are called featured plugins. > > > > Hope it helped > > >
Re: [Qgis-user] Official check of plugins on "official" repository?
Dear Alexandre, I understand the limitations of human resources. And my acknowledgment to those involved in the QGIS project. All I'm asking is a consistent terminology so that users are fully aware of the potential problems: the only "official" or fully tested plugins should be those which are now named "featured". And the notice "Plugins are developed by independent organizations and developers, the QGIS organization does not take any responsibility for them" (or similar), should be in QGIS Plugins/Manage and Install Plugins. I'm already very involved on reporting issues in the github systems of the plugins I use. Perhaps a system to report eventual problems caused by the plugins in QGIS could be considered so that QGIS users could use that information to decide whether to install a given plugin or not. The current situation in which installing or running a plugin can crash QGIS goes against QGIS being contemplated as a stable and reliable software. Hope QGIS developers find my comments useful. Best, On Thu, Nov 16, 2023 at 10:23 AM Alexandre Neto via QGIS-User wrote: > > Hello Agustin, > > I understand your point and I understand the value of what you propose. > Nevertheless, a full functionality check of each plugin would require human > resources that the qgis.org project does not have. > > The meaning of oficial plugin repository comes from a time that there was no > centralized place to search for plugins. You would need to find repositories > scattered all over the internet and add it manually. At some point it was > decided to centralise it as much as possible in one place. > > The only plugins that are under qqgis.org responsibility are the core > plugins, the ones that come installed with QGIS. > > Obviously that, in an ideal world, all plugins would be highly tested before > being allowed into the repository. But the small team responsible for > accepting the plugins already struggle to do a "simple" requirements check, > with all the new plugins and updates. > > Please consider to support the testing efforts. Make sure to report the > issues to the respective plugin bug trackers. Consider supporting the > developer's of the plugins you depend the most, so it becomes more stable and > reliable. > > Alex Neto > > On Thu Nov 16, 2023, 08:23 AM GMT, Agustin Lobo wrote: > > Thanks for the clarification, > > They are called featured plugins > > > Thus, the term is misleading. "featured" does not mean "certified". > In any case, the bottom issue is that plugins causing problems in QGIS > beyond the plugin itself, and in particular those just crashing QGIS > should not be entitled to be in the official repository or, at least, > required to keep the "experimental" tag. > In the absence of further information, the term "official" implies, > for the (naive?) user, a commitment to their functionality from the > QGIS steering committee. > I believe that the note in the QGIS plugins web portal; > "Plugins are developed by independent organizations and developers, > the QGIS organization does not take any responsibility for them." > is somehow conflicting with the term "official". And while all users > will read the term "official", very few will reach the aforementioned > note. > (perhaps this notice should also be in the QGIS plugins menu itself). > > Hope this helps to keep QGIS to be seen as a stable and reliable tool. > > Agus > > On Wed, Nov 15, 2023 at 2:08 PM Alexandre Neto wrote: > > > Hello Agustin, > > > Due to the nature/diversity of QGIS third party plugins design there's no > automatic review of the plugins. There's a manual review process to confirm > that they comply with some rules [1], but nothing to test if the plugin does > what it advertises or if in some situations may cause crashes. > > This being said, there are few plugins that have the qgis.org > "certification". They are called featured plugins. > > Hope it helped > > > [1] https://plugins.qgis.org/publish/ > > A quarta, 15/11/2023, 07:16, Agustin Lobo via QGIS-User > escreveu: > > > I am surprised that some plugins downloaded from the official qgis > repository cause problems in QGIS, sometimes even a crash. > In the R project, there is a review system that automatically checks > packages to be uploaded (and to remain) on the equivalent official > repository. > Is there an equivalent checking process for QGIS plugins? As a lot of > important GIS functionality in QGIS is provided by plugins, I think > this stability check would avoid a lot of user frustration. > > Agus > ___ > QGIS-User
[Qgis-user] FW: Pansharpening Problem
Apologies, I forgot to include the list in my response Grant, please see below. Kind Regards, Richard -- Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management -- Oifig na nOibreacha Poibl? Office of Public Works Sr?id Jonathan Swift, Baile ?tha Troim, Co na M?, C15 NX36 Jonathan Swift Street, Trim, Co Meath, C15 NX36 -- M +353 87 688 5964 T +353 46 942 2409 https://gov.ie/opw -- To send me files larger than 30MB, please use the link below https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie Email Disclaimer: https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/ -- MSc GIS, FME Certified Professional -- Oifig na nOibreacha Poibl? Office of Public Works Sr?id Jonathan Swift, Baile ?tha Troim, Co na M?, C15 NX36 Jonathan Swift Street, Trim, Co Meath, C15 NX36 -- M +353 87 688 5964 T +353 46 942 2409 https://https://gov.ie/opw<https://www.opw.ie> -- Email Disclaimer: https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/<https://www.opw.ie/en/disclaimer/> From: Richard McDonnell Sent: 16 November 2023 10:19 To: Grant Boxer Subject: RE: [Qgis-user] Pansharpening Problem Hi Grant, The NoDATA values, if not specified are calculated from the source rasters. For RGB imagery, this typically is either 0 or 255, unless you are using an alpha band. You can though remove the NoDATA tag from the raster. I know of two of ways to do this. 1. Use gdal_edit with the -unsetnodata, which will modify the existing dataset. 2. Use gdal_translate to copy the raster but by using the -a_nodata and setting it to none, to remove the NoDATA tag I would suggest if using the first one, that you make a backup of the raster, just in case. I hope that helps! Kind Regards, Richard From: QGIS-User mailto:qgis-user-boun...@lists.osgeo.org>> On Behalf Of Grant Boxer via QGIS-User Sent: 16 November 2023 01:52 To: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Subject: [Qgis-user] Pansharpening Problem I am attempting to pansharpen a PRISMA hyperspectral RGB image and I am getting areas within the image that are clipped (no data). These appear to bands with zero values in two of the three bands. Anyone have a work around or suggest how this can be avoided. I am using the gdal pansharpen tool and latest release QGIS 3.34. Cheers Grant Perth WA ___ 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] Pansharpening Problem
Hi Grant: If you are ending up with null values and zero's, check the values in the raster you are pan sharpening against the training or higher resolution raster you are using to sharpen. Is there null data in the high res raster. Review the input requirements of the routine to ensure the tool will work with your data. Perhaps pan sharpening a 3 channel raster with a single channel raster creates the problem. Kirk Schmidt On 11/15/2023 9:52 PM, Grant Boxer via QGIS-User wrote: I am attempting to pansharpen a PRISMA hyperspectral RGB image and I am getting areas within the image that are clipped (no data). These appear to bands with zero values in two of the three bands. Anyone have a work around or suggest how this can be avoided. I am using the gdal pansharpen tool and latest release QGIS 3.34. Cheers Grant Perth WA ___ 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 -- Kirk Schmidt, MScF, BScF, RPF General Manager Nortek Resource Solutions Inc. 26 Church Road Sutherlands River, NS B0K 1W0 Tel (902) 922.3607 Email:k...@nortekresources.com Web:www.nortekresources.com ___ 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] Official check of plugins on "official" repository?
Hello Agustin, I understand your point and I understand the value of what you propose. Nevertheless, a full functionality check of each plugin would require human resources that the qgis.org <http://qgis.org> project does not have. The meaning of oficial plugin repository comes from a time that there was no centralized place to search for plugins. You would need to find repositories scattered all over the internet and add it manually. At some point it was decided to centralise it as much as possible in one place. The only plugins that are under qqgis.org <http://qqgis.org> responsibility are the core plugins, the ones that come installed with QGIS. Obviously that, in an ideal world, all plugins would be highly tested before being allowed into the repository. But the small team responsible for accepting the plugins already struggle to do a "simple" requirements check, with all the new plugins and updates. Please consider to support the testing efforts. Make sure to report the issues to the respective plugin bug trackers. Consider supporting the developer's of the plugins you depend the most, so it becomes more stable and reliable. Alex Neto On Thu Nov 16, 2023, 08:23 AM GMT, Agustin Lobo <mailto:alobolis...@gmail.com> wrote: > Thanks for the clarification, >> They are called featured plugins > > Thus, the term is misleading. "featured" does not mean "certified". > In any case, the bottom issue is that plugins causing problems in QGIS > beyond the plugin itself, and in particular those just crashing QGIS > should not be entitled to be in the official repository or, at least, > required to keep the "experimental" tag. > In the absence of further information, the term "official" implies, > for the (naive?) user, a commitment to their functionality from the > QGIS steering committee. > I believe that the note in the QGIS plugins web portal; > "Plugins are developed by independent organizations and developers, > the QGIS organization does not take any responsibility for them." > is somehow conflicting with the term "official". And while all users > will read the term "official", very few will reach the aforementioned > note. > (perhaps this notice should also be in the QGIS plugins menu itself). > > Hope this helps to keep QGIS to be seen as a stable and reliable tool. > > Agus > > On Wed, Nov 15, 2023 at 2:08 PM Alexandre Neto wrote: >> >> Hello Agustin, >> >> >> Due to the nature/diversity of QGIS third party plugins design there's no >> automatic review of the plugins. There's a manual review process to confirm >> that they comply with some rules [1], but nothing to test if the plugin does >> what it advertises or if in some situations may cause crashes. >> >> This being said, there are few plugins that have the qgis.org >> "certification". They are called featured plugins. >> >> Hope it helped >> >> >> [1] https://plugins.qgis.org/publish/ >> >> A quarta, 15/11/2023, 07:16, Agustin Lobo via QGIS-User >> escreveu: >>> >>> I am surprised that some plugins downloaded from the official qgis >>> repository cause problems in QGIS, sometimes even a crash. >>> In the R project, there is a review system that automatically checks >>> packages to be uploaded (and to remain) on the equivalent official >>> repository. >>> Is there an equivalent checking process for QGIS plugins? As a lot of >>> important GIS functionality in QGIS is provided by plugins, I think >>> this stability check would avoid a lot of user frustration. >>> >>> Agus >>> ___ >>> 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] Official check of plugins on "official" repository?
Thanks for the clarification, > They are called featured plugins Thus, the term is misleading. "featured" does not mean "certified". In any case, the bottom issue is that plugins causing problems in QGIS beyond the plugin itself, and in particular those just crashing QGIS should not be entitled to be in the official repository or, at least, required to keep the "experimental" tag. In the absence of further information, the term "official" implies, for the (naive?) user, a commitment to their functionality from the QGIS steering committee. I believe that the note in the QGIS plugins web portal; "Plugins are developed by independent organizations and developers, the QGIS organization does not take any responsibility for them." is somehow conflicting with the term "official". And while all users will read the term "official", very few will reach the aforementioned note. (perhaps this notice should also be in the QGIS plugins menu itself). Hope this helps to keep QGIS to be seen as a stable and reliable tool. Agus On Wed, Nov 15, 2023 at 2:08 PM Alexandre Neto wrote: > > Hello Agustin, > > > Due to the nature/diversity of QGIS third party plugins design there's no > automatic review of the plugins. There's a manual review process to confirm > that they comply with some rules [1], but nothing to test if the plugin does > what it advertises or if in some situations may cause crashes. > > This being said, there are few plugins that have the qgis.org > "certification". They are called featured plugins. > > Hope it helped > > > [1] https://plugins.qgis.org/publish/ > > A quarta, 15/11/2023, 07:16, Agustin Lobo via QGIS-User > escreveu: >> >> I am surprised that some plugins downloaded from the official qgis >> repository cause problems in QGIS, sometimes even a crash. >> In the R project, there is a review system that automatically checks >> packages to be uploaded (and to remain) on the equivalent official >> repository. >> Is there an equivalent checking process for QGIS plugins? As a lot of >> important GIS functionality in QGIS is provided by plugins, I think >> this stability check would avoid a lot of user frustration. >> >> Agus >> ___ >> 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] QGIS Integration with Oracle Spatial and Graph
Hi, I'm not aware of specific documentation regarding Oracle except the connection part in the QGIS user documentation [0] The rest of QGIS will behave (almost) the same way no matter the type of the data source. There is no specific support for Oracle database Graph in QGIS. If I understand correctly how it works, it would still be possible to request data with graph Oracle specific operators (using either view or layer query definition into QGIS) but you wouldn't have specific tool which can fully benefit from them. IIRC, it's almost the same situation in PostGRESQL. [0] https://docs.qgis.org/3.28/en/docs/user_manual/managing_data_source/opening_data.html?highlight=oracle#connecting-to-oracle-spatial Regards, Julien > Hi > > We are an Oracle Partner based in Mexico that wants to take a project for our > current Customer related with the Use of Oracle Database with > the feature of Spatial and Graph in order to integrate in the same database > the Cadastre relational data and the QGIS Content. > > Using Oracle Database with the feature of Spatial and Graph as the > Geodatabase of QGIS instead of FileGeodatabase. > > Could you give us some direction, related books or training to get hands of > experience related to the Use of Oracle Database with the feature > of Spatial and Graph as the Geodatabase of QGIS > > Or the methodology to migrate current QGIS FileGeodatabase to Oracle Database > with the feature of Spatial and Graph. > > Regards. > * > > ___ > 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 -- Julien Cabieces Senior Developer at Oslandia julien.cabie...@oslandia.com ___ 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] DataPlotly plugin (ubuntu) : ModuleNotFoundError: No module named 'pandas
Hi Laurent, the error message should no longer show up using the latest available plugin version 4.1.0, thanks to Étienne Trimaille and Matteo Ghetta. https://github.com/ghtmtt/DataPlotly/pull/332 Best regards. Andrea ___ 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] Pansharpening Problem
I am attempting to pansharpen a PRISMA hyperspectral RGB image and I am getting areas within the image that are clipped (no data). These appear to bands with zero values in two of the three bands. Anyone have a work around or suggest how this can be avoided. I am using the gdal pansharpen tool and latest release QGIS 3.34. Cheers Grant Perth WA ___ 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] QGIS - field calculator calculations not in attribute table
Hi Tony Some thoughts to start with: Does the student: - have the correct write access to the data? - is the field in the correct format? - is the field hidden or a virtual/temporary field? Cheers Em On Thu, 16 Nov 2023 at 02:51, Diaz, Tony A. via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hello, a student of ours is trying to use the field calculator to > calculate the closest point on an arbitrary line for each point in an > object and append the column to the attribute table. The calculation > itself was successful as well as the mapping the result, but the > calculations themselves are not on the attribute table. Any ideas we can > pass along to them? > > > > > > Tony Diaz > > Caltech > > Pasadena, CA > > > ___ > 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 > -- Emma Hain — Product Manager/Senior GIS Analyst e...@north-road.com / 0414 512 782 [image: https://north-road.com] *North Road* Cartography • Development • Spatial Analysis -- *north-road.com* <http://north-road.com> <https://twitter.com/northroadgeo> <https://www.linkedin.com/company/north-road-studios> <https://www.facebook.com/North-Road-997236690392419/home> ___ 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] QEP: Authentication system updates
Hi lists, I've created a new QGIS enhancement proposal at https://github.com/qgis/QGIS-Enhancement-Proposals/issues/278 concerning changes to the inbuilt authentication system / secure storage support in QGIS. By its nature, the authentication framework needs to be secure and any changes to the authentication logic need careful consideration. Comments and discussion on the github ticket linked above are encouraged! Kind regards, Nyall ___ 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] QGIS Integration with Oracle Spatial and Graph
Hi We are an Oracle Partner based in Mexico that wants to take a project for our current Customer related with the Use of Oracle Database with the feature of Spatial and Graph in order to integrate in the same database the Cadastre relational data and the QGIS Content. Using Oracle Database with the feature of Spatial and Graph as the Geodatabase of QGIS instead of FileGeodatabase. Could you give us some direction, related books or training to get hands of experience related to the Use of Oracle Database with the feature of Spatial and Graph as the Geodatabase of QGIS Or the methodology to migrate current QGIS FileGeodatabase to Oracle Database with the feature of Spatial and Graph. Regards. ___ 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] QGIS - field calculator calculations not in attribute table
Hello, a student of ours is trying to use the field calculator to calculate the closest point on an arbitrary line for each point in an object and append the column to the attribute table. The calculation itself was successful as well as the mapping the result, but the calculations themselves are not on the attribute table. Any ideas we can pass along to them? Tony Diaz Caltech Pasadena, CA ___ 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] Canvas larger than viewport is rendered/drawn for vector layers, but not for raster layers
This screen capture demonstrates much better than words: https://imgur.com/5LSEsiY. Is there any way I can make it prerender the raster data as well? What I have already tried: * setting almost infinite cache size * all the relevant QGIS options/settings I could find * both local (gpkg) and remote WMS raster data * both Windows and Linux * QGIS 3.22 and 3.30 * different CRS for layer Some of my tests did make the rendering speed up, but no matter what it always renders the raster data only for the canvas inside the view port, and does not render anything outside of the view port, whereas vector data is always rendered for an area that extends outside the view port. Sincerely, Thomas ___ 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