[Qgis-user] Call for vote for new QGIS community voting member.

2022-01-31 Thread Marco Bernasocchi
Dear QGIS Community

This is a call for votes for new QGIS community voting members. Please read
the instructions carefully and establish your eligibility to vote which I
repeat here for your convenience:

"Only community members with commit rights to an official QGIS git
repository or with write access in transifex are eligible to vote.”

The voting form is here.


https://forms.gle/ZXwmRSHGZiLoeLESA


Incoming community voting members will be selected based on the number of
nominations they receive. The above form will close on 13.02.22.

If you play an organisational role (e.g. documentation lead, translation
lead), please forward this email to your committers.


If you have any questions about the process please do not hesitate to
contact me.

Thank you,

Regards Marco


-- 
Marco Bernasocchi

QGIS.org Chair
OPENGIS.ch CEO
http://berna.io
___
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] Readonly gpkg

2022-01-31 Thread Patrick Dunford
Just as a general comment with GPKG, I am aware there were some concerns 
expressed in this community about issues with this format. Are these 
issues being progressed?


I use spatialite in preference to gpkg in order to work around these issues.

On 1/02/22 06:26, Even Rouault wrote:


Resolution attempt in https://github.com/qgis/QGIS/pull/47098

Even



___
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] Readonly gpkg

2022-01-31 Thread Even Rouault

Resolution attempt in https://github.com/qgis/QGIS/pull/47098

Even

Le 11/01/2022 à 15:10, perg...@gmail.com a écrit :


I’ve packaged a number of read-only layers (e.g. contours, 
watercourses) for my area of interest into one gpkg. However, QGIS 
writes changes to this gpkg every time it is opened, even if the 
layers themselves are never edited. I think this is related to SQLite 
wal journaling.


It’s an annoyance since it’s a large file that gets unnecessarily 
reuploaded in every incremental backup, and when I’m in the field, 
that’s sometimes over a bad 3G cell connection.


I’ve tried making the gpkg read-only, which hasn’t crashed anything in 
brief testing and generates no warnings. However, it feels risky, and 
clearly QGIS or OGR aren’t fully happy, since the temporary shm and 
wal files don’t get deleted on exit. So I’m hesitant to continue doing 
this for fear of a crash when I’m actually doing something useful.


Is there a better way to tell QGIS to not write to a gpkg in which all 
layers are only being accessed read-only?


Thanks!

---

Martin Pergler


___
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


--
http://www.spatialys.com
My software is free, but my time generally not.
___
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-it-user] Azioni QGIS con Python

2022-01-31 Thread Franco Cazzola
Buongiorno
Non conosco sufficientemente python pertanto chiedo un Vostro supporto per 
completare il codice di un'azione:
 - seleziono una cella della tabella attributi del layer attivo
- leggo il testo contenuto  nella cella con  s='[% @field_value %]'
- come posso leggere il contenuto di un'altra cella dello stesso record ?
Grazie 
Franco Cazzola
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] check for coordinates in an attribute table for shapefile layer

2022-01-31 Thread geo . guide
Dear Maria,

 

OK, I understand. So you have to do the reverse: update your shapefile geometries with the erroneous updated coordinates in the attribute table. Like Nicholas, I supposed you have to handle point data.

 

You can transfer the coordinates from your table to your geometries with copy and paste.


	Either you still remember the entries on which you have applied changes to or
	you may calculate the differences between actual values (geometries) and desired values (attribute table) in new columns of your table to systematically identify them


Set your point layer to edit mode (toggle editing), the digitizing toolbar should be visible. Select the point you want to apply an update with a right mouse click and the vertex editor appears. There you can transfer your desired coordinates with copy and paste. Up to now I don't know an easy method to update the actual geometry with values in the attribute table automatically (only the reverse).

 

If you are stuck, consider to contact Nicolas via zoom.


 

Regards, Christine

 

Gesendet: Montag, 31. Januar 2022 um 09:48 Uhr
Von: "Maria Shinoto" 
An: "geo.gu...@web.de" 
Betreff: Re: [Qgis-user] check for coordinates in an attribute table for shapefile layer

Dear Christine,

Thank you for your immediate help. I thought of exporting an importing in the worst case. Since I have already prepared a map / print layout with lots of individual positioning of point labels, I wanted to avoid it if possible. I now had a look on the geometry tools.

Thanks a lot,
Maria


> Am 31.01.2022 um 17:22 schrieb geo.gu...@web.de:
>
> Dear Maria,
>
> if you export your shapefile to csv and reimport it in QGIS with your X and Y values as the valid coordinates again, your problem should be solved.
>
> It's possible and better to edit the geometry directly with the geometry tools.
>
> Regards, Christine
>
>
> Gesendet: Montag, 31. Januar 2022 um 09:03 Uhr
> Von: "Maria Shinoto" 
> An: qgis-user@lists.osgeo.org
> Betreff: [Qgis-user] check for coordinates in an attribute table for shapefile layer
> Hi,
>
> I imported a .csv file with about 100 datasets and created a shapefile layer from the X and Y data.
>
> Then I did something stupid. I deleted some duplicates and changed the X and Y data slightly in three or four data sets, and I created a new row with one new data point and X and Y data.
>
> What I did no realize is that the data in X and Y will not be accepted automatically as geo coordinates.
>
> Now I have a map without the full set of points, and I do not know the following:
>
> 1. How do I check quickly, which rows need ne geocoordinates from the X and Y columns?
>
> 2. When I figured which data set need updates, how do get the X and Y data into their geocoordinates and get them shown on the map.
>
> Thanks,
> Maria
>
> ___
> 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] check for coordinates in an attribute table for shapefile layer

2022-01-31 Thread Nicolas Cadieux
Hi,
See below 

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 31 janv. 2022 à 03:09, Maria Shinoto  
> a écrit :
> 
> Hi, 
> 
> I imported a .csv file with about 100 datasets and created a shapefile layer 
> from the X and Y data. 

By « dataset » I imagine you mean object like line, polygon and points? Since 
you only talk about x and y, I take for granted that you are talking about 
points.  Do you still have the original .csv file?  That would be useful.
> 
> Then I did something stupid. I deleted some duplicates and changed the X and 
> Y data slightly in three or four data sets, and I created a new row with one 
> new data point and X and Y data.

I guess you moved some points around in the .shp file, created a new x and y 
and updated the geometry from the new x and y?  Can you use the same steps and 
update the geometry from the original x and y or did  these disappear when you 
created the shape file?  

> 
> What I did no realize is that the data in X and Y will not be accepted 
> automatically as geo coordinates. 
> 
> Now I have a map without the full set of points, and I do not know the 
> following:
> 
>1. How do I check quickly, which rows need ne geocoordinates from the X 
> and Y columns?

If you have the original csv, you can use that remake the ordinal file, then, 
in the vector menu, you can substrat (difference I think, I’am not in front of 
a computer)  one vector file from the other.  The difference between both files 
will indicate what changed.  You can also regenerate the new x and y fields 
(like testY and testY) using the field calculator and $x and $y functions.  If 
you don’t have geometries, then those field will come up as empty. 


> 
>2. When I figured which data set need updates, how do get the X and Y data 
> into their geocoordinates and get them shown on the map. 
> 
> Thanks, 
> Maria
> 
I you are still stuck, we could zoom.  I am in Montreal time.
Nicolas 
> ___
> 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] check for coordinates in an attribute table for shapefile layer

2022-01-31 Thread geo . guide
Dear Maria,

 

if you export your shapefile to csv and reimport it in QGIS with your X and Y values as the valid coordinates again, your problem should be solved.

 

It's possible and better to edit the geometry directly with the geometry tools.

 

Regards, Christine

 
 

Gesendet: Montag, 31. Januar 2022 um 09:03 Uhr
Von: "Maria Shinoto" 
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] check for coordinates in an attribute table for shapefile layer

Hi,

I imported a .csv file with about 100 datasets and created a shapefile layer from the X and Y data.

Then I did something stupid. I deleted some duplicates and changed the X and Y data slightly in three or four data sets, and I created a new row with one new data point and X and Y data.

What I did no realize is that the data in X and Y will not be accepted automatically as geo coordinates.

Now I have a map without the full set of points, and I do not know the following:

1. How do I check quickly, which rows need ne geocoordinates from the X and Y columns?

2. When I figured which data set need updates, how do get the X and Y data into their geocoordinates and get them shown on the map.

Thanks,
Maria

___
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] check for coordinates in an attribute table for shapefile layer

2022-01-31 Thread Maria Shinoto
Hi, 

I imported a .csv file with about 100 datasets and created a shapefile layer 
from the X and Y data. 

Then I did something stupid. I deleted some duplicates and changed the X and Y 
data slightly in three or four data sets, and I created a new row with one new 
data point and X and Y data. 

What I did no realize is that the data in X and Y will not be accepted 
automatically as geo coordinates. 

Now I have a map without the full set of points, and I do not know the 
following:

1. How do I check quickly, which rows need ne geocoordinates from the X 
and Y columns?

2. When I figured which data set need updates, how do get the X and Y 
data into their geocoordinates and get them shown on the map. 

Thanks, 
Maria

___
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] Drop the points and show only clusters

2022-01-31 Thread Simon Dietmann
Hello Krishna,
 
the reason für all the ‘1’ values is obviously that the algorithm seeking for 
the nearest points always finds the original point itself. When I first used 
the expression that I had suggested as a solution for your problem, this didn´t 
happen and the original point wasn´t taken into accont, but when I later tried 
it with another point layer, I got the same result as you with ‘1’ for every 
point feature.
 
When I tried to set up a filter expression by retrieving a list of closest 
neighbours and then skip the first element (the original point), I realized 
that the algorithm does not return the neighbour points in the order of their 
distance. This seems to be a bug, and it means that you can´t solve this task 
in that way.
 
So I suggest you create a second layer, for example the buffer polygon 
Harrissou s. suggested.
 
Regards,
 
Simon
 
 
Von: krishna Ayyala  
Gesendet: Samstag, 29. Januar 2022 18:36
An: Simon Dietmann 
Cc: qgis-user 
Betreff: Re: [Qgis-user] Drop the points and show only clusters
 
Dear Simon,
Thanks for your reply. I have used the "overlay_nearest" formula for my points 
layer. Irrespective of whatever number I assign for "max_distance" I am getting 
the value 1 for the new field for all the 1000 records of the points layer. 
i.e. I am not getting 0 value for any of the records. I tried for various 
distances starting from 1 upto 1000. For ex:1,5,10,100,500,1000 etc. My map 
units are set to meters.
 
Regards.
 
 
On Fri, Jan 28, 2022 at 1:53 AM Simon Dietmann  wrote:
Hi Krishna,
 
you could also use the field calculator to create a Boolean field with the 
overlay_nearest function, like:
 
overlay_nearest( '' ,  max_distance:= 1000)
 
This will generate a field that contains a ‘1’ if the point has a neighbour 
within the given distance and a ‘0’ if not. Then show only points that have a 
‘1’ in this field.
 
Greetings,
 
Simon
 
Von: Qgis-user  Im Auftrag von krishna Ayyala
Gesendet: Freitag, 28. Januar 2022 05:12
An: qgis-user 
Betreff: Re: [Qgis-user] Drop the points and show only clusters
 
Helo
I watched the video in the weblink below. I was able to get up to the layer 
styling step. But,I am unable to figure out how to accomplish this task. I am 
herewith attaching the sample data of 1000 points.  Can anyone  please guide me 
the steps so that  I will have  only those points that are within 1000ft of 
each other and drop the rest of the points?
 
Regards.
 
https://anitagraser.com/2017/06/13/even-more-aggregations-qgis-point-cluster-renderer/


On 28/01/22 09:25, krishna Ayyala wrote:
> Hello,
> I have a point shape with about 10,000 points. On the map, I wish to 
> show only those points that are within 1000ft of each other and drop 
> the rest of the points. All I am trying to see is only the clusters. 
> Can anyone help please?
>
> 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