Re: [Qgis-user] Rounding off QgsPointXY

2022-02-20 Thread Brent Wood
I'd suggest managing your data in Postgis. Adding a rounded geometry to your dataset becomes a pretty simple sql (assuming your data is lat/lon - just change the SRID if it isn't): alter table mydata add column rounded_geom geometry(POINT,4326); update mydata set rounded_geom=ST_SetSRID(ST_Make

[Qgis-user] Index attribute no longer updated automatically

2022-02-20 Thread Johanna Botman
Hi, Another QGIS 3.22.3 question. I have layers that come from a MSSQL database. Those tables were loaded into SQL using Easy Loader (I know, shh!) so they have the MI_PRINX attribute. In past versions of QGIS, this MI_PRINX attribute was updated automatically when a new feature is saved in a l

Re: [Qgis-user] Rounding off QgsPointXY

2022-02-20 Thread Ujaval Gandhi
Another approach would be to use 'Snap points to Grid' algorithm. This allows you to snap the points to a regular grid. Choose 0.01 as the grid spacing and you'll get points rounded off to 2 decimal points (As David mentioned, floating-point precision means the printed values won't be exact 2 decim

Re: [Qgis-user] Print layout raster misalignment when label masked symbol layers are enabled

2022-02-20 Thread Nyall Dawson
On Mon, 21 Feb 2022 at 11:38, Tony Shepherd (FarmMaps NZ) wrote: > > Hi All > > > > This has been a long-standing issue for me, and likely others for the last > three or four versions. What is the most recent QGIS version you've tested this with? Nyall _

[Qgis-user] Print layout raster misalignment when label masked symbol layers are enabled

2022-02-20 Thread Tony Shepherd (FarmMaps NZ)
Hi All This has been a long-standing issue for me, and likely others for the last three or four versions. I've logged bug reports on github and it looks like they have been closed off, yet the issues persist and I have never had any feedback either way. While not a show stopper, it's

Re: [Qgis-user] linux box accessing project-files on a windows server

2022-02-20 Thread Nicolas Cadieux
Hi, My guess is that the files you are using are, perhaps, in different drives. If you save with a relative path, I think it will work if you have files in a simple directory structure but if you have files from multiple drives, then perhaps QGIS is forced to uses a drive lettre like c:\ and t

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

2022-02-20 Thread emmexx
On 2/17/22 8:21 AM, Raymond Nijssen wrote: > 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). I asked the user to check that but the checkbox is not checked. Thank you maxx __

Re: [Qgis-user] lastools wine Mac OS Catalina / Monterey AND QGIS

2022-02-20 Thread Shinoto, PD Dr. Maria
That was a great recommendation. I am much more at home with R than I am with QGIS, so I am looking forward to that workflow. I had this on my radar earlier but somehow lost it, now I just checked the package, looks great! Thank you, Maria > Am 19.02.2022 um 17:44 schrieb Luis Eduardo Arlegui C

Re: [Qgis-user] Rounding off QgsPointXY

2022-02-20 Thread David Strip
I'd start by building the array of values using just the rounded x, y, and complex value, not storing a QgsPointXY. Something like triplets = [] for point in points:     # point consists of a QgsPointXY and a complex value - [QgsPointXy, compl