Re: [QGIS-it-user] R: Assegnare geometria a tabella dati esistenti

2021-10-02 Thread Luca Lanteri
Puoi provare ad aggiungere la geometria selezionando il record e
utilizzando lo strumento aggiungi parte (add part).

Luca


Il giorno ven 1 ott 2021 alle ore 10:11 Alberto Poggi 
ha scritto:

> Ciao Francesco,
> hai sicuramente ragione sul fatto che dovendo considerare dati di tipo
> diverso le tabelle debbano essere due per la corretta gestione dei dati
> Comunque, parlando in generale e non del caso specifico, postgres ti
> consente di avere due o più campi geometrici nella stessa tabella
>
> Dal lato Qgis se tu fai due connessioni distinte sulla stessa tabella in
> fase di connessione puoi indicare qual è il campo geometrico da considerare
> nei due differenti casi.
> Ho provato e qgis accetta senza problemi la cosa rappresentando con due
> punti ovviamente differenti per posizione sia la imhoff che lo scarico (nel
> mio caso) con due campi geometrici differenti (geom per la imhoff e
> geom_sca per lo scarico)
>
> Di conseguenza la cosa sembra possibile.
>
> Il problema stà nella gestione dei dati
>
> Se, ad esempio, io inserisco una nuova imhoff, non c'è problema, aggiungo
> i dati che mi interessano, ho una nuova riga di dati in tabella e sono a
> posto.
> Subito dopo aver registrato il punto imhoff devo inserire anche il punto
> di scarico.
> Apro in editing la seconda connessione (lo scarico che punta al campo
> geometrico dedicato) ma in questo caso devo assegnare la geometria ad una
> riga già esistente (quella della imhoff creata prima) e non creare una
> nuova riga della tabella.
> Quindi mi ritrovo a dover assegnare la nuova geometria ad una riga di
> tabella già esistente.
>
> So che è possibile assegnare una geometria ad una tabella dati già
> esistente con il comando "fondi attributi degli elementi selezionati"
>
> in questo caso però non riesco a farlo perchè qgis considera tabelle
> differenti le due connessioni e dalla connessione dello scarico non vede la
> riga della imhoff appena creata perchè il campo geom_sca è vuoto.
>
> Forse, visto che in tabella ho due campi float per le coordinate x e y, si
> può risolvere il problema con un trigger su postgres che una volta inseriti
> i dati delle coordinate nei due campi vada ad aggiornare il campo geom_sca.
>
>
>
> > ciao,
> > concettualmente io credo che l'unica soluzione sia quella di gestire i
> > due oggetti in due layer (tabelle) distinti: nel caso di una geometria
> > multipoint non hai la possibilità di caratterizzare il punto (se
> > imhoff o scarico), mentre nella soluzione che stai provando in QGIS
> > (due campi geometry nella stessa tabella) non è possibile aggiungere
> > una geometria (lo scarico) ad un record esistente (imhoff) e comunque
> > si tratta di due oggetti distinti e ti troverai sicuramente ad avere
> > dei dati riferiti ad uno e dati all'altro, violando quindi la più
> > basilare norma dei database (normalizzazione).
> > in generale in un GIS l'elemento geografico non è un attributo in più
> > di un altro elemento, ma è una primitiva che contiene degli attributi
> > (che tu stai rappresentando).
>
> > saluti,
> > francesco
>
>
> > Da: QGIS-it-user  Per conto di
> Alberto Poggi
> > Inviato: giovedì 30 settembre 2021 10:00
> > A: QGIS-it-user@lists.osgeo.org
> > Oggetto: [QGIS-it-user] Assegnare geometria a tabella dati esistenti
> >
> >
> >
> > Buongiorno a tutti, ho un problema che non riesco a risolvere con una
> tabella dati in postgis.
> >
> > La tabella contiene i dati di fosse imhoff esistenti. Ho la necessità di
> registrare anche il punto di scarico di queste imhoff e il modo più
> "semplice" mi è sembrato quello di aggiungere un altro campo geometrico nel
> quale registrare il punto di scarico.
> >
> > Ho quindi sulla stessa riga due campi geometrici, uno per la imhoff e
> uno per lo scarico.
> >
> > Ho collegato due volte la stessa tabella in qgis, vestendola in modo
> diverso, utilizzando il primo campo geometrico per rappresentare la fossa
> imhoff  e il secondo per lo scarico.
> >
> >
> >
> > Il problema è: come faccio ad assegnare la geometria dello scarico alla
> singola riga della tabella già esistente?
> >
> >
> >
> > Ho cercato in rete e ho visto che la procedura in qgis dovrebbe
> utilizzare la funzionalità "fondi attributi degli elementi selezionati" ma
> non sono riuscito ad ottenere nulla.
> >
> > Qualcuno mi può aiutare?
> >
> > grazie in anticipo
> >
> ___
> 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] Gruppo Telegram di QGIS Italia e il regolamento

2020-10-10 Thread Luca Lanteri
Io vedo il canale telegram proprio come posto dove fare due chiacchiere da
bar in libertà. Non ha nessuna utilità per discussioni più strutturate,
perché non è indicizzata e non si può suddividere x argomenti. Insomma, è
caotica per natura e non mi pare richieda una regolamentazione così
stringente.
Per discussioni più istituzionali esiste la mailing list.

Bye
Luca

Il sab 10 ott 2020, 19:34 Totò  ha scritto:

> Il gruppo degli utenti italiani di QGIS, oltre a questa lista, è presente
> nel
> web in vari modi (ordine cronologico/creatore):
>
> 1. repository QGIS.it (Paolo Cavallini 2015) - https://github.com/qgis-it
> 2. sito web QGIS Italia (Paolo Cavallini 2015) - http://qgis.it/
> 3. pagina Facebook QGIS Italia(Paolo Cavallini 2015) -
> https://www.facebook.com/qgis.it
> 4. canale Twitter (Salvatore Larosa 2018) - https://twitter.com/qgisitalia
> 5. canale Telegram QGIS Italia (Salvatore Larosa 2018) -
> https://t.me/qgisitalia
> 6. gruppo telegram QGIS.it (Paolo Cavallini 2018/19) -
> https://t.me/qgis_it
> 7. gruppo telegram qgis-it-traduttori (Stefano Campus 2020) -
> https://t.me/qgis_it_traduzione
>
> Come si puo' notare e forse anche giustamente, Paolo Cavallini è il
> creatore
> e quindi è l'amministratore principale di tutti i siti e chat più
> importanti
> (forse è arrivata l'ora di cedere qualche cosa anche ad altri).
>
> Tra tutti questi elementi sopra elencati, quello più attivo (cioè che
> giornalmente ci sono utenti che scrivono) è il gruppo Telegram che fino a
> qualche tempo fa (SummerCamp2019) contava solo 30 iscritti, oggi (mentre
> scrivo) sono 373.
>
> Il numero dei membri del gruppo telegram è cresciuto grazie ai post sulla
> pagina Facebook QGIS Italia (seguita da oltre 3000 persone). Il numero
> cresce quasi giornalmente e di conseguenza crescono le domande e i quesiti
> che spesso sono OFF TOPIC ovvero non riguardano QGIS ma il GIS in generale
> oppure chiedono la risoluzione di problemi con QGIS. Per evitare che il
> gruppo degeneri in un bar, ho chiesto più volte di aumentare il numero di
> amministratori attivi e di redigere un regolamento, con poche ma chiare
> regole.
>
> Potremmo creare un documento condiviso su gdrive e scrivere assieme il
> regolamento e scegliere più amministratori/moderatori e poi mettere il link
> nella descrizione del gruppo stesso.
>
> Io per adesso sono uscito dal gruppo telegram perché è diventato, secondo
> me, un bar e questo porta ad allontanare le persone o peggio a disattivare
> le notifiche.
>
> Io mi metto a disposizione per iniziare a scrivere un regolamento.
>
> saluti e W QGIS
>
>
>
> -
> https://pigrecoinfinito.wordpress.com/
> --
> 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] HackFest Viterbo

2018-09-01 Thread Luca Lanteri
C'è modo di partecipare remoto?

Il sab 1 set 2018 09:29 matteo  ha scritto:

> Piccola modifica.. abbiamo cambiato da canale a gruppo in modo da
> coordinarci ancora meglio, ecco il link nuovo e giusto:
>
> https://t.me/joinchat/AJDorRDTqE_TWudHUHstPw
>
> Saluti e a presto
>
> Matteo
> ___
> 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] Inverti senso di digitalizzazione di una linea

2018-08-29 Thread Luca Lanteri
Grazie mille Totò !
Cercavo qualcosa di più facilmente utilizzabile in fase di editing, ma già
questo mi aiuta molto.
Provo sia questa soluzione che quella legata all'azione proposta da Sergio.

Potrebbe essere una cosa utile proporre di inserire un pulsante nel menù di
editing avanzato che faccia il flip degli oggetti selezionati ?
Io la trovo una funzione di digitalizzazione fondamentale che mi piacerebbe
trovare sempre a portata quando faccio editing.
Cosa ne pensate ?

grazie e a presto
Luca


Il giorno mar 28 ago 2018 alle ore 16:38 Totò 
ha scritto:

> Luca Lanteri-2 wrote
> > Ciao a tutti,
> >
> > su QGIS 2.18 esisteva un plugin per invertire il senso di
> digitalizzazione
> > delle linee (mi pare si chiamasse swap o flip line). Il plugin non è
> > ancora
> > stato migrato per la versione 3 diQGIS. Che voi sappiate eieste una
> > funzione nativa su QGIS che fa la stessa cosa, cioè il flip di una
> singola
> > linea o di una selezione direttamente in editing e senza creare un nuovo
> > layer ? Io ho cercato ma non ho trovato niente.
> >
> > Grazie mille
> > Luca
>
> Non occorre nessun plugin.
> Basta utilizzare il calcolatore di campi e aggiornare la geometria con la
> funzione reverse($geometry)
>
> saluti
>
>
>
> -
> https://pigrecoinfinito.wordpress.com/
> --
> 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] Inverti senso di digitalizzazione di una linea

2018-08-29 Thread Luca Lanteri
Perfetto, la provo subito.
Grazie mille

^L^

Il giorno mar 28 ago 2018 alle ore 15:47 Sergio Gollino <
gollinoser...@gmail.com> ha scritto:

> Io utilizzo un azione, non l'ho però provata in qgis3.
>
> #pannello azioni del layer in QGIS
> #Phyton
> #Name:InvertiDirezioneVettore
> #copiare e incollare il codice qui sotto nella finestra "ACTION" se non
> presente un gid nella tabella editare il codice facendo rifermento alla
> colonna che fa da ID
> #lo script fa riferimento ad un campo che deve essere univoco (gid). sul
> db è necessario che sia anche chiave primaria
>
> layer = QgsMapLayerRegistry.instance().mapLayer("[% $layerid %]")
> r = QgsFeatureRequest([% "gid" %])
> f = QgsFeature()
> if layer.getFeatures(r).nextFeature(f):
>   geom = f.geometry().asPolyline()
>   geom.reverse()
>   geom = QgsGeometry.fromPolyline(geom)
>   if layer.changeGeometry([% "gid" %], geom):
> qgis.utils.iface.messageBar().pushMessage("Line swaped",
> QgsMessageBar.INFO, 2)
> qgis.utils.iface.mapCanvas().refresh()
>   else:
> qgis.utils.iface.messageBar().pushMessage("Cannot swap line. Turn
> editing on.", QgsMessageBar.WARNING, 3)
> else:
>   qgis.utils.iface.messageBar().pushMessage("Cannot edit this feature.",
> QgsMessageBar.CRITICAL, 3)
>
> Il giorno mar 28 ago 2018 alle ore 15:39 Luca Lanteri 
> ha scritto:
>
>> Ciao a tutti,
>>
>> su QGIS 2.18 esisteva un plugin per invertire il senso di
>> digitalizzazione delle linee (mi pare si chiamasse swap o flip line). Il
>> plugin non è ancora stato migrato per la versione 3 diQGIS. Che voi
>> sappiate eieste una funzione nativa su QGIS che fa la stessa cosa, cioè il
>> flip di una singola linea o di una selezione direttamente in editing e
>> senza creare un nuovo layer ? Io ho cercato ma non ho trovato niente.
>>
>> Grazie mille
>> Luca
>>
>> ___
>> QGIS-it-user mailing list
>> QGIS-it-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>
>
>
> --
> Sergio Gollino
>
> Questo messaggio, comprensivo di eventuali allegati, è ad uso esclusivo
> del destinatario e potrebbe contenere  informazioni riservate; se è stato
> recapitato per errore ci scusiamo per l'accaduto e Vi invitiamo
> cortesemente a darcene notizia provvedendo alla sua distruzione.
> Vi ricordiamo che la diffusione, l'utilizzo e/o la conservazione dei dati
> ricevuti per errore costituiscono violazione alle disposizioni del D.Lgs.
> n. 196/2003 "Codice in materia di protezione dei dati personali".
> ___
> 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-it-user] Inverti senso di digitalizzazione di una linea

2018-08-28 Thread Luca Lanteri
Ciao a tutti,

su QGIS 2.18 esisteva un plugin per invertire il senso di digitalizzazione
delle linee (mi pare si chiamasse swap o flip line). Il plugin non è ancora
stato migrato per la versione 3 diQGIS. Che voi sappiate eieste una
funzione nativa su QGIS che fa la stessa cosa, cioè il flip di una singola
linea o di una selezione direttamente in editing e senza creare un nuovo
layer ? Io ho cercato ma non ho trovato niente.

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


Re: [QGIS-it-user] Qgis Versione di QGIS 3.0.2-Girona - Windows 10 - Errore algoritmo voronoi

2018-08-03 Thread Luca Lanteri
Come prima cosa provalo sulla 3.2.1

Luca

Il ven 3 ago 2018 11:56 Luca Mandolesi  ha scritto:

> Ciao a tutti,
>
> su Girona 3.0.2 sotto windows 10 ho un layer puntuale epsg 25832,
> all'interno di un DB postgres, esportate ANCHE in shp, che fa fallire la
> creazione dei poligoni di Voronoi secondo l'errore sotto riportato...che mi
> pare dica poco sulle cause...
>
>
> Problema presente dopo che è apparso il campo buffer nell'algoritmo (non
> ricordo da quale versione)
>
> Qualche idee di test da fare?
>
> Ciao
> Luca
>
> [0]
> 
>
> Processing algorithm…
>
> AlgorithmDialog
>
> Parametri in ingresso:
>
> { 'BUFFER' : 1, 'INPUT' :
> 'C:\Users\Luca\test_to_trash\test_to_trashvoronoii.shp', 'OUTPUT' :
> 'memory:' }
>
>
> Traceback (most recent call last):
> File
> "C:/PROGRA~1/QGIS3~1.0/apps/qgis/./python/plugins\processing\algs\qgis\VoronoiPolygons.py",
> line 128, in processAlgorithm
> self.tr('There were no polygons created.'))
> _core.QgsProcessingException: Nessun poligono creato.
>
> Execution failed after 0.03 seconds
>
>
> Caricamento layer
>
> Algoritmo 'Poligoni di Voronoi' terminato
>
> ___
> 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] relazioni 1-n nei form

2018-05-10 Thread Luca Lanteri
Provato adesso, ma il plugin funziona solo con layer geografici, i miei
figli sono semplici attributi.
La soluzione migliore che ho trovato al momento è utilizzare come f_key un
campo uuid, assegnato al padre come valore di default con la funzione
uuid(). In questo modo l'uuid è generato già da prima del salvataggio e può
essere ereditato dai figli.
Non è la soluzione ideale ma funziona.

^L^

2018-05-04 16:34 GMT+02:00 Luca Bellani :

> E il plug AutoField, non potrebbe servirti?
>
>
>
> --
> 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


[QGIS-it-user] relazioni 1-n nei form

2018-05-01 Thread Luca Lanteri
Ciao a tutti,
avrei una domanda per i QGISssisti.

Ho 2 tabelle postgres in relazione uno a molti tra loro, collegate con la
classica fkey. Ho creato un form che contiene entrambe le tabelle
utilizzando le relazioni. Se creo un nuovo padre e contestualmente anche un
record figlio, qgis non riesce a salvare il figlio perché cerca di
assegnarli il valore stringa "nextval('gid_seq'::regclass), visto che la
chiave primaria del padre non è ancora stata assegnata". In pratica sono
costretto prima a salvare il padre (uscendo dal form) e solo dopo creare il
record figlio. Al momento ho risolto utilizzando un campo uuid come fkey ma
è solo una pezza, non il comportamento che mi aspetterei in un form.
Mi sto perdendo qualcosa ?
Grazie in anticipo


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


[QGIS-it-user] Schedulare layout con atlas

2018-04-09 Thread Luca Lanteri
Ciao a tutti,
qualcuno ha mai provato a schedulare la creazione di layout in serie con
ATLAS?

Pensavo di mettere a crontab l'avvio di QGIS e creare uno script python che
parta all'avvio del progetto, utilizzando funzione openProject()
Sapete se esiste qualcosa di già fatto ? Sgooglando non ho trovato niente.

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


Re: [QGIS-it-user] Contenti di QGIS3?

2018-03-07 Thread Luca Lanteri
stesso per me. cerco di verificarne almeno un paio al giorno
compatibilmente con gli impegni, lasciando la chiusura a chi può farlo.

non ho tenuto il conto di quanti sono stati chiusi.

luca

Il 07 Mar 2018 20:11, "nformica"  ha scritto:

Ciao Paolo,

io nei ritagli di tempo sto continuando a guardare e verificare vari ticket
e continuerò a farlo.
Come sai, non posso chiuderli e quindi mi limito a scrivere le mie
verifiche, che molte volte confermano la permanenza del problema.
Ti segnalo comunque questo, che credo si possa chiudere:
https://issues.qgis.org/issues/16267

Saluti
Nino



--
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] QGIS 3.0 Bug su from editor

2018-03-03 Thread Luca Lanteri
wget
http://download.qt.io/official_releases/qt/5.9/5.9.1/qt-opensource-linux-x64-5.9.1.run
chmod +x qt-opensource-linux-x64-5.9.1.run
./qt-opensource-linux-x64-5.9.1.run

[https://linuxhint.com/install-qt-5-9-1-qt-creator-4-3-1-ubuntu/]


Il giorno 3 marzo 2018 22:11, Totò <pigrecoinfin...@gmail.com> ha scritto:

> Luca Lanteri-2 wrote
> > La vista 3D non è attivata di default. Devi aggiungere l'opzione
> > -DWITH_3D=ON in CMAKE.
> > Che versione di QT usa windows ?
>
> Win usa qt 5.9
> credo che per il 3D occorra necessariamente la 5.9 come minimo.
>
> saluti e grazie
>
>
>
> -
> https://pigrecoinfinito.wordpress.com/
> --
> 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] QGIS 3.0 Bug su from editor

2018-03-03 Thread Luca Lanteri
Grazie Totò, ticekt aperto.
https://issues.qgis.org/issues/18324

La vista 3D non è attivata di default. Devi aggiungere l'opzione
-DWITH_3D=ON in CMAKE.
Che versione di QT usa windows ?

Il giorno 3 marzo 2018 21:18, Totò <pigrecoinfin...@gmail.com> ha scritto:

> Luca Lanteri-2 wrote
> > quando cerco di generare un form personalizzato con il "drag and drop
> > designer" su mint 18.3 si blocca l'intera interfaccia grafica (di mint e
> > non di QGIS) e devo riavviarla.
> > La cosa capita quando provo a trascinare un elemento dalla colonna di
> > sinistra (avalable widget) a quella centrale (Form layout).
> > Prima di aprire un ticket qualcuno mi può confermare ?
> >
> > Grazie mille
> > Luca
>
> Ciao Luca,
> ho appena fatto una prova, dopo aver finito di compilare QGIS 3.0 in
> GNU/Linux Mint 18.3,
> noto subito che si blocca anche a me, però andando a guardare la versione
> di
> Qt mi accorgo che è la 5.5.1
> avrò sbagliato qualcosa nel compilare la libreria, infatti non trovo la
> vista 3D.
>
> saluti
>
>
>
>
>
> -
> https://pigrecoinfinito.wordpress.com/
> --
> 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] Aprire un file .mdb

2018-03-03 Thread Luca Lanteri
Puoi aprilo con la versione a 32 bit di QGIS, sulla 64 non sono disponibili
i driver.
In alternativa esistono diversi programmi freeware per convertire gli mdb
in csv (ad es: per windows access2csv-0.9.1, per linux mdb-tools)

Luca


Il giorno 3 marzo 2018 16:51, Giuseppe Puddu  ha
scritto:

> Ciao a tutti.
> Ho un file .mdb che vorrei utilizzare per estrarre alcuni dati.
> Ho letto vecchi forum sulla difficiltà di aprire questo formato con QGIS.
> Ho scaricato AccesDatabaseEngine come consigliato ma non ottengo risultati.
> lavoro su Win7-64 e qgis 2.18.14
> Qualche suggerimento per poco-pratici?
> grazie in anticipo
> giuseppe
>
>
>
>
>
>
> Con Mobile Open 7 GB a 9 euro/4 sett navighi veloce con 7 GB di Internet e
> hai 200 minuti ed SMS a 12 cent. Passa a Tiscali Mobile!
> http://tisca.li/OPEN7GBFirma
>
>
> ___
> 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] Installare QGIS 3.0 in macchine Linux

2018-03-01 Thread Luca Lanteri
scarica lo zip da https://github.com/qgis/QGIS e scompattalo
nel file INSTALL trovi le istruzioni.

Io ti consiglio di provare così:

1) installa tutte le dipendenze :
apt-get install bison ca-certificates ccache cmake cmake-curses-gui
dh-python doxygen expect flex gdal-bin git graphviz grass-dev libexpat1-dev
libfcgi-dev libgdal-dev libgeos-dev libgsl-dev libpq-dev libproj-dev
libqca-qt5-2-dev libqca-qt5-2-plugins libqt5opengl5-dev
libqt5scintilla2-dev libqt5sql5-sqlite libqt5svg5-dev libqt5webkit5-dev
libqt5xmlpatterns5-dev libqwt-qt5-dev libspatialindex-dev libspatialite-dev
libsqlite3-dev libsqlite3-mod-spatialite libzip-dev lighttpd locales
ninja-build pkg-config poppler-utils pyqt5-dev pyqt5-dev-tools
pyqt5.qsci-dev python3-all-dev python3-dateutil python3-dev python3-future
python3-gdal python3-httplib2 python3-jinja2 python3-markupsafe
python3-mock python3-nose2 python3-owslib python3-plotly python3-psycopg2
python3-pygments python3-pyproj python3-pyqt5 python3-pyqt5.qsci
python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-requests python3-sip
python3-sip-dev python3-six python3-termcolor python3-tz python3-yaml
qt5-default qt5keychain-dev qtbase5-dev qtpositioning5-dev qttools5-dev
qttools5-dev-tools spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi
xfonts-base xfonts-scalable xvfb

(queste sono qper xenial)

prepara i file con cmake
cmake -DCMAKE_INSTALL_PREFIX=/home/luk/bin/qgis-3.0

make
make install

crea il file qgis.sh in /home/luk/bin/qgis-3.0/bin/

!#/bin/sh
export LD_LIBRARY_PATH='/home/luk/bin/qgis-3.0/lib/'
/home/luk/bin/qgis-3.0/bin/qgis



Il 01 Mar 2018 19:06, "Totò" <pigrecoinfin...@gmail.com> ha scritto:

> Luca Lanteri wrote
> > in alternativa puoi compilare qgis. così ti installi tutte le versioni
> che
> > vuoi
>
> Grazie per il suggerimento,
> dove posso trovare una guida?
>
> saluti
>
>
>
> -
> https://pigrecoinfinito.wordpress.com/
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f52506
> 12.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] Installare QGIS 3.0 in macchine Linux

2018-03-01 Thread Luca Lanteri
in alternativa puoi compilare qgis. così ti installi tutte le versioni che
vuoi

Il 01 Mar 2018 16:03, "Totò"  ha scritto:

> Grazie Nino,
> ora mi è tutto più chiaro, occorre aspettare un po' di tempo per le
> repository di QGIS 3.0
>
> Procedura seguita con successo per installare QGIS DEV (3.1) in linux Mint
> 18.3:
>
> da terminale:
> sudo nano /etc/apt/sources.list
>
> #aggiungo due stringe:
>
> deb https://qgis.org/ubuntugis-nightly xenial main
> deb-src https://qgis.org/ubuntugis-nightly xenial main
>
> salvo ed esco;
>
> sempre da terminale:
>
> sudo apt-get update
>
> e poi
>
> sudo apt-get install qgis python-qgis qgis-plugin-grass
>
> FUNZIONA!!!
>
> SALUTI
>
>
>
>
> -
> https://pigrecoinfinito.wordpress.com/
> --
> 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] Cartella .qgis3

2018-02-26 Thread Luca Lanteri
Certo, ho iniziato in questi giorni a fare qualche test sui bug aperti.
Al momento con l'aiuto di Giovanni Manghi sono riuscito a chiuderne diversi
.
Sono partito da quelli con priorità alta, spostandomi per categoria ,anche
se al momento mi sto muovendo abbastanza casualmente, cercando di capire
dal titolo se sono cose che posso testare.
Avete strategie migliori ?

Appena passo su quel bug, tra l'altro già ben descritto e commentato,  vi
faccio sapere.

Luca

Il giorno 26 febbraio 2018 10:49, Paolo Cavallini <cavall...@faunalia.it>
ha scritto:

> Potresti verificare il bug e aggiungere note?
> Grazie.
>
>
> Il 26 febbraio 2018 09:42:09 WET, Luca Lanteri <lklant...@gmail.com> ha
> scritto:
>>
>> Io lo compilo, così posso tenere diverse versioni installate.
>>
>> Tra l'altro la versione pacchettizzata su linux aveva un baco per me
>> fastidioso, perché andava in crash se usavo form con codice python
>> all'interno.
>> Mi pare che il bug sia ancora aperto perché legato ad un problema sulle
>> librerie QT se ricordo bene.
>>
>>  ^L^
>>
>> Il giorno 26 febbraio 2018 09:58, Daniele Bonaposta <
>> daniele.bonapo...@gmail.com> ha scritto:
>>
>>> Ciao a tutti,
>>> ne approfitto per una domanda: occorre avere come minimo la 18.2 per
>>> avere QGIS3?
>>> Io ho mint 18.1, ho aggiornato tutto il possibile ma QGIS3 non s'è visto!
>>>
>>> Daniele
>>>
>>> Il giorno 24 febbraio 2018 23:06, Luca Lanteri <lklant...@gmail.com> ha
>>> scritto:
>>>
>>>> Ciao a tutti,
>>>>
>>>> sto provando la versione 3.0 di QGIS su mint 18.2 e ho notato che non
>>>> viene creata la cartella .qgis3 nella mia home.  E' giusto così o è un
>>>> problema sul mio PC?
>>>>
>>>> Tra l'altro le opzioni e le connessioni ai DB creati non vengono
>>>> mantenute.
>>>> Qualcuno ha avuto problemi simili
>>>> Grazie
>>>>
>>>> Luca
>>>>
>>>>
>>>>
>>>> ___
>>>> QGIS-it-user mailing list
>>>> QGIS-it-user@lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>>>
>>>>
>>>
>>>
>>> --
>>> _
>>>
>>> Daniele Bonaposta,
>>> Cartografia - G.I.S.
>>>
>>> via Don Minzoni 13a
>>> 40121 - Bologna
>>> mobile: +39.338.3377044 <+39%20338%20337%207044>
>>> e-mail: daniele.bonapo...@gmail.com
>>>
>>> *Linked*in: http://www.linkedin.com/pub/daniele-bonaposta/26/487/872
>>>
>>> _
>>>
>>> ___
>>> QGIS-it-user mailing list
>>> QGIS-it-user@lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>>
>>>
>>
> --
> Sorry for being short
>
> ___
> 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] Cartella .qgis3

2018-02-26 Thread Luca Lanteri
Io lo compilo, così posso tenere diverse versioni installate.

Tra l'altro la versione pacchettizzata su linux aveva un baco per me
fastidioso, perché andava in crash se usavo form con codice python
all'interno.
Mi pare che il bug sia ancora aperto perché legato ad un problema sulle
librerie QT se ricordo bene.

 ^L^

Il giorno 26 febbraio 2018 09:58, Daniele Bonaposta <
daniele.bonapo...@gmail.com> ha scritto:

> Ciao a tutti,
> ne approfitto per una domanda: occorre avere come minimo la 18.2 per avere
> QGIS3?
> Io ho mint 18.1, ho aggiornato tutto il possibile ma QGIS3 non s'è visto!
>
> Daniele
>
> Il giorno 24 febbraio 2018 23:06, Luca Lanteri <lklant...@gmail.com> ha
> scritto:
>
>> Ciao a tutti,
>>
>> sto provando la versione 3.0 di QGIS su mint 18.2 e ho notato che non
>> viene creata la cartella .qgis3 nella mia home.  E' giusto così o è un
>> problema sul mio PC?
>>
>> Tra l'altro le opzioni e le connessioni ai DB creati non vengono
>> mantenute.
>> Qualcuno ha avuto problemi simili
>> Grazie
>>
>> Luca
>>
>>
>>
>> ___
>> QGIS-it-user mailing list
>> QGIS-it-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>
>>
>
>
> --
> _
>
> Daniele Bonaposta,
> Cartografia - G.I.S.
>
> via Don Minzoni 13a
> 40121 - Bologna
> mobile: +39.338.3377044 <+39%20338%20337%207044>
> e-mail: daniele.bonapo...@gmail.com
>
> *Linked*in: http://www.linkedin.com/pub/daniele-bonaposta/26/487/872
>
> _
>
> ___
> 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] Cartella .qgis3

2018-02-24 Thread Luca Lanteri
no, ma in effetti avevo già installato precedentemente la 2.99, forse si
era già portato dietro le impostazioni.
Cancellato la cartella e riavviato, adesso funziona tutto.

grazie mille
Luca

Il giorno 24 febbraio 2018 23:16, Salvatore Larosa <lrssv...@gmail.com> ha
scritto:

> Ciao Luca,
>
> 2018-02-24 23:06 GMT+01:00 Luca Lanteri <lklant...@gmail.com>:
>
>> Ciao a tutti,
>>
>> sto provando la versione 3.0 di QGIS su mint 18.2 e ho notato che non
>> viene creata la cartella .qgis3 nella mia home.  E' giusto così o è un
>> problema sul mio PC?
>>
>
> nessun problema, non esiste la cartella /qgis3, adesso tutte le
> configurazioni vengono scritte nella cartella del profilo utente,
> che nel tuo caso dovrebbe essere .local/QGIS/
>
>
>>
>> Tra l'altro le opzioni e le connessioni ai DB creati non vengono
>> mantenute.
>> Qualcuno ha avuto problemi simili
>>
>
> al primo avvio di QGIS3 si dovrebbe aprire una finestra che ti permette di
> migrare le impostazioni di una versione precedente.
> Non si è aperta?
>
> --
> Salvatore Larosa
> linkedIn: http://linkedin.com/in/larosasalvatore
> twitter: @lrssvt
> skype: s.larosa
> IRC: lrssvt on freenode
>
> ___
> 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-it-user] Cartella .qgis3

2018-02-24 Thread Luca Lanteri
Ciao a tutti,

sto provando la versione 3.0 di QGIS su mint 18.2 e ho notato che non viene
creata la cartella .qgis3 nella mia home.  E' giusto così o è un problema
sul mio PC?

Tra l'altro le opzioni e le connessioni ai DB creati non vengono mantenute.
Qualcuno ha avuto problemi simili
Grazie

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


Re: [QGIS-it-user] Contenti di QGIS3?

2018-02-24 Thread Luca Lanteri
Ciao paolo,

Solo un dubbio: i ticket sistemati sulla 3 ma ancora validi per la 2.18
sono da chiudere o da marcare in modo differente?
Bisogna fare il controllo su entrambe?

Grazie
Luca

Il 24 feb 2018 13:58, "Paolo Cavallini"  ha scritto:

allora fate una buona cosa: adottate qualche ticket
https://issues.qgis.org/
e verificate che sia ancora valido in QGIS 3. Chiudere quelli sistemati,
e confermare quelli da sistemare, faciliterà il lavoro degli
sviluppatori, aumentando di molto le probabilità che i guai veri vengano
sistemati.
Io lo sto facendo per i miei 226 tickets, ciascuno può farlo per qualche
decina.
Saluti, e grazie.
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] Problema salvataggio-apertura Stili - DB Spatialite

2017-11-24 Thread Luca Lanteri
Il giorno 24 novembre 2017 12:43, Totò <pigrecoinfin...@gmail.com> ha
scritto:

> Luca Lanteri-2 wrote
> > Penso che funzioni anche il più semplice
> >
> > CREATE TABLE tabella_bk AS SELECT * FROM
> > tabella
> >
> > a presto
> > Luca
>
> Ciao Luca,
> approfitto della tua risposta per chiederti:
> 1. ho fatto la prova che suggerisci ed ho notato che vengono cambiati i
> tipi
> di dati, cioè se un campo è definito Integer lo trasforma in INT ecc...
>

su questo è meglio che risponda Furieri, non vorrei dire strafalcioni, però
a quanto ne so in sqlite i tipi dati non sono definiti, è il provider che
si interfaccia con che decide come trattarli.
Ad esempio QGIS penso faccia uno scan dei dati al caricamento del layer
perché a seconda di quello che ci trova dentro assegna al campo il tipo
stringa/integer/real ecc..

2. come suggerisce sempre Furieri, mai usare SELECT * ma esplicitare sempre
> tutti i campi.
>

Se lo dice Alessandro per me è legge. Ho Cancellato il tasto * dalla
tastiera !
;-)


> grazie!!!
>
>
>
> -
> https://pigrecoinfinito.wordpress.com/
> --
> 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] Problema salvataggio-apertura Stili - DB Spatialite

2017-11-24 Thread Luca Lanteri
Penso che funzioni anche il più semplice

CREATE TABLE tabella_bk AS SELECT * FROM
tabella

a presto
Luca


Il giorno 24 novembre 2017 00:58, Luca Bellani <
lucabellani.arqueolo...@gmail.com> ha scritto:

> Grazie mille! io avevo trovato alla fine, una forma non stile codice per
> farla...salvavo il layer in formato GEPJSON, che mantiene tutte le
> caratteristiche. e questo nuovo file lo importo al SPATIALITE, e non ci
> sono
> problemi.
> Ma con il codice come fai tu pe molto mglio e corretto, Grazie, sei sempre
> gentile!
>
>
>
> --
> 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] prove di compilazione di qgis in debian testing

2017-10-03 Thread Luca Lanteri
sicuro di aver configurato correttamente la library_path? nel tuo caso
dovrebbe essere export LD_LIBRARY_PATH=$LD_LIBRARY_PA
TH:${HOME}/output/bin/qgis/lib/

ti conviene mettere tutto in uno script .sh insieme al comando per lanciare
qgis.



Il 03 Ott 2017 7:01 AM, "nformica"  ha scritto:

> ghtmtt wrote
> > mmm come lo lanci qgis?
> >
> > ./output/bin/qgis
> > ?
> > Matteo
>
> Matteo, comunque lo lancio mi da sempre l'errore di "segmentation fault".
>
> Vedi screenshot che allego.
> 
>
> Nino
>
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f52506
> 12.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] agganciare database vb ad qgis

2017-04-17 Thread Luca Lanteri
Ciao matteo.
Se vuoi integrare il tuo database in qgis ti conviene quasi sicuramente
passare ad un altra soluzione rispetto ad access: postgres/postgis o
sqlite/spatialite sono sicuramente i primi da valutare.
Utilizzerei gli odbc proprio solo come ultima risorsa o solo se per qualche
motivo non vuoi o puoi mettere le mani sul database access.
Ormai qgis ha tutto quello che ti può servire per gestire la parte di form.
L'unica cosa su cui potresti trovare ancora qualche limite è in parte la
reportistica.

Luca

Il 16 apr 2017 18:03, "girarsi"  ha scritto:

Il 16/04/2017 16:46, matteo.collimedag...@virgilio.it ha scritto:
> Buona Pasqua a tutti!!!
> Voglio agganciare un database realizzato trabite Visualbasic a Qgis.
> Avete idee a tal proposito, credo che per fare ciò lo si debba
> esportare da Visualbasic ad un altro linguaggio compatibile con Qgis. A
> quanto sembra questo software non supporta i database realizzati con
> access.
>
> Grazie,
>
> Matteo
>

Non ho idea se funziona comunque con Qgis versione 2, ho trovato questo
commento in inglese:

https://gis.stackexchange.com/a/73160


--
Simone Girardelli
_|_|_|_|_|_|_|_|_|_
|_|_|_|_|_|_|_|_|_|_|


___
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] QGIS - select in join (tabella in relazione)

2017-04-13 Thread Luca Lanteri
In effetti il link è una funzionalità che sul vecchio AV risultava molto
utile e di cui a volte ne sento anch'io la mancanza.
Penso che la prima cosa sia aprire una feature request ben descritta. Se di
interesse comune si potrebbe finanziare con una raccolta fondi ad hoc,
magari tramite il gruppo QGIS Italia.

a presto
Luca

Il giorno 13 aprile 2017 14:13, Totò Fiandaca 
ha scritto:

> il quesito è stato posto su 'thespatialcommunity.slack.com' e Nathan
> Woodrow (uno dei massimi esperti e sviluppatori QGIS) ha detto che NON è
> possibile farlo con QGIS.
>
> A mio avviso sarebbe una feature molto utile ma come accade spesso occorre
> raccogliere dei fonti per farla sviluppare.
> Io sono disposto a contribuire, ma da solo non posso farlo!!!
>
> saluti
>
> Il giorno 13 aprile 2017 13:51, AV  ha scritto:
>
>> /
>> Totò wrote
>> > NON è più possibile fare una selezione partendo dalla tabella lato n
>>
>> /
>>
>> Da come l'ho capita io, il problema di Toto' e' il seguente.
>>
>> Avendo 4 pali con attributi "armatura" da join:
>>
>> palo 1] armatura PIPPO
>> palo 2] armatura PLUTO
>> palo 3] armatura PIPPO e armatura PAPERINO
>> palo 4] armatura TOPOLINO
>>
>> lui vuole selezionare i pali 1,3 cercando il solo nome PIPPO.
>>
>> Se cosi' stanno le cose, francamente non saprei quale Gis sia in grado di
>> eseguire un simile filtro "a ritroso"...
>>
>>
>>
>> --
>> View this message in context: http://osgeo-org.1560.x6.nabbl
>> e.com/QGIS-select-in-join-tabella-in-relazione-tp5317093p5317190.html
>> Sent from the QGIS Italian User mailing list archive at Nabble.com.
>> ___
>> QGIS-it-user mailing list
>> QGIS-it-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>
>
>
>
> --
> *Salvatore Fiandaca*
> *mobile*.:+39 327.493.8955 <+39%20327%20493%208955>
> *m*: *pigrecoinfin...@gmail.com *
> *blog:** https://pigrecoinfinito.wordpress.com/
> *
>
> 43°51'0.54"N  10°34'27.62"E - EPSG:4326
>
> “Se la conoscenza deve essere aperta a tutti,
> perchè mai limitarne l’accesso?”
> R. Stallman
>
> ___
> 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-user] can't editing view using rules

2017-01-18 Thread Luca Lanteri
Hi Karl,

I've tried to run the same way but also my views are complex and I've a
huge number of view so it's a big deal to change all my views.
I think the issue should be considered a regression.
I've seen that the ticket was automatically assigned to Jurgen Fisher by
the system, I think as PostGIS Data Provider maintenancer.
I Hope to have some news.

Thanks
Luca

2017-01-18 9:11 GMT+01:00 Karl-Magnus Jönsson <
karl-magnus.jons...@kristianstad.se>:

> Hi again!
> I’ve made some more testing. By adding a RETURNING clause to the rule I
> succeeded to insert features. But since it appears that the RETURNING
> clause has to return all the attributes in the view and my view is complex
> and consists of attributes from several tables I couldn’t just add
> RETURNING * (It will just return the attributes from the table inserted
> into). I had to list all fields in right order, make some attributes up and
> cast them to the right data type. Like this:
>
>
>
> CREATE OR REPLACE RULE lekplatsredskap_ins AS
>
> ON INSERT TO park.v_lekplatsredskap DO INSTEAD  INSERT INTO
> park.skotselpunkt (kod, antal, inkopsar, fabrikat, nr, fritext, utforare,
> geom)
>
>   VALUES (new.kod, new.antal, new.inkopsar, new.fabrikat, new.nr,
> new.fritext, new.utforare, new.geom)
>
>   RETURNING skotselobj_id,1,kod, 'text'::character
> varying,1234,4567,'plkod'::text, antal, inkopsar, fabrikat, nr,
> fritext,utforare,'2017-01-18'::date,'b_resultat'::character
> varying,'status'::character varying,geom ;
>
>
>
> Please let me know if you find a way to solve this better or a way to turn
> this feature off in QGIS.
>
>
>
> *Karl-Magnus Jönsson*
>
>
>
> *Från:* Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *För *Karl-Magnus
> Jönsson
> *Skickat:* den 17 januari 2017 17:32
> *Till:* Luca Lanteri
>
> *Kopia:* qgis-user
> *Ämne:* Re: [Qgis-user] can't editing view using rules
>
>
>
> Could it be connected with the new feature to "execute expressions on the
> server side if possible"? Then you should get the new primay key from the
> database before you save edits so you can use it for childs in subforms etc.
>
> /Karl-Magnus
>
>
> 17 jan 2017 kl. 11:16 skrev Luca Lanteri <lklant...@gmail.com>:
>
> This is the postgres log [0]:
>
> In fact the 2.18 query add a RETURNING clause that is non present in QGIS
> 2.14
>
>
>
> I've just opened this ticket: http://hub.qgis.org/issues/16083
>
>
>
> Luca
>
>
>
> [0]
>
> With QGIS 2.18
>
> 2017-01-17 11:09:32 CET [25093]: [5-1] user=l_lanteri,db=sigeo,app=QGIS
> STATEMENT:  INSERT INTO "sicod"."v_dif_spon"("geom","
> oper_id","padr_id","sigla_rile","cod_opera","prog_opera"
> ,"localita","sponda","alt_min","alt_max","lung","tipologia",
> "efficienza","stato","mat_massi","mat_c_secc","mat_c_
> int","mat_a_secc","mat_a_int","mat_gabbio","mat_cls","mat_
> legna","i_manuten","i_nessuna","i_prolung","i_pulizia","i_
> ricostru","i_sottomur","i_svuotam","so_dissest","so_
> interra","so_scalzat","so_sifonat","data_rilev","note","
> utente_crea","data_crea","utente_mod","data_mod","fonte"
> ,"desc_fonte","font_elab","font_sopr","font_altro") VALUES
> (st_multi(st_geomfromwkb($1::bytea,32632)),$2,NULL,NULL,
> NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0',NULL,'
> 0',NULL,'0','0','0',NULL,'0','0','0','0','0','0','0','0','0'
> ,'0','0','2000-01-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
> RETURNING "oper_id"
>
>
>
> With QGIS 2.14
>
> 2017-01-17 11:12:01 CET [26026]: [3-1] user=l_lanteri,db=sigeo,app=QGIS
> LOG:  execute addfeatures: INSERT INTO "sicod"."v_dif_spon"("geom","
> oper_id","padr_id","sigla_rile","cod_opera","prog_opera"
> ,"localita","sponda","alt_min","alt_max","lung","tipologia",
> "efficienza","stato","mat_massi","mat_c_secc","mat_c_
> int","mat_a_secc","mat_a_int","mat_gabbio","mat_cls","mat_
> legna","i_manuten","i_nessuna","i_prolung","i_pulizia","i_
> ricostru","i_sottomur","

Re: [Qgis-user] can't editing view using rules

2017-01-17 Thread Luca Lanteri
This is the postgres log [0]:
In fact the 2.18 query add a RETURNING clause that is non present in QGIS
2.14

I've just opened this ticket: http://hub.qgis.org/issues/16083

Luca

[0]
With QGIS 2.18
2017-01-17 11:09:32 CET [25093]: [5-1] user=l_lanteri,db=sigeo,app=QGIS
STATEMENT:  INSERT INTO
"sicod"."v_dif_spon"("geom","oper_id","padr_id","sigla_rile","cod_opera","prog_opera","localita","sponda","alt_min","alt_max","lung","tipologia","efficienza","stato","mat_massi","mat_c_secc","mat_c_int","mat_a_secc","mat_a_int","mat_gabbio","mat_cls","mat_legna","i_manuten","i_nessuna","i_prolung","i_pulizia","i_ricostru","i_sottomur","i_svuotam","so_dissest","so_interra","so_scalzat","so_sifonat","data_rilev","note","utente_crea","data_crea","utente_mod","data_mod","fonte","desc_fonte","font_elab","font_sopr","font_altro")
VALUES
(st_multi(st_geomfromwkb($1::bytea,32632)),$2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0',NULL,'0',NULL,'0','0','0',NULL,'0','0','0','0','0','0','0','0','0','0','0','2000-01-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
RETURNING "oper_id"

With QGIS 2.14
2017-01-17 11:12:01 CET [26026]: [3-1] user=l_lanteri,db=sigeo,app=QGIS
LOG:  execute addfeatures: INSERT INTO
"sicod"."v_dif_spon"("geom","oper_id","padr_id","sigla_rile","cod_opera","prog_opera","localita","sponda","alt_min","alt_max","lung","tipologia","efficienza","stato","mat_massi","mat_c_secc","mat_c_int","mat_a_secc","mat_a_int","mat_gabbio","mat_cls","mat_legna","i_manuten","i_nessuna","i_prolung","i_pulizia","i_ricostru","i_sottomur","i_svuotam","so_dissest","so_interra","so_scalzat","so_sifonat","data_rilev","note","utente_crea","data_crea","utente_mod","data_mod","fonte","desc_fonte","font_elab","font_sopr","font_altro")
VALUES
(st_multi(st_geomfromwkb($1::bytea,32632)),$2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0',NULL,'0',NULL,'0','0','0',NULL,'0','0','0','0','0','0','0','0','0','0','0','2000-01-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)


2017-01-17 10:41 GMT+01:00 Karl-Magnus Jönsson <
karl-magnus.jons...@kristianstad.se>:

> Hi!
>
> Ok. When I try another view with an INSERT rule I have the same problem in
> 2.18.2. Works in 2.14. UPDATE and DELETE are ok as well. Can we check the
> resulting SQL from QGIS? Must be some difference there. I don’t know if we
> can turn on logging on our database.
>
>
>
> *Karl-Magnus Jönsson*
>
>
>
> *Från:* mesca...@gmail.com [mailto:mesca...@gmail.com] *För *Luca Lanteri
> *Skickat:* den 16 januari 2017 14:44
> *Till:* Karl-Magnus Jönsson
> *Kopia:* qgis-user
> *Ämne:* Re: [Qgis-user] can't editing view using rules
>
>
>
> Hi Magnus, thanks for the answer.
>
>
>
> I think my rules are ok also because they work fine with QGIS 2.14.
>
> The strange things is that the error say about an "INSERT RETURNING" when
> I don't need any RETURING clause.
>
> The problem happens only with INSERT rules. UPDATE and DELETE are ok.
>
>
>
>
>
> this is my INSERT rule:
>
>
>
> CREATE OR REPLACE RULE dif_spon_insert AS
>
> ON INSERT TO sicod.v_dif_spon DO INSTEAD  INSERT INTO sicod.dif_spon
> (padr_id, sigla_rile, prog_opera, localita, sponda, alt_min, alt_max, lung,
> tipologia, efficienza, stato, mat_massi, mat_c_secc, mat_c_int, mat_a_secc,
> mat_a_int, mat_gabbio, mat_cls, mat_legna, i_manuten, i_nessuna, i_prolung,
> i_pulizia, i_ricostru, i_sottomur, i_svuotam, so_dissest, so_interra,
> so_scalzat, so_sifonat, note, data_rilev, desc_fonte, font_elab, font_sopr,
> font_altro, geom)
>
>   VALUES (new.padr_id, new.sigla_rile, new.prog_opera, new.localita,
> new.sponda, new.alt_min, new.alt_max, new.lung, new.tipologia,
> new.efficienza, new.stato, new.mat_massi, new.mat_c_secc, new.mat_c_int,
> new.mat_a_secc, new.mat_a_int, new.mat_gabbio, new.mat_cls, new.mat_legna,
> new.i_manuten, new.i_nessuna, new.i_prolung, new.i_pulizia, new.i

Re: [QGIS-it-user] Problemi editing viste con regole

2017-01-16 Thread Luca Lanteri
Specifico che a quanto pare le regole su UPDATE e DELETE funzionano
correttamente, il problema è solo sulle INSERT.
La cosa strana e che l'errore parla di INSERT RETURNING e non di INSERT. Io
non uso nessuna clausola RETURNING nelle mie viste e tanto meno riesco a
crearla.

Vorrei avere una conferma o meno per capire se aprire un ticket.

Grazie mille
Luca

ps questa è la regola sulla vista:

CREATE OR REPLACE RULE dif_spon_insert AS
ON INSERT TO sicod.v_dif_spon DO INSTEAD  INSERT INTO sicod.dif_spon
(padr_id, sigla_rile, prog_opera, localita, sponda, alt_min, alt_max, lung,
tipologia, efficienza, stato, mat_massi, mat_c_secc, mat_c_int, mat_a_secc,
mat_a_int, mat_gabbio, mat_cls, mat_legna, i_manuten, i_nessuna, i_prolung,
i_pulizia, i_ricostru, i_sottomur, i_svuotam, so_dissest, so_interra,
so_scalzat, so_sifonat, note, data_rilev, desc_fonte, font_elab, font_sopr,
font_altro, geom)
  VALUES (new.padr_id, new.sigla_rile, new.prog_opera, new.localita,
new.sponda, new.alt_min, new.alt_max, new.lung, new.tipologia,
new.efficienza, new.stato, new.mat_massi, new.mat_c_secc, new.mat_c_int,
new.mat_a_secc, new.mat_a_int, new.mat_gabbio, new.mat_cls, new.mat_legna,
new.i_manuten, new.i_nessuna, new.i_prolung, new.i_pulizia, new.i_ricostru,
new.i_sottomur, new.i_svuotam, new.so_dissest, new.so_interra,
new.so_scalzat, new.so_sifonat, new.note, new.data_rilev, new.desc_fonte,
new.font_elab, new.font_sopr, new.font_altro, new.geom);


Il giorno 13 gennaio 2017 16:34, Luca Lanteri <lklant...@gmail.com> ha
scritto:

> Ciao a tutti,
>
> a patire dalla versione 2.16 non riesco più ad editare viste postgres
> tramite regole.
> Lo stesso layer che con la versione 2.14 edito senza problemi, dalla 2.16
> mi fa questo errore [0], come se la regola non esistesse.
>
> Qualcuno si è già imbattuto nello stesso problema o ha la possibilità di
> verificare ?
> Grazie mille
> Luca
>
>
> [0]
>
> Impossibile applicare le modifiche al vettore v_frane_pol_full
>
>
> Errori: ERRORE: 1 geometria non aggiunta.
>
> Errori della sorgente dati:
>
> Errore PostGIS nell'aggiunta delle geometrie: ERROR: cannot perform INSERT
> RETURNING on relation "v_frane_pol_full"
>
> HINT: You need an unconditional ON INSERT DO INSTEAD rule with a RETURNING
> clause.
>
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] can't editing view using rules

2017-01-16 Thread Luca Lanteri
Hi Magnus, thanks for the answer.

I think my rules are ok also because they work fine with QGIS 2.14.
The strange things is that the error say about an "INSERT RETURNING" when I
don't need any RETURING clause.
The problem happens only with INSERT rules. UPDATE and DELETE are ok.


this is my INSERT rule:

CREATE OR REPLACE RULE dif_spon_insert AS
ON INSERT TO sicod.v_dif_spon DO INSTEAD  INSERT INTO sicod.dif_spon
(padr_id, sigla_rile, prog_opera, localita, sponda, alt_min, alt_max, lung,
tipologia, efficienza, stato, mat_massi, mat_c_secc, mat_c_int, mat_a_secc,
mat_a_int, mat_gabbio, mat_cls, mat_legna, i_manuten, i_nessuna, i_prolung,
i_pulizia, i_ricostru, i_sottomur, i_svuotam, so_dissest, so_interra,
so_scalzat, so_sifonat, note, data_rilev, desc_fonte, font_elab, font_sopr,
font_altro, geom)
  VALUES (new.padr_id, new.sigla_rile, new.prog_opera, new.localita,
new.sponda, new.alt_min, new.alt_max, new.lung, new.tipologia,
new.efficienza, new.stato, new.mat_massi, new.mat_c_secc, new.mat_c_int,
new.mat_a_secc, new.mat_a_int, new.mat_gabbio, new.mat_cls, new.mat_legna,
new.i_manuten, new.i_nessuna, new.i_prolung, new.i_pulizia, new.i_ricostru,
new.i_sottomur, new.i_svuotam, new.so_dissest, new.so_interra,
new.so_scalzat, new.so_sifonat, new.note, new.data_rilev, new.desc_fonte,
new.font_elab, new.font_sopr, new.font_altro, new.geom);



2017-01-16 7:56 GMT+01:00 Karl-Magnus Jönsson <
karl-magnus.jons...@kristianstad.se>:

> Hi!
>
> Are you sure it isn’t an issue with the view? I have a view with rules and
> it work in 2.18. When you have conditions in the rule you must have another
> rule on the same event that is unconditional. Check the last paragraph in
> the description : https://www.postgresql.org/docs/current/static/sql-
> createrule.html
>
>
>
> In my case I have a unconditional rule that does nothing:
>
>
>
> CREATE OR REPLACE RULE v_prislistor_upd_ins AS
>
> ON UPDATE TO park.v_prislistor
>
>WHERE old.id IS NULL DO INSTEAD  INSERT INTO park.priser (kod, pris,
> utforare)
>
>   VALUES (new.kod, new.pris, new.utforare);
>
>
>
> CREATE OR REPLACE RULE v_prislistor_upd_nothing AS
>
> ON UPDATE TO park.v_prislistor DO INSTEAD NOTHING;
>
>
>
> CREATE OR REPLACE RULE v_prislistor_upd_upd AS
>
> ON UPDATE TO park.v_prislistor
>
>WHERE old.id IS NOT NULL DO INSTEAD  UPDATE park.priser SET pris =
> new.pris
>
>   WHERE priser.id = old.id;
>
>
>
> *Karl-Magnus Jönsson*
>
>
>
> *Från:* Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *För *Luca
> Lanteri
> *Skickat:* den 13 januari 2017 16:39
> *Till:* qgis-user
> *Ämne:* [Qgis-user] can't editing view using rules
>
>
>
> Hi to all,
>
>
>
> starting fron QIS 2.16 I can't edit anymore postgres views with rules.
> When I try to insert a new feature I have this error [0]. All works fine
> with QGIS 2.14
>
>
>
> Can anyone confirm the issue ?
>
> Thanks
>
>
>
> Luca
>
>
>
> [0]
>
> Impossibile applicare le modifiche al vettore v_frane_pol_full
>
>
>
> Errori: ERRORE: 1 geometria non aggiunta.
>
> Errori della sorgente dati:
>
> Errore PostGIS nell'aggiunta delle geometrie: ERROR: cannot perform INSERT
> RETURNING on relation "v_frane_pol_full"
>
> HINT: You need an unconditional ON INSERT DO INSTEAD rule with a RETURNING
> clause.
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] can't editing view using rules

2017-01-13 Thread Luca Lanteri
Hi to all,

starting fron QIS 2.16 I can't edit anymore postgres views with rules. When
I try to insert a new feature I have this error [0]. All works fine with
QGIS 2.14

Can anyone confirm the issue ?
Thanks

Luca

[0]

Impossibile applicare le modifiche al vettore v_frane_pol_full


Errori: ERRORE: 1 geometria non aggiunta.

Errori della sorgente dati:

Errore PostGIS nell'aggiunta delle geometrie: ERROR: cannot perform INSERT
RETURNING on relation "v_frane_pol_full"

HINT: You need an unconditional ON INSERT DO INSTEAD rule with a RETURNING
clause.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[QGIS-it-user] Problemi editing viste con regole

2017-01-13 Thread Luca Lanteri
Ciao a tutti,

a patire dalla versione 2.16 non riesco più ad editare viste postgres
tramite regole.
Lo stesso layer che con la versione 2.14 edito senza problemi, dalla 2.16
mi fa questo errore [0], come se la regola non esistesse.

Qualcuno si è già imbattuto nello stesso problema o ha la possibilità di
verificare ?
Grazie mille
Luca


[0]

Impossibile applicare le modifiche al vettore v_frane_pol_full


Errori: ERRORE: 1 geometria non aggiunta.

Errori della sorgente dati:

Errore PostGIS nell'aggiunta delle geometrie: ERROR: cannot perform INSERT
RETURNING on relation "v_frane_pol_full"

HINT: You need an unconditional ON INSERT DO INSTEAD rule with a RETURNING
clause.
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Collette pubbliche per QGIS: dite la vostra

2016-09-30 Thread Luca Lanteri
messaggio delle ore 10:36, alle 17:48 si decreta già che non interessa a
molti.
Forse è ora di tornare ai tempi delle lettere con il francobollo, avevano
tempi più umani !
;-)

cmq se si tratta di raccogliere risorse a me pare una cosa lodevole e
interessante.
grazie nino

Luca


Il giorno 30 settembre 2016 17:48, nino formica  ha
scritto:

> Visto che nessun altro è intervenuto, non mi pare che l'idea interessi
> molto !
>
> Allora che si fa ?
>
> Nino
>
> Il 30 set 2016 11:32 AM, "Totò"  ha scritto:
>
> nformica wrote
> > Per me va bene, sono disponibile.
> > Ma mi piacerebbe conoscere anche il parere di altri che frequentano
> > questa lista.
> >  vediamo cosa pensano !?
>
> Ottima idea, ottimo esempio quella di OSM,
> io sono a disposizione per pubblicizzarlo nei vari social.
>
> dai, dai dai
>
> saluti
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabbl
> e.com/Collette-pubbliche-per-QGIS-dite-la-vostra-tp5284170p5288682.html
> Sent from the QGIS Italian User mailing list archive at Nabble.com.
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
>
>
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Ordina colonna Legenda

2016-09-29 Thread Luca Lanteri
Ciao Marco,

la soluzione che proponi si chiama software commerciale. Il bello dello
sviluppo open è proprio che se qualcuno mettesse in atto questa soluzione
sarebbe relativamente facile eliminarlo !
La soluzione a mio avviso passa invece dalla sensibilizzazione delle
pubbliche amministrazioni e dei privati, che devono capire che trarrebbero
solo vantaggio dal finanziamento del software Open.
D'altronde in molte altre nazioni (non nella nostra purtroppo) gli
sviluppatori campando dignitosamente per lo sviluppo open, anche da Enti
pubblici.
Forse è il momento che anche da noi si inizi a utilizzarequesto modello.
Amedeo aveva iniziato a lavorare per preparare una sorta di "bollino" per
le aziende che contribuiscono allo sviluppo, non so a che punto stia il suo
lavoro.

A presto
Luca

Il giorno 28 settembre 2016 19:16, Marco Spaziani 
ha scritto:

> Ciò che andrò a dire potrebbe essere frainteso e allora qualcuno potrebbe
> arrabbiarsi, ne sono convinto.
> Ma spero che teniate conto che chi vi scrive è proprio un impiegato di una
> P.A. che ogni giorno usa QGIS per il proprio Ente facendogli risparmiare
> tempo e denaro (e producendo elaborati di qualità) e quindi, spero, mi
> riconoscerete di essere al di fuori di ogni "sospetto" che possa far
> fraintendere le mie proposte.
> Provo ora a sintetizzare al massimo il mio pensiero, prima di andarmene
> dall'Ufficio, così "mi libero" e non ci torno più sopra.
> 1) Centinaia di Enti locali come il mio, decine di Regioni, decine di
> Agenzie ambientali, svariate Università, ecc. usano QGIS (e altri software
> OS, tipo GRASS, Libre Office, GIMP, Firefox, ecc.) per le loro attività
> d'ufficio, con risparmi complessivi di centinaia e centinaia di migliaia di
> euro senza perdere di qualità nella documentazione prodotta ...anzi!
> 2) Questi stessi Enti da un lato non cacciano un centesimo per sostenere
> lo sviluppo del software O.S. che usano e, dall'altro, sperperano centinaia
> di migliaia di euro in iniziative scandalose (sagra della cipolla, convegni
> scientifici sulla tanatocenosi degli insetti che si spiaccicano sul
> parabrezza dell'auto andando sull'autostrada da Roma a Napoli, ecc...)
> Detto questo, darei un braccio per consentire ad uno studente
> universitario, ad un biologo del centro africa, ad una associazione no
> profit, ecc. di continuare ad usufruire liberamente e pienamente del
> software O.S. ma, ...è più forte di me, ...non ci posso fare niente,
> ...ritengo ingiusto che un Ente pubblico, un ingegnere con studio in Via
> del Corso a Roma, una società privata, ecc. usino il software O.S.
> ricavandone ricchezza senza dare in cambio nulla, neanche un centesimo,
> alle decine di "santi" che volontariamente sostengono e sviluppano questi
> softaware liberi.
> Stando così le cose non ci troverei nulla di scandaloso che QGIS, perdendo
> la sua innata e naturale innocenza, si facesse un po più malizioso rendendo
> le cose meno facili agli egoisti che popolano questo pianeta.
> Come fare ciò senza infrangere i principi dell'O.S.?
> Semplice.
> Basterebbe che QGIS, al momento della "materializzazione" delle sue
> elaborazioni (ossia al momento della stampa su carta o su PDF) si mostrasse
> agli utenti con una indelebile filigrana o con una indelebile scritta su
> tutti e quattro i bordi del foglio, del tipo "*Documento elaborato con
> QGIS. Sostieni anche tu il software O.S. donando 10 euro*".
> Ovviamente ai donatori dei 10 euro verrà immediatamente inviata a mezzo
> email un programmino per cancellare definitivamente, dal core del
> programma, il comando che impone questa scritta sulle stampe, mentre chi
> non contribuisce alla "causa" con la donazione, può continuare ad usare
> liberamente QGIS ma, su ogni stampa, cartacea o PDF, dovrà sopportare di
> vedere la scritta ammonitrice di cui sopra.
> Ora, se a uno studente universitario, ad un biologo del centro africa, ad
> una associazione no profit, ritrovarsi le stampe con questa scritta "non
> gli può fregare di meno" perchè le usano essenzialmente per scopi non
> commerciali, vi assicuro che invece all'Ente pubblico, all'ingegnere con
> studio in Via del Corso a Roma, alla società privata ecc... questa cosa
> della scritta gli darebbe molto ma mlto fastidio e, prima o poi, vi
> assicuro che, obtorto collo, si infileranno le mani in tasca per cacciare i
> 10 euro e finanziare lo sviluppo di QGIS.
> Saluti a tutti e non vi arrabbiate ;-)
>
>
>
>
>
> Il giorno 28 settembre 2016 18:13, Paolo Cavallini 
> ha scritto:
>
>> Salve,
>>
>> Il 28/09/2016 15:16, Marco Spaziani ha scritto:
>>
>> > Forse i puristi dell'Open Source si incazzeranno per quello che dirò, ma
>> > personalmente sono stufo di vedere Pubbliche Amministrazioni che buttano
>> > migliaia di euro per la "sagra della cipolla" e neanche un centesimo per
>> > il crowdfounding destinato agli sviluppatori del software OS, malgrado
>> > poi queste stesse P.A. usino questi software ogni 

Re: [QGIS-it-user] (senza oggetto)

2016-09-13 Thread Luca Lanteri
Ciao Matteo,
Benvenuto.

altra possibilità e che tu abbia settato come opzione "Quando si carica un
layer senza SR: usa SR predefinito".
In quel caso un raster senza CR ti viene caricato con il SR da te indicato
senza ulteriori prompt. Questa non è comunque la configuazione di default
di QGIS, devi averla modificata tu precedentemente.

a presto
Luca


Il giorno 13 settembre 2016 16:14, Roberto Marzocchi <
roberto.marzoc...@gter.it> ha scritto:

> Se QGIS propone le mappe in UTM WGS 1984 vuol dire che sono state
> erroneamente salvate così da qualcuno...  In ogni caso puoi selezionare il
> layer e col tasto destro del mouse cliccare su imposta il SR del layer per
> modificarlo...
>
> Occhio però che sia effettivamente questo quello che devi fare, ma questo
> lo puoi sapere solo tu (o il proprietario del dato) e non QGIS!
>
> R
>
>
> --
> Eng. Roberto Marzocchi, PhD
> GIS Project Coordinator
> Gter srl Innovazione in Geomatica, Gnss e Gis (Unige spin-off)
> Piazza De Marini 3/61 - 16123 Genova
> P.IVA/CF 01998770992
> ph: 010-8694830 - mob: 349-8786575
> E-mail: roberto.marzoc...@gter.it
> skype: roberto.marzocchi84www.gter.it
>
> --
> Gter socialwww.twitter.com/Gteronline - www.facebook.com/Gteronline - 
> https://plus.google.com/+GterIt/posts 
> www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis
>
> -
> Please consider the environment before printing this email!
>
>
> Il 13/09/2016 16:00, matteo.collimedag...@virgilio.it ha scritto:
>
> Buongiorno,
> ho il seguente problema:
> voglio trasformare delle carte del Veneto da ROMA MONTE MARIO 1940 a UTM
> WGS 1984.
>
> Il problema è che QGIS imposta automaticamente le coordinate geografiche
> in UTM WGS84 senza chiedere, come fa di solito, in che sistema di
> coordinate voglio il raster.
> Fin qua andrebbe apparentemente tutto bene non fosse per il fatto che
> quando si mette il layer dei comuni in trasparenza per cercare la cittadina
> in questione si nota che la carta non c'è.
>
> Matteo
>
>
>
>
> ___
> QGIS-it-user mailing 
> listQGIS-it-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
>
>
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] Geological Symbols

2016-01-30 Thread Luca Lanteri
you can find some other geological symbol here.

https://github.com/GISsimbology/symbols

Feel free to contribute if you find some other nice symbols.
Luca
Regards

2016-01-29 9:48 GMT+01:00 Grant Boxer :

> I am seeking a set of geological symbols to annotate geological maps. I
> have found some svg files from the USGS but there does not seem to be
> simple dip and strike, or other basic geological mapping symbols. Can
> anyone point me in the right direction here? I assume I am looking for svg
> files?
>
>
>
> Grant Boxer
>
> Consultant Geologist (*FAIG R.P. Geo*)
>
> Perth, Western Australia
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Copy field definitions from one vector layer to another?

2015-10-22 Thread Luca Lanteri
ok, you are right.

You can import your shapfiles into spatialite using dbmanager, then copy
the definitions of the first layer, add column to the other layer and then
export to shapefile.

Luca


2015-10-22 5:17 GMT+02:00 Richard Males <rbma...@gmail.com>:

> The join works without a common field of any kind, which is what I wanted,
> but unfortunately the field names get prefixed with the join layer.   When
> I export as shape file from the joined layer, I get field names like
> 'exported', 'exported_1', etc.   So I don't think the join will work, since
> what I want to do is preserve field names, just copying them from one layer
> to another.
>
> Maybe some other approach?   I was hoping for an existing plug-in, but
> have not found anything in the repository.   Maybe a python script to
> export field names from existing layer?  I will explore that approach,
> although I am not very familiar with python scripting for QGIS, see if I
> can get started.
>
> Thanks.
>
>
>
> On Tue, Oct 20, 2015 at 2:21 AM, Luca Lanteri <mesca...@gmail.com> wrote:
>
>> why do you need the same geometry type in order to make a join ?
>> You just need one common field.
>>
>> Luca
>>
>> 2015-10-19 21:44 GMT+02:00 Joris Hintjens <joris...@gmail.com>:
>>
>>> I’d try “join layers” if they are the same geometry type
>>>
>>> Joris
>>>
>>> Op 17-okt.-2015, om 11:40 heeft Luca Lanteri <mesca...@gmail.com> het
>>> volgende geschreven:
>>>
>>> You can make a join and then save as layer
>>> I have been looking for a capability (plugin or native QGIS) that will
>>> easily copy the field definitions (not the attribute data) from one layer
>>> to another layer.   To date I have not found it, I may be missing something
>>> obvious.  Any help/advice much appreciated.
>>>
>>> I have a layer with a bunch of fields already defined, and another layer
>>> with geometry but no additional fields.   I would like to add the field
>>> definitions from the first layer to the second layer, and then populate
>>> with the appropriate data for that layer.
>>>
>>> Thanks.
>>>
>>> Dick Males
>>> Cincinnati, Ohio, USA
>>>
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>>
>>>
>>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Copy field definitions from one vector layer to another?

2015-10-20 Thread Luca Lanteri
why do you need the same geometry type in order to make a join ?
You just need one common field.

Luca

2015-10-19 21:44 GMT+02:00 Joris Hintjens <joris...@gmail.com>:

> I’d try “join layers” if they are the same geometry type
>
> Joris
>
> Op 17-okt.-2015, om 11:40 heeft Luca Lanteri <mesca...@gmail.com> het
> volgende geschreven:
>
> You can make a join and then save as layer
> I have been looking for a capability (plugin or native QGIS) that will
> easily copy the field definitions (not the attribute data) from one layer
> to another layer.   To date I have not found it, I may be missing something
> obvious.  Any help/advice much appreciated.
>
> I have a layer with a bunch of fields already defined, and another layer
> with geometry but no additional fields.   I would like to add the field
> definitions from the first layer to the second layer, and then populate
> with the appropriate data for that layer.
>
> Thanks.
>
> Dick Males
> Cincinnati, Ohio, USA
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Copy field definitions from one vector layer to another?

2015-10-17 Thread Luca Lanteri
You can make a join and then save as layer
I have been looking for a capability (plugin or native QGIS) that will
easily copy the field definitions (not the attribute data) from one layer
to another layer.   To date I have not found it, I may be missing something
obvious.  Any help/advice much appreciated.

I have a layer with a bunch of fields already defined, and another layer
with geometry but no additional fields.   I would like to add the field
definitions from the first layer to the second layer, and then populate
with the appropriate data for that layer.

Thanks.

Dick Males
Cincinnati, Ohio, USA

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] custo module in python console

2015-10-07 Thread Luca Lanteri
Hi,

I try to load a custom module in qgis python console but without success.
I don't understand what I miss.

I put my python module into project folder (file is named test.py)

the module contain a function like this;
def pr():
print("hello")

when from Python console I've imported the module with "import test" I
didn' have any error and qgis find the module but I can't access to my
custom functions.

any hints ?
Thank in advance

Luca
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS - value relation widget

2015-10-02 Thread Luca Lanteri
I continue my work and I discover another problem.I have a 3 level nested
form (granparent-parent and child).
If I don't use global variables when I select a record in child to parent
and then one in parent, QGIS raise an error:

Traceback (most recent call last):
  File
"E:/lavori/Progetti_PIE/Convenzione_SISMICA/NomeComune_RP_v2.1.3_alpha1\indaginipun.py",
line 42, in
LedQtop.textChanged.connect(lambda: validaQuota(LedQtop))
NameError: free variable 'LedQtop' referenced before assignment in
enclosing scope

to avoid this error I have to declare some variable in my parent form but
then I have a minidump error when insert new records.

I'm in a "cul de sac". To hard for my weak python knowledge

thanks for all
Luca


2015-10-02 10:57 GMT+02:00 Luca Lanteri <lklant...@gmail.com>:

> Great Matthias,
>
> I remove all global variables and now it work fine !
>
> It remain just one problem, I add some code [0] connected with a button to
> insert a filename in a field.
> If use the button from single form all works fine but when I use it in
> from the parent-child form the code start  lot of times (it seems one time
> for every record in the table).
>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS - value relation widget

2015-10-02 Thread Luca Lanteri
Great Matthias,

I remove all global variables and now it work fine !

It remain just one problem, I add some code [0] connected with a button to
insert a filename in a field.
If use the button from single form all works fine but when I use it in from
the parent-child form the code start  lot of times (it seems one time for
every record in the table).

[0]
def apriFile(QLine):
fileName=QLine.text()
try:
if os.path.isfile(fileName):

os.startfile(fileName)
else:
msgBox = QMessageBox()
msgBox.setText("Il file non esiste.")
msgBox.exec_()
except:
msgBox = QMessageBox()
msgBox.setText("Non riesco ad aprire il file.")
msgBox.exec_()

Thanks a lot and let me know how to send your beer.
;-)


2015-10-02 9:24 GMT+02:00 Matthias Kuhn <matth...@opengis.ch>:

> Hi Luca
>
> Would this core functionality of QGIS be an option for you?
>
>
> https://www.qgis.org/en/site/forusers/visualchangelog210/index.html#feature-filter-chaining-for-relation-reference-widget
>
> If you are still required to use python in your forms: are you using
> global variables? They can be an issue for embedded forms.
>
> Cheers,
> Matthias
>
>
> On 10/02/2015 09:09 AM, Luca Lanteri wrote:
>
> Sadly, after further test I discover that the crashes remain, so I think
> it is a qgis bug and not a problem in my code.
> The problem happens when I put my custom form into a subform widget
> (QgsRelationEditorWidget). If I add a new record in the subform and I move
> to another record using the left column QGIS crashes. It seems to be a more
> general problem because the crash appears also when I add some simple
> control that modify the object in the form.
>
> I can open a ticket and add some test data.
> If it is a minor bug and it could be resolved easily I really offer a
> pizza and a beer to resolve it.
>
> All the best
> Luca
>
>
> 2015-10-01 23:53 GMT+02:00 Luca Lanteri <mesca...@gmail.com>:
>
>> Hi,
>>
>> now I'm already using the python logic but my code is terrible and I have
>> a lot of crash problem.
>> Now that I using your example all is easier and seem to worsk fine.
>>
>> I owe you one beer.
>> Many many tanks !
>>
>> Luca
>>
>>
>> 2015-10-01 22:23 GMT+02:00 Blumentrath, Stefan <
>> <stefan.blumentr...@nina.no>stefan.blumentr...@nina.no>:
>>
>>> Hi Luca,
>>>
>>>
>>>
>>> Sounds like a case for Python logic!
>>>
>>> General principles are explained here:
>>>
>>>
>>> http://nathanw.net/2011/09/05/qgis-tips-custom-feature-forms-with-python-logic/
>>>
>>>
>>>
>>> Also nice, and probably exactly what you are looking for:
>>>
>>> http://medspx.fr/blog/Qgis/cascade_forms/
>>>
>>>
>>>
>>> Cheers
>>>
>>> Stefan
>>>
>>>
>>>
>>> *From:* qgis-user-boun...@lists.osgeo.org [mailto:
>>> qgis-user-boun...@lists.osgeo.org] *On Behalf Of *Luca Lanteri
>>> *Sent:* 1. oktober 2015 22:07
>>> *To:* qgis-user < <Qgis-user@lists.osgeo.org>Qgis-user@lists.osgeo.org>
>>> *Subject:* [Qgis-user] QGIS - value relation widget
>>>
>>>
>>>
>>> Hi to all,
>>>
>>> I need to build a form when the value of a combo are filtered basing on
>>> the value of anoter combobox.
>>> I have a first combo where I choose the region and a second with the
>>> municipalities.
>>> I need that the second combo shows only the municipalities of the
>>> choosed region.
>>> I tried to use use the widget "relationship value" with the a filter
>>> like classe_munic = attribute($currentfeature, 'classe_munic') without any
>>> success.
>>>
>>> Has anyone ever done something similar?
>>> Thank in advance
>>>
>>>
>>> Luca
>>>
>>
>>
>
>
> ___
> Qgis-user mailing 
> listQgis-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS master - python in custom forms

2015-10-02 Thread Luca Lanteri
It's my local problem with python,

sorry for the noise.
Luca


2015-10-02 20:34 GMT+02:00 Luca Lanteri <lklant...@gmail.com>:

> sorry, I send the message too soon.
>
> On QGIS 2.11-master seems that pyhton in custom form is totally ignored.
> Tested on linux mint.
> Anyone can confirm or is only my local problem ?
>
> Cheers
> Luca
>
>
> 2015-10-02 20:31 GMT+02:00 Luca Lanteri <lklant...@gmail.com>:
>
>> it seems that pyhton in custom form is totally ignored
>>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS master - python in custom forms

2015-10-02 Thread Luca Lanteri
sorry, I send the message too soon.

On QGIS 2.11-master seems that pyhton in custom form is totally ignored.
Tested on linux mint.
Anyone can confirm or is only my local problem ?

Cheers
Luca


2015-10-02 20:31 GMT+02:00 Luca Lanteri <lklant...@gmail.com>:

> it seems that pyhton in custom form is totally ignored
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS master - python in custom forms

2015-10-02 Thread Luca Lanteri
it seems that pyhton in custom form is totally ignored
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS - value relation widget

2015-10-02 Thread Luca Lanteri
Sadly, after further test I discover that the crashes remain, so I think it
is a qgis bug and not a problem in my code.
The problem happens when I put my custom form into a subform widget
(QgsRelationEditorWidget). If I add a new record in the subform and I move
to another record using the left column QGIS crashes. It seems to be a more
general problem because the crash appears also when I add some simple
control that modify the object in the form.

I can open a ticket and add some test data.
If it is a minor bug and it could be resolved easily I really offer a pizza
and a beer to resolve it.

All the best
Luca


2015-10-01 23:53 GMT+02:00 Luca Lanteri <mesca...@gmail.com>:

> Hi,
>
> now I'm already using the python logic but my code is terrible and I have
> a lot of crash problem.
> Now that I using your example all is easier and seem to worsk fine.
>
> I owe you one beer.
> Many many tanks !
>
> Luca
>
>
> 2015-10-01 22:23 GMT+02:00 Blumentrath, Stefan <stefan.blumentr...@nina.no
> >:
>
>> Hi Luca,
>>
>>
>>
>> Sounds like a case for Python logic!
>>
>> General principles are explained here:
>>
>>
>> http://nathanw.net/2011/09/05/qgis-tips-custom-feature-forms-with-python-logic/
>>
>>
>>
>> Also nice, and probably exactly what you are looking for:
>>
>> http://medspx.fr/blog/Qgis/cascade_forms/
>>
>>
>>
>> Cheers
>>
>> Stefan
>>
>>
>>
>> *From:* qgis-user-boun...@lists.osgeo.org [mailto:
>> qgis-user-boun...@lists.osgeo.org] *On Behalf Of *Luca Lanteri
>> *Sent:* 1. oktober 2015 22:07
>> *To:* qgis-user <Qgis-user@lists.osgeo.org>
>> *Subject:* [Qgis-user] QGIS - value relation widget
>>
>>
>>
>> Hi to all,
>>
>> I need to build a form when the value of a combo are filtered basing on
>> the value of anoter combobox.
>> I have a first combo where I choose the region and a second with the
>> municipalities.
>> I need that the second combo shows only the municipalities of the choosed
>> region.
>> I tried to use use the widget "relationship value" with the a filter like
>> classe_munic = attribute($currentfeature, 'classe_munic') without any
>> success.
>>
>> Has anyone ever done something similar?
>> Thank in advance
>>
>>
>> Luca
>>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS - value relation widget

2015-10-01 Thread Luca Lanteri
Hi to all,

I need to build a form when the value of a combo are filtered basing on the
value of anoter combobox.
I have a first combo where I choose the region and a second with the
municipalities.
I need that the second combo shows only the municipalities of the choosed
region.
I tried to use use the widget "relationship value" with the a filter like
classe_munic = attribute($currentfeature, 'classe_munic') without any success.


Has anyone ever done something similar?
Thank in advance

Luca
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS - value relation widget

2015-10-01 Thread Luca Lanteri
Hi,

now I'm already using the python logic but my code is terrible and I have a
lot of crash problem.
Now that I using your example all is easier and seem to worsk fine.

I owe you one beer.
Many many tanks !

Luca


2015-10-01 22:23 GMT+02:00 Blumentrath, Stefan <stefan.blumentr...@nina.no>:

> Hi Luca,
>
>
>
> Sounds like a case for Python logic!
>
> General principles are explained here:
>
>
> http://nathanw.net/2011/09/05/qgis-tips-custom-feature-forms-with-python-logic/
>
>
>
> Also nice, and probably exactly what you are looking for:
>
> http://medspx.fr/blog/Qgis/cascade_forms/
>
>
>
> Cheers
>
> Stefan
>
>
>
> *From:* qgis-user-boun...@lists.osgeo.org [mailto:
> qgis-user-boun...@lists.osgeo.org] *On Behalf Of *Luca Lanteri
> *Sent:* 1. oktober 2015 22:07
> *To:* qgis-user <Qgis-user@lists.osgeo.org>
> *Subject:* [Qgis-user] QGIS - value relation widget
>
>
>
> Hi to all,
>
> I need to build a form when the value of a combo are filtered basing on
> the value of anoter combobox.
> I have a first combo where I choose the region and a second with the
> municipalities.
> I need that the second combo shows only the municipalities of the choosed
> region.
> I tried to use use the widget "relationship value" with the a filter like
> classe_munic = attribute($currentfeature, 'classe_munic') without any
> success.
>
> Has anyone ever done something similar?
> Thank in advance
>
>
> Luca
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGSrelationeditorwidget in custom form

2015-09-09 Thread Luca Lanteri
Hi,

I'm using the QGSrelationeditorwidget in a custom form with qtcreator.
It works very well (very powerful feature !) but i have some problem to fit
my subform due to the large amount of data present inside of it.
I wondering if it were possible to set the width of the leftmost column
(where there is the selection of the related record) because it is huge and
it use the main part of my form.

I try to see in the properties of the widget but unsuccessfully.
Thank in advance

Luca
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 2.10.1 adding PostGIS Views

2015-09-01 Thread Luca Lanteri
2015-08-06 20:58 GMT+02:00 Jürgen E. :

> Hi Randal,
>
> On Thu, 06. Aug 2015 at 13:53:08 -0400, Randal Hale wrote:
> > In 2.8.x I can add the view and the Primary key is automatically
> displayed.
>
> No, you're supposed to select the primary key.  In 2.8.x you also have to
> choose from all columns, but first one is preselected.  If that happens to
> be
> the primary key, you're fine, but that's not always the case and hence
> newer versions force you to actually select it.
>
>
Indeed I think is a good habit to organize the views to always have the gid
as the first field in order to avoid the problem of choose the right PK
column.
Now qgis already warns if the column is not suitable as a PK. Probably I
miss something but I really can't understand the improvement of the new
behavior.

Thanks for your patience and for the nice work with QGIS.
Luca

>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 2.10.1 adding PostGIS Views

2015-08-31 Thread Luca Lanteri
Hi,

I noticed that this new behavior has been backported to 2.8.3.
I think this behavior should be considered a regression because now it's
very uncomfortable to load views, specially when I have to load many views.
I also noticed that lot of users are confused, because they thinks that
views doesn't work. I think the old behavior was better because it allowed
both to choose a custom gid and to load view faster.
Currently we decide to remain with 2.8.2.

What about reconsidering to return to the old behavior ?

Thanks
Luca

2015-08-06 20:58 GMT+02:00 Jürgen E. :

> Hi Randal,
>
> On Thu, 06. Aug 2015 at 13:53:08 -0400, Randal Hale wrote:
> > In 2.8.x I can add the view and the Primary key is automatically
> displayed.
>
> No, you're supposed to select the primary key.  In 2.8.x you also have to
> choose from all columns, but first one is preselected.  If that happens to
> be
> the primary key, you're fine, but that's not always the case and hence
> newer versions force you to actually select it.
>
> 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 Norden
> http://www.norbit.de
> QGIS release manager (PSC)  GermanyIRC: jef on FreeNode
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] vector field marker - set the distance unit

2015-05-07 Thread Luca Lanteri
Thanks for replying and for fixing !
Luca


2015-05-07 14:44 GMT+02:00 Nyall Dawson nyall.daw...@gmail.com:

 On 6 May 2015 at 19:51, Luca Lanteri lklant...@gmail.com wrote:
  Hi,
 
  I'm trying to use the vector filed marker as symbol layer type in order
 to
  plot my GPS data displacement. I can't understand how to set the distance
  unit, because the combo remain void. It's a bug or I missing something ?
 

 It was a bug, it's now fixed in master. I'll backport this fix after
 2.8.2 is released.

 Nyall
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] vector field marker - set the distance unit

2015-05-06 Thread Luca Lanteri
Hi,

I'm trying to use the vector filed marker as symbol layer type in order to
plot my GPS data displacement. I can't understand how to set the distance
unit, because the combo remain void. It's a bug or I missing something ?

Thanks
Luca
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Blocking issue with tilted huge images

2014-07-24 Thread Luca Lanteri
See also this ticket: https://hub.qgis.org/issues/3460.

For me the problem is not only due to piramid because I've the same problem
also if I dont' build it.

Hi
Luca


2014-07-24 18:07 GMT+02:00 Alexander Bruy alexander.b...@gmail.com:

 Hi Stéphane,

 seems this is actually not QGIS issue but GDAL one. See this
 ticket in QGIS tracker https://hub.qgis.org/issues/1722 and another
 in GDAL http://trac.osgeo.org/gdal/ticket/2076

 2014-07-24 18:56 GMT+03:00 TAS-QI stephane.bon...@thalesaleniaspace.com:
  Hi,
 
  we are trying to work around what looks like a bug regarding big images
  (TIFF 3x3) that are georeferenced with a world file. When trying
 to
  load such an image, QGIS (tested with 1.8 and 2.x) just freezes.
  Investigation shows this occurs only when the World file contains a
 rotation
  (is it trying to resample the complete image at loading time?). Manual
  edition of the World file to remove the rotation leads to smooth loading
 of
  the image.
 
  Can somebody help or suggest further tests?
 
  Thanks a lot,
 
  Stéphane.
 
 
 
  --
  View this message in context:
 http://osgeo-org.1560.x6.nabble.com/Blocking-issue-with-tilted-huge-images-tp5153086.html
  Sent from the Quantum GIS - User mailing list archive at Nabble.com.
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user



 --
 Alexander Bruy
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS support to ESRI geodatabase

2014-04-08 Thread Luca Lanteri
it seem that the support for ESRI geodatabase (.mdb) is enabled only in
OSGEO version but it doesn't work with the standalone installer version.
Can anyone confirm or it's just my local problem ?

thanks in advance
Luca
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS support to ESRI geodatabase

2014-04-08 Thread Luca Lanteri
Hi, just a correction.
The problem seems to be with the 64 bit version (osgeo and standalone).
Using the 32bit version all works fine.

thanks
Luca

2014-04-08 15:08 GMT+02:00 Luca Lanteri mesca...@gmail.com:

 it seem that the support for ESRI geodatabase (.mdb) is enabled only in
 OSGEO version but it doesn't work with the standalone installer version.
 Can anyone confirm or it's just my local problem ?

 thanks in advance
 Luca


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Qgis slow in retrieving PGsql data.

2014-03-29 Thread Luca Lanteri
Which version of PostGIS are you using ?

You have to check to have at least select grants to the geometry_columns
table (in postgis 1.5) or view (in postgis 2.0) in public schema.
If you can't access to this table qgis spends a lot of time in order to
scan all geometries of all layer.

with PostGIS  2.0 you also have to manually register you layer into the
geometry_columns table

regards
Luca



2014-03-28 13:38 GMT+01:00 Nico Alberti n...@langhirano.it:

 Hi everybody. I am rather new to both technnologies (Qgis and PGsql data)
 so sorry if the question is lame. When I try to connect to a PGsql
 database, everything goes fine; layers are correctly listed and I can see
 their geometry type and primary keys. However the add layer [1] is
 disabled: on the lower left part of QGis there is a message saying that
 QGis is busy scanning the the_geom column, and this is taking a lot of
 time (there are several huge datasets in that db).

 After the scan is over, eventually I am not able to load most of the
 datasets. A message states they are invalid and cannot be loaded.

 I know I am not giving you a lot of hints. The errors are quite generic.
 However when I try to connect to another PGsql database (one that I can
 fully manage) everything goes fine. Could the dataset be corrupted in some
 strange way, could they lack something that forces QGis to scan the entire
 geometry data?

 Every suggestion would be greatly appreciated. Thank you in advance.

 [1] messages are in Italian, as you can guess. The actual English message
 is probably different.
 --
 Ciao
 Nico
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Run-time error R6034

2014-02-27 Thread Luca Lanteri
I confirm that I have the same error with at least 5 PCs w/ windows 7 and
the 64 bit version of QGIS.

L


2014-02-27 23:55 GMT+01:00 Lester Anderson arctica1...@gmail.com:

 Hello,

 Just to quickly report back and say that installing the 32-bit version of
 QGIS 2.2 is fine; no run-time error message. Clearly this appears to be an
 issue with the 64-bit one, but no idea why.

 Lester


 On 27 February 2014 14:16, Minoru Akagi akagi...@gmail.com wrote:

 Hi,

 I think it's not easy to find conflicted dll files, but providing
 mini-dump file could be easy way to give useful resource to debug this
 problem.

 Steps to provide mini-dump file:

 1. Download Process Explorer. It's only 1.2 MB archived file. Unzip
 and execute procexp.exe.
 http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

 2. Run QGIS 2.2 64-bit

 3. After the R6034 error message is displayed (do not click OK
 button), select qgis-bin.exe in the tree of Process Explorer,
 right-click it and click Create Minidump... in the context menu.
 Then specify output file path in the file dialog.

 4. Share the written qgis-bin.dmp file. It may be large (around 16MB),
 so it's better to zip it and use storage service (e.g. Google Drive,
 DropBox, etc).

 Attached image is for visual.

 Regards,
 Minoru
  
 howtodump.pnghttps://docs.google.com/file/d/0B-D5Y8MiZKrnd1hsVTA2c2Jodk1WQ3VtOWRDa0xLRVdzVHRB/edit?usp=drive_web


 2014-02-27 21:59 GMT+09:00 Tijan49 tija...@yahoo.fr:

 Hello Jurgen,
 Sorry for my ignorance, but how can I verify that no DLLs in system32
 are in conflict with Dlls shipped with qgis ;
 Thank you
 Jean

 Le 27/02/2014 09:02, Jürgen E. Fischer a écrit :

  Hi,

 On Thu, 27. Feb 2014 at 06:32:18 +, Lester Anderson wrote:

 Think the next step is to test whether the 32-bit version exhibits this
 issue or not. Never had this problem with v1.8.



 Still get the same issue if you go through OSgeo4W method. As I say,
 need
 to verify if it is just the 64 bit version or both!

 And verify that you don't have any DLLs in system32 that conflict with
 DLLs shipped whit QGIS.


 Jürgen



 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Fwd: Errori di installazione QGIS2-64bit su win7

2014-02-19 Thread Luca Lanteri
Ciao a tutti,

Hi,

I'm trying to install Qgis2-64bit (standalone installer) on 5 PCs with
Windows 7 but I get this error from all PC's: Runtime error - R6034 an
application Has made an attempo to load the C runtime library incorrectly
(see cattura.jpg). The installation was made as administrator. The error
doesn't seem to be blocking. After I closed the message box QGIS starts
correctly . Has anyone had the same problem?

thanks in advance
Luca
attachment: Cattura.JPG___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Fwd: Errori di installazione QGIS2-64bit su win7

2014-02-19 Thread Luca Lanteri
Thanks Lester for your prompt reply !

Best regards
Luca


2014-02-19 17:46 GMT+01:00 Lester Anderson arctica1...@gmail.com:

 Hi Luca,

 This appears to be a known bug with the 64-bit version, and it does not
 affect the functionality. Hopefully they will fix it in the next version.

 Lester


 On 19 February 2014 09:54, Luca Lanteri mesca...@gmail.com wrote:


 Ciao a tutti,

 Hi,

 I'm trying to install Qgis2-64bit (standalone installer) on 5 PCs with
 Windows 7 but I get this error from all PC's: Runtime error - R6034 an
 application Has made an attempo to load the C runtime library incorrectly
 (see cattura.jpg). The installation was made as administrator. The error
 doesn't seem to be blocking. After I closed the message box QGIS starts
 correctly . Has anyone had the same problem?

 thanks in advance
 Luca



 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Qgis 1.9 - problem in loading project

2013-09-03 Thread Luca Lanteri
Hi,

I have some problem to load my project with Qgis (osgeo 1.9.371) on win 7.
When I open the project I see all layer loading, but at the end all layer
disappear and the TOC remains empty. Qgis status bar say project loaded
and no error is shown in the message log panel.

I try to create again the same project but the problem come again after a
while.

there's a way to validate the .qgs xml file ?

Thanxs
Luca
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS and QT Designer

2013-07-19 Thread Luca Lanteri
I'm trying to use using qgis for field survey with a panasonic CF-19 Tablet
PC coupled with an XP tablet edition. I use it with 2 battery and a low
cost bluetooh GPS. It's a good solution for field work when you need to
survey complex data (as a geological or geomorphological survey) and not
just point or simple data.

As Andreas said, Qgis is not yet well optimized in order to use it with
field device but I can work with QT form and GPS quite well.
The major problems for me are the poor integration with the handwriting
recognition keyboard, the lack of some GPS features and freehand annotation
on the map.
You can also try BeeGIS, a plugin for uDIG developed for field work. It has
all the basic feature for field work, incuded manual and automatic GPS
waypoint recording and form editor and some other nice stuff. The
limitation of Beegis, on the other hand, is that it doesn't support
spatialite and that it is has a less complete GIS functionality.

I hope for the future to support the developing of some kind of integration
of BeeGIS field tools with QGIS in order to have an unique GIS framework
for field an office work and to couple the best quality of the two sw.


2013/7/19 Leo Kris Palao lk.pa...@gmail.com

 Dear QGIS Users,

 I am exploring the synergy of QGIS and QT on a tablet for field work and
 field validation activities. I learn this functionality from Nathan
 Woodrow. As I understand, I need QGIS-dev and QT-dev packages to facilitate
 the integration of QT forms in QGIS. This require the use of OSGeo4W
 installer to install the packages, hence this makes Windows-based tablets
 appropriate to use.

 Right now, the only way to use the QT designer in QGIS is to have a vector
 point layer in which the fields are linked to the widgets in the QT form.
 In this case, for QT form to work (*pop-up in the map*) a user should
 digitize a point in the map canvass. Is there a way to use the GPS
 location/coordinates (*like mark waypoint in GPS*) instead of digitizing
 my points? For instance, I can use the current GPS location instead of
 manually digitizing my points. Or it can be the other way around, where I
 have an existing point layer and when you select on a specific point
 feature in the map canvass the QT forms will pop-up and populate or update
 the attribute information of that point. Does this makes sense?

 By the way (if it is okay), can anybody recommend a good windows-based
 tablet (that can support QGIS and QT, longer battery life, and with minimal
 glare when used outdoors)?

 Thank you.
 -Leo

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Copy drag'n'drop form

2013-04-08 Thread Luca Lanteri
Hi,
on qgis 1.9 I need to copy a from created with the drag'n'drop feature from
a layer to anoter one. I've tried to  to save the qml form the fist layer
and load it from the second, but the information of form seems to be lost.
in the attributeEditorForm tag of qml all form info are present.
Is it a bug or a non implemented function ?

There's another way to do my task ?

thanks
^L^
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 1.8.0 Symbology Transparency - Can it be 'global'

2012-11-07 Thread Luca Lanteri
select multiply values and right click on it. You can choose transparency
and other common properties.

^L?


2012/11/7 Bruce, Bob (CON) bob.br...@gov.mb.ca

 I am using the new symbology in 1.8.0 and am missing something from 1.7. I
 classify a vector theme and would like to set an overall transparency value
 for all parts of the classification like I did in 1.7 but cannot do it. I
 have to go into each of the many different classification values and set
 the transparency individually. Is there a way to set it in the new
 symbology without doing each value?

 Thanks,
 Bob


 ***
 **  Bob Bruce, FEC, P.Eng. Geomatics Support Engineer
 **  bob.br...@gov.mb.caGeospatial Technology Services Management
 **  work # (204) 945-6636  GeoManitoba, Manitoba Conservation and
 Water Stewardship
 **  FAX  # (204) 945-1365  1007 Century Street,
 ** Winnipeg, Manitoba, Canada, R3H 0W4
 ** 49-54-31.85N,97-12-16.08W
 **
 ** Check out our digital maps at: http://mli2.gov.mb.ca/
 **  and WMS: http://mlidata.gov.mb.ca/wms/request.aspx

 ***

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] duplicate layout

2012-08-24 Thread Luca Lanteri
In order to duplicate a layout I think it's possible to open a layout and
save it as  template, then open a new layout and load the saved template.
Let me know if it works

2012/8/23 skampus stefano.cam...@regione.piemonte.it

 i think so... :-)

 thank you, anyway



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/duplicate-layout-tp4997448p4997473.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] image boundary

2012-08-17 Thread Luca Lanteri
on qgis 1.8 you can add an action like this:

qgis.utils.iface.addRasterLayer('[% image %]','[% TOC_name %]')

where image is the field containing the image name and path and
TOC_name the visualized name in TOC.


bye

^L^

2012/8/16 Alister Hood alister.h...@synergine.com

  Date: Wed, 15 Aug 2012 17:44:24 +0200
  From: Ivan Mincik ivan.min...@gmail.com
  To: skampus stefano.cam...@regione.piemonte.it
  Cc: qgis-user@lists.osgeo.org
  Subject: Re: [Qgis-user] image boundary
  Message-ID: 1345045464.4203.7.camel@t61
  Content-Type: text/plain; charset=utf-8
 
  On Tue, 2012-08-14 at 19:15 -0700, skampus wrote:
   thanks to giovanni manghi who told me to use tileindex module of gdal
   in the raster menu.
   great! all it works so i have my brand new shapefile having the path
   each photo as attribute of each polygon.
  
   now i'd like to add an action in order to add the image to TOC.
   what is the qgis internal function to use as an action to add raster
   image to toc?
 
  Do You know that You can use 'gdalbuildvrt' command to create virtual
  raster layer containing all your raster files and load it as one layer.
  Than files matching your viewport will be automatically loaded by demand.

 FWIW Gdalbuildvrt is also available in the QGIS menu under
 RasterMiscellaneous
 But there are cases where using an action to load a raster from a
 tileindex is preferable...
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] image boundary

2012-08-17 Thread Luca Lanteri
mumble, mumble...
I think the beahviour is the same of other .qml properties, so it is
autoloaded  with the shapefile if there's a qml in the same directory and
then the properties is saved in the .qgs project the first time you save
the project.

2012/8/17 skampus stefano.cam...@regione.piemonte.it

 thank you, luca.

 just a question.
 i see that action is recorded into .qgs project. also you can save the
 style
 of layer and in .qml you'll find the action too.
 my question is which of action wins if the actions are different?



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/image-boundary-tp4995238p4995961.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] 1.9.90-70 can't load WMS

2012-02-22 Thread Luca Lanteri
OK.
With the latest update (1.9.90-71) now the WMS support works fine !
Thanks

Luca


2012/2/21 Giovanni Manghi giovanni.man...@faunalia.pt

 see

 http://hub.qgis.org/issues/5062



 On Tue, 2012-02-21 at 08:44 +0100, Luca Lanteri wrote:
  The latest version of qgis Master 1.9.90-70 on win xp can't load wms
  layer. All windows works fine but when I press the add button nothing
  happens.
  Is this a known issue? I should open a ticket or is better if I wait
  in case this is only due to some new feature developing?
 
  thanks
  Luca
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] 1.9.90-70 can't load WMS

2012-02-20 Thread Luca Lanteri
The latest version of qgis Master 1.9.90-70 on win xp can't load wms layer.
All windows works fine but when I press the add button nothing happens.
Is this a known issue? I should open a ticket or is better if I wait in
case this is only due to some new feature developing?

thanks
Luca
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] toolbars which are moved, are away

2012-02-16 Thread Luca Lanteri
you have to delete this key in order to reset the default toolbars setting:
\HKEY_CURRENT_USER\Software\QuantumGIS\qgis\UI\state

Regards
Luca

2012/2/16 Alexander Bruy alexander.b...@gmail.com

 Hi,

 under Windows QGIS settings stored in registry. So try to delete key from
 HKCU\Software\QuantumGIS

 2012/2/16 Bernd Laskowski bernd.laskow...@reichshof.de:
  Hi all,
  I've been trying to move any toolbars into the second row (just one
  toolbar-row exist).
 
  Normaly that's no problem but I tried while the loading of any layers
 wasn't
  finished.
 
  The result is: the toolbars which I tried to move are away for current
  windows user.
 
  I tried to delete the .qgis directory at the user profile and I tried to
  swicht off and on the toolbars.
  But the result is the same.
 
  The toolbars are away.
 
  Versión de QGIS:
  1.7.3-Wroclaw
 
  Do you have some tipps for me?
 
  Regards
  Bernd

 --
 Alexander Bruy
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Atlas plugin - create map books

2012-01-31 Thread Luca Lanteri
Hi, I'm trying to use the atlas plugin.
All works fine except that if I use my local projection system (EPSG:
32632) the WMS base map
is printed shifted. If I print directly via QGIS composer the WMS is
printed in the right way.
The same thing happened with the map book plugin but it can be solved using
the trick of print as raster.

Anyone can confirm to me this bug. Can I do some other test that can be
used to solve the problem ?

thanks
Luca

2012/1/31 Vincent Picavet vincent...@oslandia.com

 Hi,

  This is a very useful idea, but seems to be not working on my OSX
  environment using a trunk build. I submitted a couple of bugs that you
 may
  already have seen. For convenience, I've linked them here as well.
 Perhaps
  others who have developed python plugins will be able to assist in
  debugging these issues.
 
  http://hub.qgis.org/issues/4922
  http://hub.qgis.org/issues/4923
 Thanks for using the tracker for bug reporting.
 I don't have any OSX platform to test on, so if other have the same issues
 on
 windows/linux, please report too, otherwise we'll probably have to wait for
 someone to check the issue on OSX.

  Thanks for undertaking this quality addition for qgis. I look forward to
  seeing it progress.
 It will :)
 Vincent
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Mapbooks with Easyprint

2011-06-16 Thread Luca Lanteri
Fortunately now are just few things. Recently I've had to use ArcGis just to
do complex layouts and to create series of geo-reports. I'm trying to bypass
this using the command line '-snapshot' option but it's just a little too
tricky. Some others limitations for my work of the Qgis composer are that it
doesn't seems to be really WYSIWYG, and that it has some problem with pdf
and svg export. For all the other things our migration to PostGIS+QGIS was
been a very fruitfully experience, and I hope I can give up AG soon also for
these last works.

2011/6/15 cavall...@faunalia.it cavall...@faunalia.it

 So, which are the others?
 All the best.

 http://faunalia.it/pc


 - Reply message -
 Da: Luca Lanteri mesca...@gmail.com
 A: qgis-user qgis-user@lists.osgeo.org
 Oggetto: [Qgis-user] Mapbooks with Easyprint
 Data: mer, giu 15, 2011 17:57


 Wow, the Mapbook by feature function is one of the last tools that keep
 me tied to ArcGIS.
  I'm looking forward to it !

 Thanks 
 Luca

 2011/6/14 Ziegler Stefan stefan.zieg...@bd.so.ch

  Hi

 I started adding some mapbook functionality:

 i) Mapbook by grid: You have to create the regular grid first. Paper
 format, layout, scale etc. values are taken from standard easyprint tab
 (simplemap). You can also choose some overlap percentage. After creating
 the grid layer you can export the maps. There are some additional parameters
 like adding adjacent tile indicator to the map or creating an overview map.

 ii) Mapbook by feature: This will zoom to the extent of every feature of a
 specific layer. You can use the layers attributes for setting the title,
 subtitle, scale and rotation. Scale and rotation will be ignored for polygon
 and linestring layers.

 regards
 Stefan

 Mit freundlichem Gruss
 Stefan Ziegler
 Leiter amtliche Vermessung

 Kanton Solothurn
 Bau- und Justizdepartement
 Amt für Geoinformation
 Rötistrasse 4
 4501 Solothurn
 Telefon 032 627 75 96
 Telefax 032 627 75 98
 stefan.zieg...@bd.so.ch
 http://www.so.ch


 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Mapbooks with Easyprint

2011-06-15 Thread Luca Lanteri
Wow, the Mapbook by feature function is one of the last tools that keep me
tied to ArcGIS.
 I'm looking forward to it !

Thanks 
Luca

2011/6/14 Ziegler Stefan stefan.zieg...@bd.so.ch

  Hi

 I started adding some mapbook functionality:

 i) Mapbook by grid: You have to create the regular grid first. Paper
 format, layout, scale etc. values are taken from standard easyprint tab
 (simplemap). You can also choose some overlap percentage. After creating
 the grid layer you can export the maps. There are some additional parameters
 like adding adjacent tile indicator to the map or creating an overview map.

 ii) Mapbook by feature: This will zoom to the extent of every feature of a
 specific layer. You can use the layers attributes for setting the title,
 subtitle, scale and rotation. Scale and rotation will be ignored for polygon
 and linestring layers.

 regards
 Stefan

 Mit freundlichem Gruss
 Stefan Ziegler
 Leiter amtliche Vermessung

 Kanton Solothurn
 Bau- und Justizdepartement
 Amt für Geoinformation
 Rötistrasse 4
 4501 Solothurn
 Telefon 032 627 75 96
 Telefax 032 627 75 98
 stefan.zieg...@bd.so.ch
 http://www.so.ch


 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Tif too slow to show

2011-04-30 Thread Luca Lanteri
yes, in the 1st tiff header the

GeoTransform =
 740551.2494, 0.078, 0.1506
 189669.7013, 0.1506, -0.078

it means

GeoTransform =
  lon offset scale related nonzero rotation
  lat offset nonzero rotation scale related


if you transform the N-S oriented image in a NS oriented image I think the
image will be magically displayed faster.
Of course, adding tiled and overview with gdal should improve the
performance.

I think the problem isn't in the GDAL drivers because I try to open the same
slow image with others OS GIS and the it's is displayed well.

2011/4/29 Patrice Vetsel ubu...@kagou.fr

 Is it because the original is not Nort-South oriented and must be rotated
 by QGis ?


 Le 29/04/11 14:08, Patrice Vetsel a écrit :

  Hi,

 with an original raster (tif+tfw), from french cadastre, when I open it
 under qgis, it's unusable because QGis is horribly slow.
 with the same raster, but after using georef extension (tif+aux.xml), QGis
 is responsive

 here I put gdalinfo of the original (slow) and referenced :

 What's the problem with the first ? I would prefer to not have to manually
 georeference all my original rasters ;)

 In the same time, what's the most efficient raster type to use with QGis ?

 Regards


 Patrice Vetsel

 SLOW :
 MacBook-Pro-de-Patrice-Vetsel:~ Patrice$
 /Library/Frameworks/GDAL.framework/Programs/gdalinfo
 ~/Desktop/3004221146000AB01021.tif
 Driver: GTiff/GeoTIFF
 Files: /Users/Patrice/Desktop/3004221146000AB01021.tif
/Users/Patrice/Desktop/3004221146000AB01021.tfw
 Size is 12329, 8760
 Coordinate System is `'
 GeoTransform =
   740551.2494, 0.078, 0.1506
   189669.7013, 0.1506, -0.078
 Metadata:
   TIFFTAG_ARTIST=JBG-PYV-APIC
   TIFFTAG_XRESOLUTION=300
   TIFFTAG_YRESOLUTION=300
   TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
 Image Structure Metadata:
   COMPRESSION=CCITTFAX4
   INTERLEAVE=BAND
   MINISWHITE=YES
 Corner Coordinates:
 Upper Left  (  740551.249,  189669.701)
 Lower Left  (  741870.505,  188986.421)
 Upper Right (  741512.911,  191526.449)
 Lower Right (  742832.167,  190843.169)
 Center  (  741691.708,  190256.435)
 Band 1 Block=12329x1 Type=Byte, ColorInterp=Palette
   Image Structure Metadata:
 NBITS=1
   Color Table (RGB with 2 entries)
 0: 255,255,255,255
 1: 0,0,0,255


 OK :
 MacBook-Pro-de-Patrice-Vetsel:~ Patrice$
 /Library/Frameworks/GDAL.framework/Programs/gdalinfo
 ~/Desktop/testgeo/AB_georef.tif
 Driver: GTiff/GeoTIFF
 Files: /Users/Patrice/Desktop/testgeo/AB_georef.tif
/Users/Patrice/Desktop/testgeo/AB_georef.tif.aux.xml
 Size is 13446, 14968
 Coordinate System is `'
 Origin = (740550.783870017039590,191526.220101331215119)
 Pixel Size = (0.169699598291267,-0.169699598291267)
 Image Structure Metadata:
   INTERLEAVE=BAND
 Corner Coordinates:
 Upper Left  (  740550.784,  191526.220)
 Lower Left  (  740550.784,  188986.157)
 Upper Right (  742832.565,  191526.220)
 Lower Right (  742832.565,  188986.157)
 Center  (  741691.674,  190256.188)
 Band 1 Block=13446x1 Type=Byte, ColorInterp=Palette
   Color Table (RGB with 256 entries)
 0: 255,255,255,255
 1: 0,0,0,255
 2: 0,0,0,255
 3: 0,0,0,255
 4: 0,0,0,255
 5: 0,0,0,255
 6: 0,0,0,255
 7: 0,0,0,255
 8: 0,0,0,255
 9: 0,0,0,255
10: 0,0,0,255
11: 0,0,0,255
12: 0,0,0,255
13: 0,0,0,255
14: 0,0,0,255
15: 0,0,0,255
16: 0,0,0,255
17: 0,0,0,255
18: 0,0,0,255
19: 0,0,0,255
20: 0,0,0,255
21: 0,0,0,255
22: 0,0,0,255
23: 0,0,0,255
24: 0,0,0,255
25: 0,0,0,255
26: 0,0,0,255
27: 0,0,0,255
28: 0,0,0,255
29: 0,0,0,255
30: 0,0,0,255
31: 0,0,0,255
32: 0,0,0,255
33: 0,0,0,255
34: 0,0,0,255
35: 0,0,0,255
36: 0,0,0,255
37: 0,0,0,255
38: 0,0,0,255
39: 0,0,0,255
40: 0,0,0,255
41: 0,0,0,255
42: 0,0,0,255
43: 0,0,0,255
44: 0,0,0,255
45: 0,0,0,255
46: 0,0,0,255
47: 0,0,0,255
48: 0,0,0,255
49: 0,0,0,255
50: 0,0,0,255
51: 0,0,0,255
52: 0,0,0,255
53: 0,0,0,255
54: 0,0,0,255
55: 0,0,0,255
56: 0,0,0,255
57: 0,0,0,255
58: 0,0,0,255
59: 0,0,0,255
60: 0,0,0,255
61: 0,0,0,255
62: 0,0,0,255
63: 0,0,0,255
64: 0,0,0,255
65: 0,0,0,255
66: 0,0,0,255
67: 0,0,0,255
68: 0,0,0,255
69: 0,0,0,255
70: 0,0,0,255
71: 0,0,0,255
72: 0,0,0,255
73: 0,0,0,255
74: 0,0,0,255
75: 0,0,0,255
76: 0,0,0,255
77: 0,0,0,255
78: 0,0,0,255
79: 0,0,0,255
80: 0,0,0,255
81: 0,0,0,255
82: 0,0,0,255
83: 0,0,0,255
84: 0,0,0,255
85: 0,0,0,255
86: 0,0,0,255
87: 0,0,0,255
88: 0,0,0,255
89: 0,0,0,255
90: 0,0,0,255
91: 0,0,0,255
92: 0,0,0,255
93: 0,0,0,255
94: 0,0,0,255
95: 0,0,0,255
96: 0,0,0,255
97: 0,0,0,255
98: 0,0,0,255
99: 0,0,0,255
   100: 0,0,0,255
   101: 0,0,0,255
   102: 0,0,0,255
   103: 0,0,0,255
   104: 0,0,0,255
   105: 0,0,0,255
   

Re: [Qgis-user] Tif too slow to show

2011-04-29 Thread Luca Lanteri
I've had the same problem with my ortophoto. I'm not really sure but I think
the problem is due to the rotation parameter that is not managed at the best
by QGIS. Some months ago I've tried to oped a ticket (
https://trac.osgeo.org/qgis/ticket/3460).


2011/4/29 Kris Nackaerts knackae...@gmx.net

 I see now that your files are CCITTFAX4 compressed.

 I had similar BW rasters, topographic maps from Belgium, same compression.

 I uncompressed all, should boost performance. Plus, I added plenty
 overviews.

 Kris


  Original-Nachricht 
  Datum: Fri, 29 Apr 2011 14:40:29 +0200
  Von: Patrice Vetsel ubu...@kagou.fr
  An: Kris Nackaerts knackae...@gmx.net
  Betreff: Re: [Qgis-user] Tif too slow to show

  I'v done a
  gdaladdo -r average 3004221146000AB01021.tif 2 4 8 16
 
  but QGis is always too slow.
 
  Thanks
 
 
  Le 29 avr. 2011 à 14:21, Kris Nackaerts a écrit :
 
   Dear,
  
   I would start trying gdaladdo to create overviews. Does wonders for
  speed.
  
   I'm working right now with a global Landsat dataset, vrt, +4000 tiles,
  roughly 700k by 300k pixels in total, and even this can be handled
  efficiently once you've overviews.
  
   I mainly use uncompressed geotiffs.
  
   Kris
  
  
    Original-Nachricht 
   Datum: Fri, 29 Apr 2011 14:08:00 +0200
   Von: Patrice Vetsel ubu...@kagou.fr
   An: qgis-user@lists.osgeo.org
   Betreff: [Qgis-user] Tif too slow to show
  
   Hi,
  
   with an original raster (tif+tfw), from french cadastre, when I open
 it
   under qgis, it's unusable because QGis is horribly slow.
   with the same raster, but after using georef extension (tif+aux.xml),
  QGis
   is responsive
  
   here I put gdalinfo of the original (slow) and referenced :
  
   What's the problem with the first ? I would prefer to not have to
  manually
   georeference all my original rasters ;)
  
   In the same time, what's the most efficient raster type to use with
  QGis ?
  
   Regards
  
  
   Patrice Vetsel
  
   SLOW :
   MacBook-Pro-de-Patrice-Vetsel:~ Patrice$
   /Library/Frameworks/GDAL.framework/Programs/gdalinfo
  ~/Desktop/3004221146000AB01021.tif
   Driver: GTiff/GeoTIFF
   Files: /Users/Patrice/Desktop/3004221146000AB01021.tif
 /Users/Patrice/Desktop/3004221146000AB01021.tfw
   Size is 12329, 8760
   Coordinate System is `'
   GeoTransform =
740551.2494, 0.078, 0.1506
189669.7013, 0.1506, -0.078
   Metadata:
TIFFTAG_ARTIST=JBG-PYV-APIC
TIFFTAG_XRESOLUTION=300
TIFFTAG_YRESOLUTION=300
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
   Image Structure Metadata:
COMPRESSION=CCITTFAX4
INTERLEAVE=BAND
MINISWHITE=YES
   Corner Coordinates:
   Upper Left  (  740551.249,  189669.701)
   Lower Left  (  741870.505,  188986.421)
   Upper Right (  741512.911,  191526.449)
   Lower Right (  742832.167,  190843.169)
   Center  (  741691.708,  190256.435)
   Band 1 Block=12329x1 Type=Byte, ColorInterp=Palette
Image Structure Metadata:
  NBITS=1
Color Table (RGB with 2 entries)
  0: 255,255,255,255
  1: 0,0,0,255
  
  
   OK :
   MacBook-Pro-de-Patrice-Vetsel:~ Patrice$
   /Library/Frameworks/GDAL.framework/Programs/gdalinfo
  ~/Desktop/testgeo/AB_georef.tif
   Driver: GTiff/GeoTIFF
   Files: /Users/Patrice/Desktop/testgeo/AB_georef.tif
 /Users/Patrice/Desktop/testgeo/AB_georef.tif.aux.xml
   Size is 13446, 14968
   Coordinate System is `'
   Origin = (740550.783870017039590,191526.220101331215119)
   Pixel Size = (0.169699598291267,-0.169699598291267)
   Image Structure Metadata:
INTERLEAVE=BAND
   Corner Coordinates:
   Upper Left  (  740550.784,  191526.220)
   Lower Left  (  740550.784,  188986.157)
   Upper Right (  742832.565,  191526.220)
   Lower Right (  742832.565,  188986.157)
   Center  (  741691.674,  190256.188)
   Band 1 Block=13446x1 Type=Byte, ColorInterp=Palette
Color Table (RGB with 256 entries)
  0: 255,255,255,255
  1: 0,0,0,255
  2: 0,0,0,255
  3: 0,0,0,255
  4: 0,0,0,255
  5: 0,0,0,255
  6: 0,0,0,255
  7: 0,0,0,255
  8: 0,0,0,255
  9: 0,0,0,255
 10: 0,0,0,255
 11: 0,0,0,255
 12: 0,0,0,255
 13: 0,0,0,255
 14: 0,0,0,255
 15: 0,0,0,255
 16: 0,0,0,255
 17: 0,0,0,255
 18: 0,0,0,255
 19: 0,0,0,255
 20: 0,0,0,255
 21: 0,0,0,255
 22: 0,0,0,255
 23: 0,0,0,255
 24: 0,0,0,255
 25: 0,0,0,255
 26: 0,0,0,255
 27: 0,0,0,255
 28: 0,0,0,255
 29: 0,0,0,255
 30: 0,0,0,255
 31: 0,0,0,255
 32: 0,0,0,255
 33: 0,0,0,255
 34: 0,0,0,255
 35: 0,0,0,255
 36: 0,0,0,255
 37: 0,0,0,255
 38: 0,0,0,255
 39: 0,0,0,255
 40: 0,0,0,255
 41: 0,0,0,255
 42: 0,0,0,255
 43: 0,0,0,255
 44: 0,0,0,255
 45: 0,0,0,255
 46: 0,0,0,255
 47: 0,0,0,255
 48: 0,0,0,255
 49: 0,0,0,255
 50: 0,0,0,255
 51: 0,0,0,255
 52: 0,0,0,255
 53: 0,0,0,255
 54: 0,0,0,255
 55: 0,0,0,255
 56: 

Re: [Qgis-user] Cartography Sprint - Public Domain Symbology

2010-11-17 Thread Luca Lanteri
Hi,

In the first part of the new year we are going to start a project, in
collaboration with an italian university, to create a symbols library mainly
for geologist and geomorphologist.
The library could be compatible with udig and qgis so we thought to use
mainly the svg for point symbol, but we will also use sld for poligon or
more complex symbol.

In the immediate future we have to choose our standards and the simbol, but
we thought to start with the ISPRA (the Italian geological survey office)
library.

I could send you to your private e-mail a pdf with the simbol library (about
5 Mb) or you can download it at
http://www.apat.gov.it/site/_files/Quaderni/quaderno10/quad10_simboli.zip

thanks
Luca

2010/11/17 Alex Mandel tech_...@wildintellect.com

 As part of GIS day, Wed. November 17th a few of us at the University of
 California, Davis will be getting together to work on converting some
 symbols. Our focus is on getting US government agencies symbologies,
 which is public domain, into SVG format for use in programs like QGIS
 (That's what we'll be testing against).

 I'm taking requests if anyone else has symbols they want to see
 converted, please add it to the list or email me:
 http://wiki.osgeo.org/wiki/OSGeo_map_symbol_set#Available_Material

 This 1/2 day event is a test run for future events where we can mass
 convert, tag and sort a large library of symbols.

 There are a few things I hope that we'll discuss tomorrow and in the
 future on the graph...@lists.osgeo.org. The first is how to sort or tag
 symbols. Since symbols can be of a certain type but also belong to a set
 it will be good to find away to allow for this without having to store
 symbols twice.
 Second would be what size and format to store symbols in. Initially I'm
 thinking about how to store both inkscape and plain svg (and comparing
 them) along with batch auto-generation of png versions so that those
 won't have to be in a repository.

 Sorry for the short notice. I look forward to any input from the lists.

 Thanks,
 Alex
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user