Re: [QGIS-it-user] Problemi con file fabbricati Norcia (regione Umbria)

2019-11-07 Per discussione francesco marucci
aggiungo solamente (e poi taccio) che per ottenere le coordinate in gradi,
minuti e secondi puoi usare la funzione di conversione "to_dms", nel tuo
caso diventerebbe quindi:

to_dms(x(transform($geometry,'EPSG:32632','EPSG:4326')),'x',4)
e
to_dms(y(transform($geometry,'EPSG:32632','EPSG:4326')),'y',4)


saluti,
francesco


Il giorno gio 7 nov 2019 alle ore 20:25 Roberto Facoetti <
robe...@nyumbugis.it> ha scritto:

> ciao Daniela,
>
> se non ho capito male quello che vuoi fare, almeno in quest'ultima
> spiegazione, quando calcoli nella tabella degli attributi dei centroidi
> devi usare l'espressione che ti restituisce i campi in coordinate
> geografiche, non quelle piane. Cioè devi fare prima una trasformazione
> di coordinate.
>
> L'espressione da usare è per il campo della longitudine:
>
> x(transform($geometry,'EPSG:32632','EPSG:4326'))
>
>
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Problemi con file fabbricati Norcia (regione Umbria)

2019-11-07 Per discussione Roberto Facoetti

ciao Daniela,

se non ho capito male quello che vuoi fare, almeno in quest'ultima 
spiegazione, quando calcoli nella tabella degli attributi dei centroidi 
devi usare l'espressione che ti restituisce i campi in coordinate 
geografiche, non quelle piane. Cioè devi fare prima una trasformazione 
di coordinate.


L'espressione da usare è per il campo della longitudine:

x(transform($geometry,'EPSG:32632','EPSG:4326'))

e per il campo della latitudine

y(transform($geometry,'EPSG:32632','EPSG:4326'))

Non ricordo bene quale era il tuo sistema di riferimento di partenza (ho 
messo il codice EPSG dell'UTM32 con datum WGS84, cioè il 32632); nel 
caso cambia il valore di partenza dell'EPSG


ciao

roberto

Il 07/11/19 19:10, d.zedde ha scritto:

Scusate, probabilmente mi sono spiegata male io. Cerco di spiegarmi meglio:
ho seguito i vostri consigli per quanto riguarda il passaggio all'EPSG 4326
(di cui allego immagine) e se utilizzo la freccia informazioni ottengo che
gli edifici hanno le coordinate corrette (13. 09 ecc e 42.79 ecc), ma il
problema è che io necessiterei di avere le coordinate dei centroidi di tali
edifici (devo esportarli per condurre un'analisi sismica e non lavorare
solamente sul GIS). Svolgo quindi tali operazioni:
1) Strumenti di Processing>> Geometria Vettori>> Centroidi;
2) Tabella attributi centroidi>> Calcolatore di campi>> Geometria>> tento di
calcolare x e y.
x e y sono errate, continua a darmi come x e y rispettivamente (questo è un
esempio per il primo edificio) 2364121.9504949055 e 4739639.103001431 e
continuano ad essere sbagliati.
Sto nuovamente sbagliando qualcosa? Probabilmente prima mi sono spiegata
male e non ho centrato il punto. Il problema continua però a persistere.
Ringrazio in anticipo,
Un saluto,
Daniela



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user

___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Problemi con file fabbricati Norcia (regione Umbria)

2019-11-07 Per discussione d.zedde
Scusate, probabilmente mi sono spiegata male io. Cerco di spiegarmi meglio:
ho seguito i vostri consigli per quanto riguarda il passaggio all'EPSG 4326
(di cui allego immagine) e se utilizzo la freccia informazioni ottengo che
gli edifici hanno le coordinate corrette (13. 09 ecc e 42.79 ecc), ma il
problema è che io necessiterei di avere le coordinate dei centroidi di tali
edifici (devo esportarli per condurre un'analisi sismica e non lavorare
solamente sul GIS). Svolgo quindi tali operazioni:
1) Strumenti di Processing>> Geometria Vettori>> Centroidi;
2) Tabella attributi centroidi>> Calcolatore di campi>> Geometria>> tento di
calcolare x e y.
x e y sono errate, continua a darmi come x e y rispettivamente (questo è un
esempio per il primo edificio) 2364121.9504949055 e 4739639.103001431 e
continuano ad essere sbagliati.
Sto nuovamente sbagliando qualcosa? Probabilmente prima mi sono spiegata
male e non ho centrato il punto. Il problema continua però a persistere. 
Ringrazio in anticipo,
Un saluto,
Daniela



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] QGIS Mac vs QGIS Windows

2019-11-07 Per discussione Paolo Cavallini
sure
cheers

Il 07/11/19 17:04, Miquel Pujol Garcia ha scritto:
> *Hi QGIS users,*
> 
> I use QGIS in my Macbook Pro. Is running very good. I'm creating a big
> project with many many layers and data but I'm thinking return to
> Windows again.
> 
> Can I open a QGIS Mac project with QGIS Windows?
> 
> Thanks,
> *--*
> *Miquel*
> 
> ___
> 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
> 

-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
___
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 Mac vs QGIS Windows

2019-11-07 Per discussione Miquel Pujol Garcia
*Hi QGIS users,*

I use QGIS in my Macbook Pro. Is running very good. I'm creating a big
project with many many layers and data but I'm thinking return to Windows
again.

Can I open a QGIS Mac project with QGIS Windows?

Thanks,
*--*
*Miquel*
___
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] MS/SQL layer in 2D suddenly becomes 3D in QGIS preventing updates ?

2019-11-07 Per discussione Lars I. Nielsen, LIFA A/S
Thanks Régis.

I do have a default Z value set to 0 in the general settings. It seems like it 
isn’t always used ☹

I’ll wait see if 3.10.1 changes anything, but I’ll wait until the official 
release, as I found a work-around for now. I’m using 3.4.9 at present.

But is forcing a dummy 3rd dimension upon a 2D polygon normal QGIS behavior ? 
Or is that what will be fixed in 3.10.1 ?


Med venlig hilsen

Lars I. Nielsen, LIFA A/S
GIS-kons., FME+Python Certified Professional
Geoinformatik

T

6313 6800

@

l...@lifa.dk

D

6313 6849

W

www.lifa.dk

M










[Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-3019966288736195652]
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S

Fra: Régis Haubourg [mailto:regis.haubo...@gmail.com]
Sendt: 7. november 2019 11:47
Til: Lars I. Nielsen, LIFA A/S
Cc: QGIS Users List (qgis-user@lists.osgeo.org)
Emne: Re: [Qgis-user] MS/SQL layer in 2D suddenly becomes 3D in QGIS preventing 
updates ?

Hi Lars,
from what I eard, part of this should be solved in 3.10.1 to be released the 
2019-11-22 . if you can install the qgis-release-dev build with osgeo4W 
advanced installer, can you check it is OK with it?

You should also check the default Z value option in Settings/Digitizing 
section. This is where you can force the default value.
Regards
Régis

Le jeu. 7 nov. 2019 à 10:14, Lars I. Nielsen, LIFA A/S 
mailto:l...@lifa.dk>> a écrit :
Hi list.

I’m stuck in an odd situation.

I just opened a polygon table from my MS/SQL (2016) for editing. It loads 
without problems.

I then did some node editing, only moving existing nodes. This was saved 
without problems.

I then tried to add a couple of new nodes, and then QGIS failed in committing 
the change !?!


I investigated the error, and it seems that (1) QGIS adds a random Z value (17) 
to my polygon nodes, and (2) inserts a Z value of “nan” on new nodes. Why???


Question 1: How do I force QGIS to not adding a dummy Z to my loaded polygon 
layer, i.e. work with it as a 2D geometry ?

alternatively:

Question 2: How do I force QGIS to insert a valid value e.g. a “0” for dummy Z 
values in all new nodes ?


Yes, I have created tables (or actually views) named “geometry_column” in the 
relevant schemas _and_ dbo, with a value of 2 for “coord_dimension”. QGIS seems 
to disregard this setting.

The updated polygon in MS/SQL (from the first editing) is 2D, as expected.



Med venlig hilsen

Lars I. Nielsen, LIFA A/S
GIS-kons., FME+Python Certified Professional
Geoinformatik
[Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\284x82-3741133837051347070]
T

6313 6800

@

l...@lifa.dk

D

6313 6849

W

www.lifa.dk

M

CVR

20937289


[Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-3019966288736195652]
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S
___
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] MS/SQL layer in 2D suddenly becomes 3D in QGIS preventing updates ?

2019-11-07 Per discussione Régis Haubourg
Hi Lars,
from what I eard, part of this should be solved in 3.10.1 to be released
the 2019-11-22 . if you can install the qgis-release-dev build with osgeo4W
advanced installer, can you check it is OK with it?

You should also check the default Z value option in Settings/Digitizing
section. This is where you can force the default value.
Regards
Régis

Le jeu. 7 nov. 2019 à 10:14, Lars I. Nielsen, LIFA A/S  a
écrit :

> Hi list.
>
>
>
> I’m stuck in an odd situation.
>
>
>
> I just opened a polygon table from my MS/SQL (2016) for editing. It loads
> without problems.
>
>
>
> I then did some node editing, only moving existing nodes. This was saved
> without problems.
>
>
>
> I then tried to add a couple of new nodes, and then QGIS failed in
> committing the change !?!
>
>
>
>
>
> I investigated the error, and it seems that (1) QGIS adds a random Z value
> (17) to my polygon nodes, and (2) inserts a Z value of “nan” on new nodes.
> Why???
>
>
>
>
>
> Question 1: How do I force QGIS to not adding a dummy Z to my loaded
> polygon layer, i.e. work with it as a 2D geometry ?
>
>
>
> alternatively:
>
>
>
> Question 2: How do I force QGIS to insert a valid value e.g. a “0” for
> dummy Z values in all new nodes ?
>
>
>
>
>
> Yes, I have created tables (or actually views) named “geometry_column” in
> the relevant schemas _*and*_ dbo, with a value of 2 for
> “coord_dimension”. QGIS seems to disregard this setting.
>
>
>
> The updated polygon in MS/SQL (from the first editing) is 2D, as expected.
>
>
>
>
>
>
>
> Med venlig hilsen
>
> Lars I. Nielsen, LIFA A/S
> GIS-kons., FME+Python Certified Professional
> Geoinformatik
> [image: Beskrivelse:
> C:\Users\lin\AppData\Roaming\Microsoft\signatures\284x82-3741133837051347070]
>
> *T*
>
> 6313 6800
>
> *@*
>
> l...@lifa.dk
>
> *D*
>
> 6313 6849
>
> *W*
>
> www.lifa.dk
>
> *M*
>
> *CVR*
>
> 20937289
>
>
> [image: Beskrivelse:
> C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-3019966288736195652]
> 
> Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S
> ___
> 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] How to Save Intermediate Edits

2019-11-07 Per discussione Richard McDonnell
Hi,
Hi, If you are automatically fixing the geometries  I believe that any modified 
geometries are saved as you go through the process, so you can I THINK 
click Abort and a window will pop up saying how many geometries have been 
fixed. If you are manually updating the data, you can commit changes as you go 
by selecting the Save Layer Edits icon
[cid:image001.png@01D59555.322015E0]It will allow you to continue 
editing but commit completed edits.
Hope this helps,

Richard

From: Qgis-user  On Behalf Of 
smiller...@cfl.rr.com
Sent: 06 November 2019 21:39
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] How to Save Intermediate Edits

Hi-

I'm hoping that I am doing something stupid.  I digitized 2793 polygons and 156 
of them had errors when checked by Geometry Validation.  I proceeded to work 
off the list of problems but want to stop and save my work.  The problem is 
that when I toggle edit and am prompted to save, the save doesn't work because 
I have remaining  edits.  How do I save intermediate edits or otherwise bypass 
these checks without losing my edits?

Thanks.

Steve



Email Disclaimer: http://www.opw.ie/en/disclaimer/
___
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-it-user] Problemi con file fabbricati Norcia (regione Umbria)

2019-11-07 Per discussione Giulio Fattori
Se ti serve vedere le coordinate in gradi, minuti e secondi ti segnalo 
il plugin  LAT LON TOOLS che premette di vedere le coordinate in vari 
modi oltre a posizionarti inserendole

Saluti


Il 07/11/2019 10:08, francesco marucci ha scritto:
scusaci Daniela ma non stiamo capendo dove tu voglia vedere queste 
coordinate.


quelle che tu descrivi sono coordinate geografiche (polari) espresse 
in gradi minuti e secondi (DMS).
come dice giustamente Marco Guiducci, stai attenta ad usare 
correttamente i decimali dei secondi altrimenti perdi in precisione.


lo shapefile che ci hai mandato invece è in coordinate piane (metriche).

in QGIS puoi visualizzare nel campo cartografico (canvas) le 
coordinate geografiche espresse in DMS semplicemente cambiando nelle 
proprietà del progetto, impostazione generali, visualizzazione 
coordinate, e scegliendo l'opzione mostra le coordinate usando gradi, 
minuti, secondi.


se invece vuoi che il tuo intero progetto sia rappresentato in 
coordinate geografiche, devi cambiare il sistema di riferimento del 
progetto in EPSG:4326 (sempre proprietà del progetto, SR).


altra cosa invece è produrre un layer (shapefile) in coordinate 
geografiche e questo lo fai con tasto destro sul layer, esporta, salva 
elementi come e scegliendo l'SR in output l'EPSG:4326: in questo modo 
fissi i dati in quel sistema di riferimento, mentre nei due casi sopra 
descritti, si tratta di configurazioni al volo valide solamente 
all'interno di quel progetto.


facci sapere se ti abbiamo aiutato.

un saluto,
francesco


Il giorno gio 7 nov 2019 alle ore 09:44 d.zedde 
mailto:danielazedd...@gmail.com>> ha scritto:


Caio Alberto,
ho visto l'anteprima delle coordinate nella tua immagine e si, mi
riferisco
proprio a quelle coordinate. Cosa stavo sbagliando? Come le hai
ottenute? Ti
sarei davvero grata se riuscissi a spiegarmi i passaggi, ci sto
provando da
qualche settimana e non riuscivo a risolvere il problema.
Ti ringrazio nuovamente,
Saluti,
Daniela



___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user



___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] MS/SQL layer in 2D suddenly becomes 3D in QGIS preventing updates ?

2019-11-07 Per discussione Lars I. Nielsen, LIFA A/S
Hi list.

I'm stuck in an odd situation.

I just opened a polygon table from my MS/SQL (2016) for editing. It loads 
without problems.

I then did some node editing, only moving existing nodes. This was saved 
without problems.

I then tried to add a couple of new nodes, and then QGIS failed in committing 
the change !?!


I investigated the error, and it seems that (1) QGIS adds a random Z value (17) 
to my polygon nodes, and (2) inserts a Z value of "nan" on new nodes. Why???


Question 1: How do I force QGIS to not adding a dummy Z to my loaded polygon 
layer, i.e. work with it as a 2D geometry ?

alternatively:

Question 2: How do I force QGIS to insert a valid value e.g. a "0" for dummy Z 
values in all new nodes ?


Yes, I have created tables (or actually views) named "geometry_column" in the 
relevant schemas _and_ dbo, with a value of 2 for "coord_dimension". QGIS seems 
to disregard this setting.

The updated polygon in MS/SQL (from the first editing) is 2D, as expected.



Med venlig hilsen

Lars I. Nielsen, LIFA A/S
GIS-kons., FME+Python Certified Professional
Geoinformatik
[Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\284x82-3741133837051347070]
T

6313 6800

@

l...@lifa.dk

D

6313 6849

W

www.lifa.dk

M

CVR

20937289


[Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-3019966288736195652]
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S
___
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-it-user] Problemi con file fabbricati Norcia (regione Umbria)

2019-11-07 Per discussione francesco marucci
scusaci Daniela ma non stiamo capendo dove tu voglia vedere queste
coordinate.

quelle che tu descrivi sono coordinate geografiche (polari) espresse in
gradi minuti e secondi (DMS).
come dice giustamente Marco Guiducci, stai attenta ad usare correttamente i
decimali dei secondi altrimenti perdi in precisione.

lo shapefile che ci hai mandato invece è in coordinate piane (metriche).

in QGIS puoi visualizzare nel campo cartografico (canvas) le coordinate
geografiche espresse in DMS semplicemente cambiando nelle proprietà del
progetto, impostazione generali, visualizzazione coordinate, e scegliendo
l'opzione mostra le coordinate usando gradi, minuti, secondi.

se invece vuoi che il tuo intero progetto sia rappresentato in coordinate
geografiche, devi cambiare il sistema di riferimento del progetto in
EPSG:4326 (sempre proprietà del progetto, SR).

altra cosa invece è produrre un layer (shapefile) in coordinate geografiche
e questo lo fai con tasto destro sul layer, esporta, salva elementi come e
scegliendo l'SR in output l'EPSG:4326: in questo modo fissi i dati in quel
sistema di riferimento, mentre nei due casi sopra descritti, si tratta di
configurazioni al volo valide solamente all'interno di quel progetto.

facci sapere se ti abbiamo aiutato.

un saluto,
francesco


Il giorno gio 7 nov 2019 alle ore 09:44 d.zedde 
ha scritto:

> Caio Alberto,
> ho visto l'anteprima delle coordinate nella tua immagine e si, mi riferisco
> proprio a quelle coordinate. Cosa stavo sbagliando? Come le hai ottenute?
> Ti
> sarei davvero grata se riuscissi a spiegarmi i passaggi, ci sto provando da
> qualche settimana e non riuscivo a risolvere il problema.
> Ti ringrazio nuovamente,
> Saluti,
> Daniela
>
>
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Problemi con file fabbricati Norcia (regione Umbria)

2019-11-07 Per discussione Studio Multiservice s.s.
Ciao Daniela

ho settato il SR del progetto a WGS84 (il numero 4326 che puoi visualizzare
in basso a destra della schermata che avevo mandato), ho caricato le mappe
google hybrid e poi lo shp preparato da Salvatore Totò Fiandaca.

La corrispondenza tra satellite e poligoni direi quasi perfetta e le
coordinate geografiche.

Nel caso tu abbia già un progetto settato in coordinate metriche, doppio
click sulla finestrella in basso a destra e scegli nuovo SR del progetto.

Oppure, dal menù testuale >impostazioni>opzioni>SR

Gli archivi caricati si riproiettano al volo.

Buon lavoro

Alberto


Il giorno gio 7 nov 2019 alle ore 09:44 d.zedde 
ha scritto:

> Caio Alberto,
> ho visto l'anteprima delle coordinate nella tua immagine e si, mi riferisco
> proprio a quelle coordinate. Cosa stavo sbagliando? Come le hai ottenute?
> Ti
> sarei davvero grata se riuscissi a spiegarmi i passaggi, ci sto provando da
> qualche settimana e non riuscivo a risolvere il problema.
> Ti ringrazio nuovamente,
> Saluti,
> Daniela
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Problemi con file fabbricati Norcia (regione Umbria)

2019-11-07 Per discussione d.zedde
Caio Alberto, 
ho visto l'anteprima delle coordinate nella tua immagine e si, mi riferisco
proprio a quelle coordinate. Cosa stavo sbagliando? Come le hai ottenute? Ti
sarei davvero grata se riuscissi a spiegarmi i passaggi, ci sto provando da
qualche settimana e non riuscivo a risolvere il problema.
Ti ringrazio nuovamente,
Saluti,
Daniela



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user