Re: [Qgis-user] Looking for QGIS Python code for a three-level menu?

2024-05-12 Per discussione Raymond Nijssen via QGIS-User
Wow, this is so much more logical! If this works, then why do we (still) have the addPluginToMenu() available? Raymond On 12-05-2024 22:26, Jürgen E. Fischer via QGIS-User wrote: Hi Mike, On Sun, 12. May 2024 at 17:35:14 +, Elstermann, Mike via QGIS-User wrote: I'm looking for a piece

Re: [Qgis-user] Looking for QGIS Python code for a three-level menu?

2024-05-12 Per discussione Raymond Nijssen via QGIS-User
Hi Mike, I'm afraid you cannot add submenus to the plugin menu. The addPluginToMenu function only takes actions as an argument: action_1 = QAction('Action 1') iface.addPluginToMenu('Plugin 1', action_1) menu_1 = QMenu('Menu 1') iface.addPluginToMenu('Plugin 1', menu_1) The last line

Re: [Qgis-user] web based spatial MIS/Dashboard

2024-04-22 Per discussione Raymond Nijssen via QGIS-User
Hi Janneke, Recently, I've been playing around with Apache Superset which I think can do what you are looking for and looks very promising! https://superset.apache.org/ Kind regards, Raymond On 22-04-2024 12:33, Janneke van Dijk via QGIS-User wrote: Dear QGIS developers and users, In my

Re: [Qgis-user] Determining the Name of the Current Style File of a QGIS layer

2024-04-12 Per discussione Raymond Nijssen via QGIS-User
Hi Bill, Didn't do any inverstigation, but I'm pretty sure that only the layer style gets set by the .qml, but the .qml file name doesn't get stored anywhere on the layer. So the QGIS project or layer is not aware of the .qml anymore. If you change the .qml you will not see anything changing

Re: [Qgis-user] QGIS Open Day 28 March 2024

2024-03-27 Per discussione Raymond Nijssen via QGIS-User
Hi Amy, Will this be Thursday 28 or Friday 29 ? (Friday 28 will not happen this month.) Kind regards, Raymond On 27-03-2024 11:06, Amy Ternent via QGIS-User wrote: Dear QGIS Users On Friday, 28 March 2024 we will be holding our year-eand festive QGIS Open Day! What is a QGIS Open Day you

Re: [Qgis-user] Hillshade default direction

2024-01-23 Per discussione Raymond Nijssen via QGIS-User
Hi David, On 23-01-2024 06:39, David Strip via QGIS-User wrote: After a lifetime of NW hillshades, my eye reverses hills and valleys when I shift the sun. This is not caused by looking at NW hillshades, but by looking at real life objects where light normally comes from above. This is what

Re: [Qgis-user] Cannot save

2023-11-30 Per discussione Raymond Nijssen via QGIS-User
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

Re: [Qgis-user] Readonly geometries

2023-10-27 Per discussione Raymond Nijssen via QGIS-User
Haven't tried, but maybe 1:1 joining a second table to your layer and editing that table might work? Raymond On 23-10-2023 20:58, Simon Gröchenig via QGIS-User wrote: Hi list, is it possible to set geometries to readonly while attributes are editable? Simon

Re: [Qgis-user] How to permanently enable a plugin?

2023-04-07 Per discussione Raymond Nijssen via QGIS-User
Hi Adam, Normally it should work as you wish for. Once I had a customer with this problem. They were using Citrix and the user home directory (where plugins are stored) was either cleared at every startup, or the server where QGIS was running was a different every time. Could that be the

[Qgis-user] International QGIS User Conference & Contributor Meeting 2023

2023-02-02 Per discussione Raymond Nijssen via QGIS-User
Dear users and developers, After waiting for 3 years we are happy to announce that the conference website is live: https://uc2023.qgis.nl/ More details will follow soon, but for now please register and propose your talks and/or workshops. And especially for those who'd like to attend the

Re: [Qgis-user] CSV layer, Time column null expressie to test for NULL/empty?

2023-01-19 Per discussione Raymond Nijssen via QGIS-User
Or: coalesce(field, '') in ('', ' ', 'NULL') Raymond On 19-01-2023 09:53, kirk via QGIS-User wrote: You can also use CASE When field is null then 123 else 321 end Kirk Schmidt Sent from my Galaxy Original message From: Richard Duivenvoorde via QGIS-User Date:

Re: [Qgis-user] The license agreement of QGIS

2022-12-07 Per discussione Raymond Nijssen via QGIS-User
Yes, all free! Use as much QGIS as you like! However, if you are happy QGIS users and your organization is relying on the software, consider becoming a sustaining member. That way you can support the project, software development, bug fixing, upgrades and so on. More info over here:

Re: [Qgis-user] Faster Intersects

2022-09-09 Per discussione Raymond Nijssen via Qgis-user
loud Management: https://cloud.linktechs.net <https://cloud.linktechs.net> *From:* Alexandre Neto *Sent:* Friday, September 9, 2022 12:20 PM *To:* Dennis Burgess *Cc:* Raymond Nijssen ; QGIS User *Subject:* Re: [Qgis-user] Faster Intersects Following raymond advice, Move the CSV to a sh

Re: [Qgis-user] Faster Intersects

2022-09-09 Per discussione Raymond Nijssen via Qgis-user
Some things to check: * Is your data local? * Is it in a fast file format? (for example .gpkg or .shp and not .csv or .geojson) * Does the data have a spatial index? * Is the geometry very complicated, like a huge multi polygon with thousands of vertices and islands? In that case, split it up

Re: [Qgis-user] NULL in attribute table

2022-07-06 Per discussione Raymond Nijssen via Qgis-user
Hi Dario, In an expression you can use the coalesce() function: coalesce("field", 'alternative value') Raymond On 06-07-2022 18:15, Dario C via Qgis-user wrote: Hi there, I'm using an attribute table on my layout. For all the field without any value I have NULL. Is there any way to add an

Re: [Qgis-user] shp file vs vector laag

2022-05-25 Per discussione Raymond Nijssen via Qgis-user
Hoi Theo, Dit is een internationaal kanaal waar in het Engels wordt gecommuniceerd. Groet, Raymond On 25-05-2022 13:40, Theo Stevens via Qgis-user wrote: Beste, Ik ben pas sinds maart 2022 een gebruiker van Qgisp en probeer nu mijn gegevens via Qgis2web om te zetten om op het net te

Re: [Qgis-user] quit() and exit()

2022-05-02 Per discussione Raymond Nijssen via Qgis-user
Put your code in a main() function and use return to leave the function? On 02-05-2022 18:06, Stephen Sacks via Qgis-user wrote: I would like to terminate a Python script gracefully.  Both quit() and exit() not only abort the script but end the entire QGIS app.  For example, if a file I want

Re: [Qgis-user] Classify road network into dead-end links and links connected on both ends

2022-05-02 Per discussione Raymond Nijssen via Qgis-user
Hi Roland, You could either go making SQL queries (using st_startpoint() and st_endpoint() et cetera) or have a look at the "Networks" plugin which has a lot of this kind of functionality. https://plugins.qgis.org/plugins/networks/ And there are several other network and topology related

Re: [Qgis-user] create PostGIS view from QGis layer

2022-04-28 Per discussione Raymond Nijssen via Qgis-user
Hi Gert-Jan, Not sure how exactly you are filtering your data, but to create views you can run these queries on your PostgreSQL database using the tool you like (for example DB-manager in QGIS, or DBeaver or PGAdmin). In case this is an SQL query filter: CREATE VIEW blabla1 AS [your sql

Re: [Qgis-user] Change properties of multiple layer at once

2022-04-01 Per discussione Raymond Nijssen via Qgis-user
Don't know how to do that using the GUI, but for the opacity you can use these 2 lines of python in the QGIS python console. It will set all your selected layers to 50% opacity. for layer in iface.layerTreeView().selectedLayers(): layer.setOpacity(.5) I think the stroke style is harder

Re: [Qgis-user] features saved to geoserver with swapped coordinates

2022-02-16 Per discussione Raymond Nijssen
In the "New WFS Connection" dialog there's a checkbox for "Swap ax orientation" (or something similar, my QGIS is not in English right now). Hope that helps! Raymond On 17-02-2022 08:17, emmexx wrote: One of the users who edits data of a geoserver instance reported the following: - she

Re: [Qgis-user] QGIS 3.20 Crash

2021-10-06 Per discussione Raymond Nijssen
On 06-10-2021 17:26, Etienne Trimaille wrote: Hi Raymond and others, A plugin is very often the culprit, which is installed by the user :) Hi Etienne and others, QGIS itself is also installed by the user :) But it doesn't mean the user is to blame for bugs in it, or can be expected to

Re: [Qgis-user] QGIS 3.20 Crash

2021-10-06 Per discussione Raymond Nijssen
Good question! I'm seeing this 'try a new profile' solution more and more often. And it's a great way to figure out if QGIS is really broken, or that it's just a corrupt profile for some reason. But profiles don't get broken by the users, they get broken by (bugs in) the software. And

Re: [Qgis-user] Define ID for colour

2021-10-06 Per discussione Raymond Nijssen
Hi Dario, Recently I have been searching for something similar. A customer made a classification with (many) nice human readable labels and wanted to add those in a column in the attribute table. I could not find a feature.getClass() or feature.getSymbology() or something. I think this only

Re: [Qgis-user] Find / checkout different branches Github

2021-07-27 Per discussione Raymond Nijssen
Hi Piet, On the command line: > git branch Will give you all the branches in the repository, where you will find release-3_20 > git checkout release-3_20 Will set your code to that branch > git pull Will fetch and update the latest code (including backported code for 3.20.1 Now you can

Re: [Qgis-user] I want to participate

2021-04-22 Per discussione Raymond Nijssen
Hi Marylene, That is great to hear! Have a look at this: https://qgis.org/pt_BR/site/getinvolved/index.html and this: http://qgisbrasil.org/#como-participar Kind regards, Raymond On 22-04-2021 15:22, Marylene Brito Arduino wrote: I want to participate -- Dra. Marylene de Brito Arduino

Re: [Qgis-user] buffer around random points

2021-04-14 Per discussione Raymond Nijssen
Hi Milena, There's an algorithm "Random Points in Polygons" that will only return points within the polygons of a layer. So you need a vector layer for land for the area you are interested in. Hope this helps, Raymond On 14-04-2021 08:36, Milena Muehler wrote: Dear community! I’m new to

Re: [Qgis-user] Symbol lines every km, moving when changing scale or moving map

2021-02-18 Per discussione Raymond Nijssen
Yes, I recognize that behaviour. I think QGIS cuts the line at the map canvas border and starts calculating point locations from the cut off point. Probably to prevent calculating all points outside the map that won't be visible anyway. This is good when you just want a hatched line or a row

Re: [Qgis-user] Qt designer with QGIS

2020-12-26 Per discussione Raymond Nijssen
Hi Nicolas, Merry Christmas to you too. My first plugins were based on the plugin-builder code as well, but currently I'm always starting my plugins (almost) from scratch with the "minimal plugin" code: https://github.com/wonder-sk/qgis-minimal-plugin From there you can add all your

Re: [Qgis-user] issues DB manager and qgis3.16.1

2020-12-16 Per discussione Raymond Nijssen
Hi Jeroen, I can confirm this slow behaviour. I tried a select * with the DB-manager on a point table with almost 300k records: QGIS 3.10: 0.35 sec QGIS 3.17: 6.9 sec Kind regards, Raymond On 15-12-2020 13:28, Groene Bij wrote: Hi all, I just downloaded qgis 3.16.1 (win64) and

Re: [Qgis-user] z factor

2020-11-27 Per discussione Raymond Nijssen
Isn't that already covered by the "Projestions" plugin? Yes, something like that! I didn't know it. It doesn't give me any utm zone though.. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info:

Re: [Qgis-user] z factor

2020-11-27 Per discussione Raymond Nijssen
Hi Nicolas, It is just a simple formula for calculating the "z-factor" for a given latitude. What would that look like in a plugin? Where would it go? What would it do or show? Last week I had a similar idea for a plugin that could tell you which UTM zone to pick for your current canvas. I

Re: [Qgis-user] Polygon from 4 points

2020-11-27 Per discussione Raymond Nijssen
Hi Ryan, I think you could create a python QgsVectorDataProvider for your data and setup a QGIS server for hosting a wms. https://www.itopen.it/qgis-vector-data-provider-python/ But I would probably just go for a simple script that converts the csv file into a polygon dataset (gpkg, shp,

Re: [Qgis-user] map link request

2020-11-09 Per discussione Raymond Nijssen
https://en.wikipedia.org/wiki/School_bullying On 09-11-2020 15:45, labri...@eled.auth.gr wrote: No, I am talking about bulling. School bulling is a term used when a child terrifies another child constantly either verbally or by activity at school. Παραθέτοντας από Nicolas Boisteault

Re: [Qgis-user] QGIS training certification

2020-11-09 Per discussione Raymond Nijssen
Yes! It is here: https://qgis.org/en/site/getinvolved/certification.html Raymond On 09-11-2020 09:52, i...@jcis.net.au wrote: I know to some the idea of getting certificates for training is a bit like getting a degree from the Hamburger University of McDonalds but for others it does give a

Re: [Qgis-user] Refresh layer at interval

2020-11-02 Per discussione Raymond Nijssen
Hi Robert, This has been asked before. I think currently this option only redraws the layer and does not (always) refresh the data. At least not for a remote layer. It has been discussed before here: https://lists.osgeo.org/pipermail/qgis-user/2020-April/045348.html and here:

Re: [Qgis-user] Qgis 3.10 Plugin resources.qrc

2020-10-23 Per discussione Raymond Nijssen
s showing an error message ModuleNotFoundError: No module named 'resources_rc' after qgis restart. However if I run qgis Reload Plugin, my plugin shows up. I appreciated your time. I will send a video attached. On Fri, Oct 23, 2020 at 10:27 AM Raymond Nijssen mailto:r.nijs...@te

Re: [Qgis-user] Qgis 3.10 Plugin resources.qrc

2020-10-23 Per discussione Raymond Nijssen
Hi Julierme, You need(ed) to convert the .qrc file to a .py file with rcc. See: https://doc.qt.io/qt-5/resources.html#resources-in-a-qt-for-python-application But personally I'm not using it anymore, cause you can just use the .png files straight in your code and I find it easier. For

Re: [Qgis-user] Does QGIS support online/web/Google fonts ?

2020-10-22 Per discussione Raymond Nijssen
Hi Lars, Not sure if I completely understand your question. I think QGIS supports any font installed in your OS. At least it works that way for me (Ubuntu 18.04). Met vriendelijke groet, Raymond On 22-10-2020 15:05, Lars I. Nielsen, LIFA A/S wrote: Hi list. I’ve googled like a madman,

Re: [Qgis-user] Have QGIS prompt for profile to use everytime ?

2020-10-22 Per discussione Raymond Nijssen
Yes, that! Thanks! Raymond On 21-10-2020 23:31, Fernando M. Roxo da Motta wrote: On Wed, 21 Oct 2020 17:18:05 +0200, Raymond Nijssen wrote: This script works for me. But I'm not all sure about the way I start a new process for QGIS and quit the python script. I think ending the command

Re: [Qgis-user] Have QGIS prompt for profile to use everytime ?

2020-10-21 Per discussione Raymond Nijssen
shButton('Run QGIS') btn.clicked.connect(run_qgis) l.addWidget(btn) w.setLayout(l) w.show() sys.exit(app.exec_()) --- On 21-10-2020 14:00, Raymond Nijssen wrote: Hi Lars, I don't think you can. You can make a startup.py script that runs every time you start QGIS, but it sits in your profile folder. So when Q

Re: [Qgis-user] Have QGIS prompt for profile to use everytime ?

2020-10-21 Per discussione Raymond Nijssen
Hi Lars, I don't think you can. You can make a startup.py script that runs every time you start QGIS, but it sits in your profile folder. So when QGIS runs it, QGIS must already be aware of the profile that is being used. Also, changing the profile needs a QGIS restart, so it seems QGIS

Re: [Qgis-user] Shared/common library for PyQGIS scripts

2020-10-20 Per discussione Raymond Nijssen
If the code snippets are not suitable for the cookbook (because they are too odd cases and/or they do not match the cookbook chapters) and you decide to put them anywhere else, it would be good practice to add the QGIS version number somewhere. Raymond On 20-10-2020 11:20, Charles

Re: [Qgis-user] Raster blurred, Raster unsharp

2020-09-29 Per discussione Raymond Nijssen
Or maybe the Coordinate reference system (CRS) of your tiff does not match the one of your map and therefore it gets reprojected by QGIS? Check the Information tab of your tiff layer properties (CRS) and your map projection in the lower right corner of the QGIS main window. Raymond On

Re: [Qgis-user] label layer with attributes in different styles

2020-08-27 Per discussione Raymond Nijssen
From QGIS 3.14 you can use html style coloring in labels. So something like this should work: "name" || ' (' || "number" || ')' You need to check "Allow HTML formatting" in the label settings. Raymond On 27-08-2020 15:28, Grün, Michael wrote: Hi all, Very simple example: I have a point

Re: [Qgis-user] QGIS in Production "Business As Usual" Environment

2020-08-10 Per discussione Raymond Nijssen
Hi Sanjay, This recent QGIS North America presentation could be interesting to you: https://www.youtube.com/watch?v=TEL1FIp-PSE=youtu.be Cheers, Raymond On 10-08-2020 08:38, sanjay.r...@voa.gov.uk wrote: Hello Everyone, I am looking for examples and experiences in public sector and

Re: [Qgis-user] Raster translate to .asc format

2020-08-03 Per discussione Raymond Nijssen
Hi Les, You can add a "create option" for your conversion: name: DECIMAL_PRECISION value: 3 to round the values in your output. QGIS uses the GDAL software for the conversions, and those options can be found in the GDAL documentations: https://gdal.org/drivers/raster/aaigrid.html

Re: [Qgis-user] Font Awesome symbols in QGIS

2020-07-29 Per discussione Raymond Nijssen
Nice!! On 28-07-2020 23:57, Charles Dixon-Paver wrote: I hacked together a band-aid solution. Probably not production ready but I would advocate for this system of having a small subset of these icons included in QGIS core by default going forward (If any. It may be better to just start a

Re: [Qgis-user] Problems to export as a GeoPackage

2020-07-21 Per discussione Raymond Nijssen
Could it be that your shapefile has a field named "fid" which does not hold unique numbers in every row? Raymond On 21-07-2020 14:59, José Carlos Guerrero Antúnez wrote: Hi, I am having trouble saving a shapefile as geopackage. The error message is this, Export to vector file failed.

Re: [Qgis-user] Inefficient SQL

2020-07-03 Per discussione Raymond Nijssen
Hi Paul, Not sure what causes this in QGIS, but I can imagine this happens when you need data for a manual selection. So you select 200 features on your screen (by dragging a box) and then export them to a file? Or maybe QGIS does this better but a plugin doesn't? To add to this, I remember

Re: [Qgis-user] shapefiles

2020-06-16 Per discussione Raymond Nijssen
st seems like a vector display issue to me. What do you think? Thanks Jim Jim McGannon Forestry Landscape Consultant, LLC Coloradotreearborist.com 303-526-1118 Original message From: Raymond Nijssen Date: 6/15/20 11:35 PM (GMT-07:00) To: qgis-user@lists.osgeo.org Subject:

Re: [Qgis-user] shapefiles

2020-06-15 Per discussione Raymond Nijssen
Hi Jim, That sounds a lot like a projection issue. Are your layers completely misaligned, like not overlapping at all? Or are they overlapping but with just a few (hundred) meters shift? An easy trick is adding the world layer and see which of your layers appears at the expected spot. You

Re: [Qgis-user] colorramp starting from white

2020-06-15 Per discussione Raymond Nijssen
ontinuous from color A to color B? Could the default continuous color ramps not only have a start color and an end color? Nothing else? Regards, Harrissou Le lun. 15 juin 2020 à 22:48, Anita Graser <mailto:anitagra...@gmx.at>> a écrit : 15 Jun 2020 15:53:43 Raymond Nijssen

Re: [Qgis-user] colorramp starting from white

2020-06-15 Per discussione Raymond Nijssen
quot; when applying it? https://docs.qgis.org/testing/en/docs/user_manual/introduction/general_tools.html#the-color-ramp-drop-down-shortcut Regards, Harrissou Le lun. 15 juin 2020 à 15:53, Raymond Nijssen <mailto:r.nijs...@terglobo.nl>> a écrit : Am I the only one who would

[Qgis-user] colorramp starting from white

2020-06-15 Per discussione Raymond Nijssen
Am I the only one who would like the color ramps in QGIS to NOT start from (super nearly) white, but from a light version of the color? For example, "Reds" should go from (light) pink to red. Currently, the first class in my legend always looks white, as many other parts of my map often do.

Re: [Qgis-user] manual classification tool?

2020-06-02 Per discussione Raymond Nijssen
Yup, hidden widget was what I was thinking. A custom python form can probably provide what you want. I think you will be able to listen to that specific field widget and close the form when it changes Alex A quinta, 28/05/2020, 10:50, Raymond Nijssen mailto:r.nijs...@terglobo.nl>&

Re: [Qgis-user] manual classification tool?

2020-05-28 Per discussione Raymond Nijssen
c, an edit tool where you can choose the field and the value to set, and start clicking. I think I'm developing a new plugin idea here!! Nicolas Cadieux Ça va bien aller! Le 28 mai 2020 à 02:33, Raymond Nijssen a écrit : Does anyone know if there is a tool in QGIS to quickly classify features

Re: [Qgis-user] manual classification tool?

2020-05-28 Per discussione Raymond Nijssen
On 28-05-2020 10:31, Raymond Nijssen wrote: Hi Alex, Thanks, that is pretty close to what I'm looking for! I didn't manage to only show the widget for the field I want to edit though, so I'm seeing the entire form. I tried to find it in the Form and Fields properties and I tried to use hid

Re: [Qgis-user] manual classification tool?

2020-05-28 Per discussione Raymond Nijssen
, Alexandre Neto wrote: Hi Raymond, Wouldn't the identify tool with auto open form with only the class field widget available do that? Also, select tool with multi edit form to classify several buildings in one go would save lots of clicks. Alex A quinta, 28/05/2020, 07:38, Raymond Nijssen

[Qgis-user] manual classification tool?

2020-05-28 Per discussione Raymond Nijssen
Does anyone know if there is a tool in QGIS to quickly classify features manually? I have a layer with 17,000 buildings, all need to be set to 1 of 5 values. I'm thinking about making a (quick and dirty) plugin that: - On clicking the building shows a popup menu with the 5 choices - Clicking

Re: [Qgis-user] Map contest: mapping Pi for the 3.14 splash screen

2020-05-17 Per discussione Raymond Nijssen
Hi Anita, Great challenge for the (boring!) weekend. :) Could you provide some guidelines for submissions? I tried to find the image dimensions and came to 600x300 px, but that is the splash screen size for the dev version. The 3.12 splash screen is 1977x946 px. Can colours be used or

Re: [Qgis-user] question

2020-04-28 Per discussione Raymond Nijssen
Hi Nikos, You can use the algorithm "Sample Raster Values" from the processing toolbox. It will find the raster value for every point in your shapefile layer. Read step 1 to 7 from this tutorial: https://www.qgistutorials.com/en/docs/3/sampling_raster_data.html Good luck! Raymond On

Re: [Qgis-user] Slope map creation

2020-04-27 Per discussione Raymond Nijssen
Hi Stefano, Could it be your data is "unprojected"? (your map units are in degrees?) Raymond On 27-04-2020 10:47, stefano borello wrote: Dear QGIS Support, I am Stefano Borello from Italy and I have a problem regarding the creation of a Slope map. I downloaded the DEM from Earthexplorer,

Re: [Qgis-user] Refresh Layer at Interval not working

2020-04-15 Per discussione Raymond Nijssen
the data everytime.. For what I know this worked for all datasources? Not sure if this is what you try to achieve, but that is also possible with python (though I do not have it with me here...) Regards, Richard Duivenvoorde On 4/14/20 12:40 PM, Raymond Nijssen wrote: Hi Ayyala, Since

Re: [Qgis-user] Refresh Layer at Interval not working

2020-04-14 Per discussione Raymond Nijssen
Hi Ayyala, Since the option is in the tab called "Render" I think it will only re-render the layer and not reload the data. I tried this: - create 3 points in a geojson layer - set a 2 sec refresh interval on it - open the geojson file in a text editor and add an extra point - save geojson

Re: [Qgis-user] AUTOMATING MAP DRAWING

2020-02-21 Per discussione Raymond Nijssen
Hi Bernard, Sounds exactly like what you can do with QGIS Atlas generation: https://docs.qgis.org/testing/en/docs/training_manual/forestry/forest_maps.html Good luck! Raymond On 21-02-2020 13:02, Bernard wrote: Hello. I draw a lot of maps with points and polygons, of different areas in the

Re: [Qgis-user] Double Labels on a SVG Marker

2019-12-28 Per discussione Raymond Nijssen
Hi Dave, Can you be more specific? I tried to reproduce your case but didn't succeed. What kind of data are you using? Points or Lines (with arrow heads)? What version of qgis? What platform. Maybe you can even provide some data and the qml (style)? Kind regards, Raymond On 28-12-2019

Re: [Qgis-user] Labeling defaults

2019-12-06 Per discussione Raymond Nijssen
+1 for "Force point inside polygon" +0 for "Show all labels for this layer (including colliding labels)" And I would like "Curved" labels for lines to be the default Raymond On 24-11-2019 13:41, AgroGPS s.r.o. wrote: Hello, is it possible somehow to set these label properties - "Force point

Re: [Qgis-user] Handle local layers in resources folder when project saved in PostgreSQL

2019-12-05 Per discussione Raymond Nijssen
Not sure if it is a good idea, but you might find a workaround using a startup script or plugin containing this functionality: https://qgis.org/pyqgis/master_temp/core/QgsPathResolver.html I guess it will be too tricky/hacky but I hope it helps you. Raymond On 05-12-2019 12:18, Alessandro

Re: [Qgis-user] (no subject)

2019-10-28 Per discussione Raymond Nijssen
Hi Carolina, The tiff file does not contain the style but only the data. Both applications will somehow guess what would be a nice visualization of this, and they take different guesses. The good news is that you can change the layer style in both applications. In QGIS you can set it to

Re: [Qgis-user] Python Plugin creation

2019-10-18 Per discussione Raymond Nijssen
Hi Dinesh, Not sure if I'm understanding your question exactly, but it sounds like you are connecting a signal to a slot multiple times. So make sure you disconnect it on closing the plugin or panel or whatever. And reconnect it on opening again. Or make sure you connect it only once, on

Re: [Qgis-user] Converting shapefile to kmz in Qgis3.8.3

2019-10-14 Per discussione Raymond Nijssen
Hi Jean, Open the shapefile as a layer and then export the layer as a kml/kmz. See: https://docs.qgis.org/testing/en/docs/user_manual/managing_data_source/create_layers.html#creating-new-layers-from-an-existing-layer Good luck, Raymond On 14-10-19 12:36, jean Lukusa wrote: Hi all. How can I

Re: [Qgis-user] how to fix the raster calculator

2019-09-26 Per discussione Raymond Nijssen
On 26-09-19 18:07, Alessandro Pasotti wrote: Hi Raymond, Working on it (I've been able to reproduce it), can you please file a ticket for me to reference in the PR? Done: https://github.com/qgis/QGIS/issues/32025 Somehow this was fixed after changing the locale (!) from NL back to

Re: [Qgis-user] how to fix the raster calculator

2019-09-24 Per discussione Raymond Nijssen
Hi, I've been using the raster calculator lately and bumped into some unexpected behaviour issues. They are hard to isolate but I will create issues One of the things is the creation of empty output grids, resulting in raster layers with a range as described earlier in this thread:

Re: [Qgis-user] This is QGIS spam! :)

2019-09-18 Per discussione Raymond Nijssen
Hi Alberto, Good idea! I just put it there: https://shop.spreadshirt.net/qgis/qgis+text+transp+bg+300dpi-A5d231d26e0c0832f787fbafb?productType=757=nOxxG3ELGjudeG3gyAxj-757-39=37=29 They don't sell stickers at spreadshirt, but there are many online places where you can order them. The files

Re: [Qgis-user] Creating polygons using bearing and distance

2019-08-20 Per discussione Raymond Nijssen
Hi Dylan, Not sure what you want to achieve exactly, but I guess you will need a python script for this in QGIS. Or export WKT from excel if that is easier for you. But if it is just for visualization, you might be able to do this with a 'geometry generator' on a point layer with bearings

Re: [Qgis-user] failing to do clip

2019-08-18 Per discussione Raymond Nijssen
Hi Boaz, On invalid polygon layers, I'm usually more lucky running the buffer algorithm with a buffer distance of 0. Regards, Raymond On 17-08-19 22:57, Boaz Bar Ilan wrote: Ok, thanks. I tried to do it and it didn't work boaz ‫בתאריך שבת, 17 באוג׳ 2019 ב-23:29 מאת ‪DelazJ‬‏

Re: [Qgis-user] Data defined text color in QGIS3 print composer?

2019-08-13 Per discussione Raymond Nijssen
Hi Ville, Not exactly what you asked for, but you could get a similar result with this workaround using html-frames. 1. Add an html-frame to your layout. 2. Create an expression that generates the html source (not the URL) 3. Set "evaluate expression as html source" 4. Press "update" to

Re: [Qgis-user] QGIS 3.8.1

2019-08-05 Per discussione Raymond Nijssen
Hi Debra, On a local QGIS installation you should have permission to create a geopackage anywhere on the file system where you have permission to write. (Could be different on a Citrix installation or something similar.) What I noticed during teaching is that QGIS by default tries to save

Re: [Qgis-user] Raster analysis , Proximity (raster distance)

2019-08-01 Per discussione Raymond Nijssen
Hi Dimitris, You could convert your raster data into a projection that uses meters. > Layer > Save as... Raymond On 01-08-19 13:12, Dimitris sal wrote: Hello to all , This is my first message here. I am trying to create a proximity map with the Raster analysis tool. My problem is that I

Re: [Qgis-user] QMS Problem

2019-07-27 Per discussione Raymond Nijssen
Hi Andre, It could help a lot if you posted the error message. Regards, Raymond On 27-07-19 09:23, Soilsampler3 wrote: Hi, my name is Andre. Because of some reason I can not install the QuickMapService Plugin. By trying to intall appears an error messgae that something missing for the

Re: [Qgis-user] Points along geometry

2019-06-11 Per discussione Raymond Nijssen
Hi Elisenda, I'm afraid you need a bit of python script to do so, since the algorithm dialog does not have an expression input button for the distance field. Should go something like this: inputLayer = iface.activeLayer() for feat in inputLayer.getFeatures(): dist = feat['DIST'] #

Re: [Qgis-user] QGIS2.8 How are the features ordered when using layer.selectedFeatures()

2019-06-04 Per discussione Raymond Nijssen
Hi, I found two ways of doing that, I think the second is faster but not sure. (And I think they will both be slower than the random order code you were using before, but the order will remain.) Good luck, Raymond --- layer = iface.activeLayer() ids = layer.selectedFeatureIds()

Re: [Qgis-user] Raster calculator

2019-05-23 Per discussione Raymond Nijssen
Hi Jocelyn, Sorry for not knowing the entire answer, but here are some steps. 1. Select all cells that are not white using the Raster Calculator: "test@1" != 255 or "test@2" != 255 or "test@3" != 255 2. Set all 0 values to nodata with GRASS r.null 3. This is where I'm stuck too. :( You

Re: [Qgis-user] unlocking toggle editing

2019-04-24 Per discussione Raymond Nijssen
19 à 10:17, Richard Duivenvoorde <mailto:rdmaili...@duif.net>> a écrit : On 2019-04-24 10:03, Etienne Trimaille wrote: > Le mer. 24 avr. 2019 à 09:49, Raymond Nijssen mailto:r.nijs...@terglobo.nl>> > a écrit : > >> Cause QGIS cannot edit a csv att

Re: [Qgis-user] unlocking toggle editing

2019-04-24 Per discussione Raymond Nijssen
aille wrote: Le mer. 24 avr. 2019 à 09:49, Raymond Nijssen <mailto:r.nijs...@terglobo.nl>> a écrit : Cause QGIS cannot edit a csv attribute table. FYI, you can edit a CSV attribute table ;-) -- Terglobo Fahrenheitstraat 1 5223 BJ 's-Hertogenbosch The Netherlan

Re: [Qgis-user] unlocking toggle editing

2019-04-24 Per discussione Raymond Nijssen
Hi, Are you sure you exported your layer to a shapefile, after opening the csv as a layer? Cause QGIS cannot edit a csv attribute table. Raymond On 24-04-19 09:43, Boaz Bar Ilan wrote: hi I imported  data csv file to an shapefile I cant  edit its attribute table is there a way to unlock

Re: [Qgis-user] Using python on qgis Forms

2019-04-03 Per discussione Raymond Nijssen
Hi Kyle! The python code to get all the id's looks like this: ids = [] for feat in iface.activeLayer().getFeatures(): ids.append(feat.id()) print(ids) Now you need to connect your button to a function containing the above code, something like:

Re: [Qgis-user] problem in clipping

2019-03-28 Per discussione Raymond Nijssen
Or you can try the buffer tool with a buffer distance of 0. Good luck! On 28-03-19 12:25, Wouter Impens wrote: Hi Boaz, You can use the processing tool 'repair geometry' to fix the geometry. regards Wouter Op do 28 mrt. 2019 om 09:48 schreef Boaz Bar Ilan >:

Re: [Qgis-user] please unsubscribe me of list thanks alot

2019-03-06 Per discussione Raymond Nijssen
You can unsubscribe yourself. There is a link at the bottom of every email. On 06-03-19 19:19, mohammad amin saleh ahmadi wrote: Mailtrack Sender notified by Mailtrack

Re: [Qgis-user] symbolize points by their size and category

2019-02-01 Per discussione Raymond Nijssen
Hi Alejandro, You could do the color by a "categorized" symbol (as usual) and the size based on a "data driven override" with an expression calculating your attribute values to symbol sizes. Good luck, Raymond On 01-02-19 11:50, Alejandro Chamizo de Castro wrote: Hello colleagues, do you

Re: [Qgis-user] How to get a point's coordinate for GPS?

2019-01-26 Per discussione Raymond Nijssen
Hi Maria, You are welcome! And thanks for reporting back. Raymond On 26-01-19 01:24, Maria Shinoto wrote: Calvin, Etienne, Raymond, Thank you all three for your answers. I tested the suggestions with my limited knowledge of QGIS and could use it very well. I can pursue my task now. For

Re: [Qgis-user] How to get a point's coordinate for GPS?

2019-01-25 Per discussione Raymond Nijssen
In qgis3 it should work like this: On 25-01-19 11:49, Maria Shinoto wrote: Hi, I have been watching YouTube and reading tutorials the whole afternoon, but I do not get this simple task done: I have a map with several layers in EPSG:2444. Now I create another vector layer with points, which

Re: [Qgis-user] QGIS 2.18 -Changing layer rule-based style transparency

2019-01-05 Per discussione Raymond Nijssen
() color.setAlpha(255 * 0.8) symbol.setColor(color) renderer.setLegendSymbolItem(symbolItem.ruleKey(), symbol) layer.triggerRepaint() No clue if it will run in 2.18, expecting not. Hoping you can upgrade. Raymond On 05-01-19 13:22, Raymond Nijssen wrote: Hi Marian, As I understand you want

Re: [Qgis-user] QGIS 2.18 -Changing layer rule-based style transparency

2019-01-05 Per discussione Raymond Nijssen
Hi Marian, As I understand you want to set every symbol in your rule based classification to 80% transparent (instead of the entire layer)? I tried to write a qgis (v3.4) script but unfortunately it crashes my qgis. So I hope somebody here can correct it, or maybe you will find the solution

Re: [Qgis-user] about distance calculation

2018-11-21 Per discussione Raymond Nijssen
Hi Mahmut, Reading your question I wonder if you really want to know the distance to the railroad (line) or to the stations (points). Since you usually cannot enter or leave the train at any location along the railroad. Anyway, qgis can calculate both with processing algorithms: 1. distance

Re: [Qgis-user] how does QGIS generate the EPSG from a Shapefile?

2018-10-25 Per discussione Raymond Nijssen
As far as I know, qgis cannot discover it. If the shapefile is missing the projection info, it will either: 1. Ask you to select it 2. Select the one your current map is set to 3. Select a predefined epsg depending on your settings. If your settings are 2. or 3. you might not notice this, and

Re: [Qgis-user] "Create Object from geometry" Feature

2018-10-12 Per discussione Raymond Nijssen
Hi Christian On 12-10-18 08:53, Schmidt Christian wrote: Hello QGIS-community, We are quite new to working with PostGIS in QGIS 3.2.0, so we have some usability-questions… In the Autodesk world (don't hit me ) there is a feature called "create object from geometry". What it does, is to

Re: [Qgis-user] Hoja de Excel generada por ODK

2018-07-25 Per discussione Raymond Nijssen
Now that's service, Lene!! :+1: On 25-07-18 17:17, Lene Fischer wrote: Try to see this video. I open your points in QGIS https://www.screencast.com/t/9zhTmKx2L *Lene Fischer* Associate Professor *University of Copenhagen* Department of Geoscience and Natural Resource Management Forest

Re: [Qgis-user] Json and QGIS

2018-06-19 Per discussione Raymond Nijssen
Hi Xristos, Not sure if I understand your question correctly. Geojson is a vector format, so you cannot add raster data this way. If you want to add a raster layer, it is very similar: https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/loadlayer.html#raster-layers Hope this

  1   2   >