[QGIS-it-user] assegnazione ticket su RedMine

2018-04-05 Per discussione Amedeo Fadini
Salve a tutti, ieri ho aperto una issue per segnalare un piccolo bug
rigurdo imemory layers [0],
quando l'ho inviato è uscito assegnato a Victor Olaya, ho pensato di aver
scorso per sbaglio la caselal combinata  per cui ho eliminato
l'assegnazione...

Mi sapete dire se esiste una assegnazione di default a Victor o in base
alla categoria?


Grazie

amefad

[0] https://issues.qgis.org/issues/18642
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] IMPORTPHOTOS - ERROR - OSX

2018-04-05 Per discussione cesaregal
Ciao Tony,
ho cercato anch'io di installare lo stesso plugin e ho avuto lo stesso tuo
problema.
Anch'io come te continuo ad avere problemi con GDAL.
Mi è stato consigliato l'utilizzo di virtualenv.
Ti segnalo questo link su come installare al meglio python 3.6 e pip3 su MAC
High Sierra. Dimmi cosa ne pensi:
https://gist.github.com/alyssaq/f60393545173379e0f3f
Non ho ancora provveduto però ad eseguire quanto proposto nel link.
Saluti
Cesare




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


Re: [Qgis-user] Help in Field Calculator

2018-04-05 Per discussione Martin Weis
Hi,

Am 04.04.2018 um 14:27 schrieb Daniel Alejandro Montecinos Rubilar:
> What I try to do is then updated columns in a data layer with
> another layer. For example , I have two layers A = Poligono , B =
> Points . The layer B contains real values. Then would do two things.
> 1. Count how many points of the layers B are within the layer A. 2.
> From the points of the layer B that are within the polygon layer A, I
> need the sum of their values ​​and paste this sum in a column of
> created layer

"Count points in polygon" (Vector->analysis tools) and "Join attributes
by location" (Processing toolbox->vector general tools) are the
operations you seem to be looking for.


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [QGIS-it-user] IMPORTPHOTOS - ERROR - OSX

2018-04-05 Per discussione Totò
Tony75 wrote
> errori con python 3.6 e qgis 3 , qualche altro ha avuto lo stesso
> problema??
> grazie
> 
> Impossibile caricare il plugin 'ImportPhotos' a causa di un errore
> chiamando
> il metodo classFactory() 
> 
> ModuleNotFoundError: No module named 'exifread' 
> Traceback (most recent call last):

Ciao,
stesso problema ho avuto stamani in win 10 64b OSGeo4W;
come scritto nell'errore manca il modulo: exifread

grazie a OSGeo4W ho avuto la possibilità di installare il modulo ed ora
tutto 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] IMPORTPHOTOS - ERROR - OSX

2018-04-05 Per discussione Tony75
errori con python 3.6 e qgis 3 , qualche altro ha avuto lo stesso problema??
grazie

Impossibile caricare il plugin 'ImportPhotos' a causa di un errore chiamando
il metodo classFactory() 

ModuleNotFoundError: No module named 'exifread' 
Traceback (most recent call last):
  File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 336, in startPlugin
plugins[packageName] = package.classFactory(iface)
  File "/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/ImportPhotos/__init__.py",
line 32, in classFactory
from .ImportPhotos import ImportPhotos
  File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/ImportPhotos/ImportPhotos.py",
line 33, in 
from .MouseClick import MouseClick
  File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/ImportPhotos/MouseClick.py",
line 31, in 
import exifread
  File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'exifread'


Versione Python: 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28) [GCC 4.2.1
(Apple Inc. build 5666) (dot 3)] 
Versione di QGIS: 3.0.0-Girona Girona, exported 

Percorso Python:
/Applications/QGIS3.app/Contents/MacOS/../Resources/python
/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python
/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/GEOS.framework/Versions/3B/Python/3.6/site-packages
/Library/Frameworks/GDAL.framework/Versions/2.2/Python/3.6/site-packages
/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python



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


Re: [QGIS-it-user] Confronto tra due geometrie successive appartenenti allo stesso layer (pyqgis)

2018-04-05 Per discussione Marco Guiducci



Il 05/04/2018 17:14, sarag ha scritto:

Purtroppo non riesco a venirne a capo ugualmente.

Facendo una cosa del genere

feat=lati.getFeatures()
for i in range(1, n-1):
 l1=feat[i].geometry().length()
 l2=feat[i+1].geometry().length()

il nuovo errore è: TypeError: 'QgsFeatureIterator' object does not support
indexing

Mi scuso se sto commettendo errori banali ma è la prima volta che mi
approccio a PyQGis.
Grazie davvero per la comprensione e la disponibilità.

Sara



non sarà ortodosso, ma funziona:

crea una lista vuota:

listalati=[]

poi riempila così:

for feat in lati.getfeatures():
    listalati.append(feat)

a questo punto puoi iterare su listalati come prima

for i in range(1, n-1):
l1=listalati[i].geometry().length()
l2=listalati[i+1].geometry().length()

ricordati che le liste partono da zero. quindi 1 è già il secondo lato.

un consiglio se sei alle prime armi: tieni aperta la consolle di python e fai 
il print degli oggetti che crei. in questo modo QGis ti dice cosa stai creando, 
cioè che cosè la tua variabile: una feature? un iteratore? ecc.

marco

--
Marco Guiducci - 055 4383194
SITA - Sistema informativo territoriale e ambientale
Regione Toscana - Via di Novoli 26 - 50127 Firenze

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


Re: [QGIS-it-user] GDAL - QGIS3 - macOS

2018-04-05 Per discussione cesaregal
Grazie Ivano per il suggerimento.
Ho seguito le tue indicazioni ma dopo il mio ok ho ottenuto questa
segnalazione:

Valore errato per il parametro "Cartella GRASS 7":
Specified path does not exist:
/Applications/QGIS 3.app/Contents/MacOS/grass7

Puoi suggerirmi ulteriori azioni?
Grazie
Cesare





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


Re: [Qgis-user] EPSG and ogr2ogr

2018-04-05 Per discussione Tobias Wendorff
Am Do, 5.04.2018, 17:17 schrieb Uwe Fischer:
>
> The reprojection did work without error messages, but when I load
> my new reprojected shapefile into QGIS, it says that the projection
> is 3044 (instead of 25832 which I had chosen). However, the position
> of the shape is as desired.

It's a known problem :(

See my report:
https://issues.qgis.org/issues/17138

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [QGIS-it-user] Confronto tra due geometrie successive appartenenti allo stesso layer (pyqgis)

2018-04-05 Per discussione sarag
Purtroppo non riesco a venirne a capo ugualmente.

Facendo una cosa del genere

feat=lati.getFeatures()
for i in range(1, n-1):
l1=feat[i].geometry().length()
l2=feat[i+1].geometry().length()

il nuovo errore è: TypeError: 'QgsFeatureIterator' object does not support
indexing

Mi scuso se sto commettendo errori banali ma è la prima volta che mi
approccio a PyQGis.
Grazie davvero per la comprensione e la disponibilità.

Sara



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


Re: [QGIS-it-user] Confronto tra due geometrie successive appartenenti allo stesso layer (pyqgis)

2018-04-05 Per discussione Marco Guiducci

prova così: metti le features ottenute con getfeatures() in una lista

feat = lati.getfeatures()

poi ti ci muovi così:

for i in range(0, len(feat)-1):
    feat[i]..
    feat[i+1]..
    feat[i-1]..

marco
Il 05/04/2018 16:04, sarag ha scritto:

Sì, comprendo. Mi sono espressa male.
Ma c'è una soluzione al problema? E' possibile in qualche modo confrontare
caratteristiche di due geometrie appartenenti allo stesso layer?

Grazie mille,
Sara



--
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


--
Marco Guiducci - 055 4383194
SITA - Sistema informativo territoriale e ambientale
Regione Toscana - Via di Novoli 26 - 50127 Firenze

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


Re: [QGIS-it-user] Confronto tra due geometrie successive appartenenti allo stesso layer (pyqgis)

2018-04-05 Per discussione Marco Guiducci



Il 05/04/2018 15:16, sarag ha scritto:

Buongiorno a tutti,

devo confrontare le lunghezze di due lati appartenenti allo stesso poligono.
Ho creato tramite un algoritmo un nuovo layer "lati" di linee coincidenti
con i lati del poligono (l'appartenenza al poligono è mantenuta dall'ID
presente nella tabella degli attributi! es. se elemento linea1 ed elemento
linea2 appartengono al poligono n.1, avranno entrambi un attributo "ID" pari
a 1).
Creando un ciclo for per iterare le geometrie del layer "lati", vorrei
confrontare la lunghezza dell'elemento linea i-esimo con il successivo
(j-esimo=i-esimo+1). Il problema è che non riconoscendo pyqgis i come numero
intero, non mi permette di incrementarlo (quindi di creare j=i+1).


non è che non lo riconosce. getFeatures ti da una Feature non un int!
la funzione "+" non può sommare un int con una Feature.
marco

--
Marco Guiducci - 055 4383194
SITA - Sistema informativo territoriale e ambientale
Regione Toscana - Via di Novoli 26 - 50127 Firenze

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


Re: [Qgis-user] QGIS 3.0 split multipart

2018-04-05 Per discussione Alexandre Neto
I have updated the plugin yesterday.

Yes, in the plugins settings, you need to enable the Show experimental
plugins.

After installed, a button is added to the View menu, and to the Advanced
digitizing toolbar.

Hope it's useful.

Alexandre Neto

Phil Wyatt  escreveu no dia quinta, 5/04/2018 às
12:48:

>
> Try the plugins but make sure you also look at experimental plugins (under
> plugin settings)
>
> Cheers - Phil,
> On the road with his iPad
>
> On 5 Apr 2018, at 8:47 pm, Mensio Federico  wrote:
>
> Where is split to multipart function in QGIS 3?
>
> --
> Federico MENSIO
> IPLA spa
> Corso Casale, 476 - 10132 Torino
> Mobile +39.340.06.01.363
> TEL +39.011.432.0443 <+39%20011%20432%200443> FAX +39.011.89.89.333
> men...@ipla.org - www.ipla.org
>
>
> -
> Questa e-mail è personale e i suoi contenuti contengono informazioni
> riservate ai destinatari. Pertanto la lettura, copia od altro uso da parte
> di altri o qualsiasi altra azione derivante dalla conoscenza di queste
> informazioni sono rigorosamente vietate e perseguibili ai sensi del Dlgs
> 196/03.
> Qualora abbiate ricevuto questo documento per errore siete cortesemente
> pregati di darne immediata comunicazione al mittente ai riferimenti
> indicati e provvedere immediatamente alla sua distruzione.
>
> Salvaguardiamo l'ambiente: se non ti è necessario, non stampare questa mail
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Alexandre Neto
-
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[QGIS-it-user] Confronto tra due geometrie successive appartenenti allo stesso layer (pyqgis)

2018-04-05 Per discussione sarag
Buongiorno a tutti,

devo confrontare le lunghezze di due lati appartenenti allo stesso poligono.
Ho creato tramite un algoritmo un nuovo layer "lati" di linee coincidenti
con i lati del poligono (l'appartenenza al poligono è mantenuta dall'ID
presente nella tabella degli attributi! es. se elemento linea1 ed elemento
linea2 appartengono al poligono n.1, avranno entrambi un attributo "ID" pari
a 1).
Creando un ciclo for per iterare le geometrie del layer "lati", vorrei
confrontare la lunghezza dell'elemento linea i-esimo con il successivo
(j-esimo=i-esimo+1). Il problema è che non riconoscendo pyqgis i come numero
intero, non mi permette di incrementarlo (quindi di creare j=i+1). 

for i in lati.getFeatures():
j=i+1
l1=i.geometry().length()
l2=j.geometry().length()
if(j<=n):
if(i[idlin]=j[idlin]):
etc. etc.

TypeError: unsupported operand type(s) for +: 'QgsFeature' and 'int'


Riuscirei anche ad ovviare a questo problema creando un'altra variabile h
come riportato di seguito...

h=0
for i in lati.getFeatures():
if (i==1):
h=1
else:
h=h+1
j=h+1
l1=i.geometry().length()
l2=j.geometry().length()
if(j<=n):
if(i[idlin]=j[idlin]):
etc. etc.

...Ma poi il problema persiste perchè questa volta j, essendo un int, non mi
permette di scorrere le geometrie del layer.

Spero di essere stata sufficientemente chiara e di aver esposto bene il
problema.
Sarò grata a chiunque riesca ad aiutarmi.

Sara





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


Re: [Qgis-user] QGIS 3.0 split multipart

2018-04-05 Per discussione Phil Wyatt

Try the plugins but make sure you also look at experimental plugins (under 
plugin settings)

Cheers - Phil, 
On the road with his iPad 

> On 5 Apr 2018, at 8:47 pm, Mensio Federico  wrote:
> 
> Where is split to multipart function in QGIS 3?
> 
> -- 
> Federico MENSIO
> IPLA spa
> Corso Casale, 476 - 10132 Torino
> Mobile +39.340.06.01.363
> TEL +39.011.432.0443 FAX +39.011.89.89.333
> men...@ipla.org - www.ipla.org
> 
> -
> Questa e-mail è personale e i suoi contenuti contengono informazioni 
> riservate ai destinatari. Pertanto la lettura, copia od altro uso da parte di 
> altri o qualsiasi altra azione derivante dalla conoscenza di queste 
> informazioni sono rigorosamente vietate e perseguibili ai sensi del Dlgs 
> 196/03.
> Qualora abbiate ricevuto questo documento per errore siete cortesemente 
> pregati di darne immediata comunicazione al mittente ai riferimenti indicati 
> e provvedere immediatamente alla sua distruzione.
> 
> Salvaguardiamo l'ambiente: se non ti è necessario, non stampare questa mail
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 3.0 split multipart

2018-04-05 Per discussione Mensio Federico
Where is split to multipart function in QGIS 3?

-- 
Federico MENSIO
IPLA spa
Corso Casale, 476 - 10132 Torino
Mobile +39.340.06.01.363
TEL +39.011.432.0443 FAX +39.011.89.89.333
men...@ipla.org - www.ipla.org

-
Questa e-mail è personale e i suoi contenuti contengono informazioni
riservate ai destinatari. Pertanto la lettura, copia od altro uso da parte
di altri o qualsiasi altra azione derivante dalla conoscenza di queste
informazioni sono rigorosamente vietate e perseguibili ai sensi del Dlgs
196/03.
Qualora abbiate ricevuto questo documento per errore siete cortesemente
pregati di darne immediata comunicazione al mittente ai riferimenti
indicati e provvedere immediatamente alla sua distruzione.

Salvaguardiamo l'ambiente: se non ti è necessario, non stampare questa mail
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] How identify individual stacked raster bands in a multi-band raster

2018-04-05 Per discussione Abdelghani Souirji

Hi,

I'm using QGIS v2.18.17.

When I stack separate satellite image bands in a single multi-band 
image, the bands numbering changes thus making it difficult to recognize 
which layer corresponds to which original band.


I have tried to carry out this identification by comparing the metadata 
of the original bands and that of the stacked ones but this has proved 
to be unreliable as there are obviously some important changes.


Is there a way to identify which of the staked layers corresponds to 
which original separate band?


Best,

Ghanisen

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [QGIS-it-user] Integrazione Lidar DEM

2018-04-05 Per discussione Carlo Tersigni
Grazie per i consigli e le considerazioni, che ad una prima prova che ho
fatto, sembrano ben fondate.
Ho una buona esperienza con il calcolatore di campi per vettori, mentre non
ho una conoscenza sufficientemente approfondita per il calcolatore raster
da potermi avventurare in qualcosa che, come anche tu rilevi, potrebbe non
dare risultati ottimali (a quel punto sorgerebbe la domanda se ho sbagliato
io a fare qualcosa o se è proprio l'idea di partenza che non va).
Per quel che riguarda i tuoi suggerimenti su come procedere proverò a
metterli in pratica, utilizzando spatialite invece di postgis (anche in
questo caso è un problema di maggiore esperienza e conoscenza).
Comunque, dato che sto sperimentando. per ora mi sono ritagliato delle aree
più piccole di quella che è l'area totale e su queste, costituite da circa
un milione di punti, riesco a lavorare ancora con tempi umani.
Grazie ancora e saluti.
Carlo

Il giorno 5 aprile 2018 10:45, Sergio Gollino  ha
scritto:

> Buongiorno Carlo,
> anche per me vale il ragionamento di Francesco. Non è un lavoro da fare in
> vettoriale ma in raster.
> Aggiungo anche che secondo me ci sono delle problematiche di fondo: se
> l'analisi è unica forse è meglio avere lo stesso errore su tutta l'area
> piuttosto che avere un area a risoluzione diversa. Inoltre sui bordi dei
> due rilievi che unisci avrai delle differenze, probabilmente sensibili, che
> causeranno artefatti nel momento in cui ci fai delle elaborazioni sopra
> (vedrai la classica riga netta), mescolare due dem può inoltre causare
> artefatti all'interno della stessa area (sempre le solite righe). Non è
> detto ma per esperienza capita spesso (specialmente con dem di bassa
> qualità). Se crei un dem dal lidar a 15m anche se multiplo dell'altro, devi
> controllare che i pixel si sovrappongano perfettamente (a seconda del
> formato raster e del programma, il pixel viene disegnato a partire dalle
> coordinate dell'angolo in alto a destra o di quelle del centroide).
>
> A parte queste perplessità se vuoi comunque andare avanti in vettoriale
> puoi provare così:
>
> NON lavorare con csv o xyz. crea uno shapefile dei punti e importalo in un
> db postgresql+postgis (i punti sono troppi per sperare di gestire la cosa
> fuori da un db)
> stessa cosa per i punti del dem.
> dopo di che nel db cancella dal file del dem ai 30 metri i vertici che
> hanno coordinate simili (metti una tolleranza di 10 metri) (volendo puoi
> unirli tutti e fare la media dei valori ma non so quanto senso possa avere)
> prendi i punti lidar e riversali tutti nello strato del dem30
>
> da questo nuovo livello di punti puoi ricreare il raster.
>
> Se non conosci l'sql possiamo darti una mano per le query che sono molto
> semplici in realtà, ripeto però che sconsiglio questa via.
>
> Ciao
>
> Sergio
>
>
>
>
> Il giorno 2 aprile 2018 17:02, Carlo Tersigni  ha
> scritto:
>
>> Salve. Sto facendo una analisi geomorfologica per una ferrovia in Africa.
>> E' stato fatto un rilievo Lidar (risoluzione 15 metri) lungo una fascia di
>> circa 1,5 km a cavallo del tracciato, con la restituzione della nuvola di
>> punti in formato xyz o csv. Ho scaricato i DEM per l'area vasta, con
>> risoluzione 30 metri, dal sito USGS, per poter comprendere nell'analisi
>> anche i bacini di una certa importanza.
>> Per poter lavorare in maniera omogenea e poter aumentare l'accuratezza,
>> vorrei integrare il DEM con il rilievo Lidar. Ho pensato di procedere in
>> questo modo:
>> 1) Costruire una maglia di punti distanti 30 metri, larga circa 30 km e
>> lunga circa 120 km (in totale più di 10 milioni di punti).
>> 2) Campionare il DEM in corrispondenza dei punti per avere la z. Salvare
>> il layer in un csv, con xyz negli attributi.
>> 3) Fare un merge tra il layer dei punti Lidar e quello dei punti
>> ricampionati dal DEM, ottenendo un unico layer con un addensamento di punti
>> nella fascia a cavallo del tracciato.
>> 4) Ricostruire un nuovo DEM mediante il comando di interpolazione; su
>> tale DEM svolgere l'analisi morfologica con QGIS o con SAGA.
>> C'è però qualcosa che non va in questo piano di lavoro. Fino al
>> campionamento dei punti va tutto bene, ma in seguito il processo è
>> lentissimo e difficoltoso. Creare due nuove colonne di attributi in cui
>> riversare le coordinate x e y nel file di campionamento, in modo da avere
>> un i tre valori x, y e z nella tabella attributi, copiando le coordinate $x
>> e $y è praticamente impossibile; comunque risulta difficile copiare anche
>> l'attributo y in una apposita colonna (dato che la posizione ed il nome
>> sono errati).
>> Cosa c'è che non va in questo piano di lavoro? Qualcuno sa dirmi dove è
>> sbagliato o sa suggerirmi un percorso più efficiente, per poter integrare
>> il DEM con i dati del Lidar? Ho una buona esperienza con il calcolatore dei
>> campi per i vettori, un po' meno con il calcolatore per i DEM.
>> Tutti i file sono nello stesso SR: UTM 32N.
>> Grazie per 

Re: [Qgis-user] Multipart Split

2018-04-05 Per discussione Alexandre Neto
Piotrek,

The plugin is already available on QGIS 3 plugins repository. Make sure to
enable the experimental plugins.

Hope it is useful.

Alexandre Neto

Alexandre Neto  escreveu no dia domingo, 25/02/2018
às 23:56:

> Hi  Pior Kani a,
>
> Thanks for using (and missing)  my plugin!
>
> Updating the plugin to 3.0 is in my to do list. Just need to find some
> time to do it.
>
> Alexandre Neto
>
>
> A dom, 25/02/2018, 21:22, Piotr Kania  escreveu:
>
>> Hi,
>>
>> in Qgis 2.99 there is no editing tool similar to excellent (simple and
>> usable) Alexandre Neto's Multipart Split
>> (https://plugins.qgis.org/plugins/splitmultipart/) - or maybe I didn't
>> notice?
>>
>> Regards
>>
>> Piotrek
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> --
> Alexandre Neto
> -
> @AlexNetoGeo
> http://sigsemgrilhetas.wordpress.com
> http://gisunchained.wordpress.com
>
-- 
Alexandre Neto
-
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] unable to install external packages

2018-04-05 Per discussione Reginald Carlier
Hi,

It's not an option to install a virtualbox or other virtual machine on the PC's 
of the users. Besides that the script wouldn't work in a virtual environment 
because it has no access then to the resources it needs.

Regards,

Reginald Carlier
Deskundige GIS
Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster
T+32 51 33 74 39www.ingelmunster.be
Raadpleeg onze disclaimer
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [QGIS-it-user] Integrazione Lidar DEM

2018-04-05 Per discussione Sergio Gollino
Buongiorno Carlo,
anche per me vale il ragionamento di Francesco. Non è un lavoro da fare in
vettoriale ma in raster.
Aggiungo anche che secondo me ci sono delle problematiche di fondo: se
l'analisi è unica forse è meglio avere lo stesso errore su tutta l'area
piuttosto che avere un area a risoluzione diversa. Inoltre sui bordi dei
due rilievi che unisci avrai delle differenze, probabilmente sensibili, che
causeranno artefatti nel momento in cui ci fai delle elaborazioni sopra
(vedrai la classica riga netta), mescolare due dem può inoltre causare
artefatti all'interno della stessa area (sempre le solite righe). Non è
detto ma per esperienza capita spesso (specialmente con dem di bassa
qualità). Se crei un dem dal lidar a 15m anche se multiplo dell'altro, devi
controllare che i pixel si sovrappongano perfettamente (a seconda del
formato raster e del programma, il pixel viene disegnato a partire dalle
coordinate dell'angolo in alto a destra o di quelle del centroide).

A parte queste perplessità se vuoi comunque andare avanti in vettoriale
puoi provare così:

NON lavorare con csv o xyz. crea uno shapefile dei punti e importalo in un
db postgresql+postgis (i punti sono troppi per sperare di gestire la cosa
fuori da un db)
stessa cosa per i punti del dem.
dopo di che nel db cancella dal file del dem ai 30 metri i vertici che
hanno coordinate simili (metti una tolleranza di 10 metri) (volendo puoi
unirli tutti e fare la media dei valori ma non so quanto senso possa avere)
prendi i punti lidar e riversali tutti nello strato del dem30

da questo nuovo livello di punti puoi ricreare il raster.

Se non conosci l'sql possiamo darti una mano per le query che sono molto
semplici in realtà, ripeto però che sconsiglio questa via.

Ciao

Sergio




Il giorno 2 aprile 2018 17:02, Carlo Tersigni  ha
scritto:

> Salve. Sto facendo una analisi geomorfologica per una ferrovia in Africa.
> E' stato fatto un rilievo Lidar (risoluzione 15 metri) lungo una fascia di
> circa 1,5 km a cavallo del tracciato, con la restituzione della nuvola di
> punti in formato xyz o csv. Ho scaricato i DEM per l'area vasta, con
> risoluzione 30 metri, dal sito USGS, per poter comprendere nell'analisi
> anche i bacini di una certa importanza.
> Per poter lavorare in maniera omogenea e poter aumentare l'accuratezza,
> vorrei integrare il DEM con il rilievo Lidar. Ho pensato di procedere in
> questo modo:
> 1) Costruire una maglia di punti distanti 30 metri, larga circa 30 km e
> lunga circa 120 km (in totale più di 10 milioni di punti).
> 2) Campionare il DEM in corrispondenza dei punti per avere la z. Salvare
> il layer in un csv, con xyz negli attributi.
> 3) Fare un merge tra il layer dei punti Lidar e quello dei punti
> ricampionati dal DEM, ottenendo un unico layer con un addensamento di punti
> nella fascia a cavallo del tracciato.
> 4) Ricostruire un nuovo DEM mediante il comando di interpolazione; su tale
> DEM svolgere l'analisi morfologica con QGIS o con SAGA.
> C'è però qualcosa che non va in questo piano di lavoro. Fino al
> campionamento dei punti va tutto bene, ma in seguito il processo è
> lentissimo e difficoltoso. Creare due nuove colonne di attributi in cui
> riversare le coordinate x e y nel file di campionamento, in modo da avere
> un i tre valori x, y e z nella tabella attributi, copiando le coordinate $x
> e $y è praticamente impossibile; comunque risulta difficile copiare anche
> l'attributo y in una apposita colonna (dato che la posizione ed il nome
> sono errati).
> Cosa c'è che non va in questo piano di lavoro? Qualcuno sa dirmi dove è
> sbagliato o sa suggerirmi un percorso più efficiente, per poter integrare
> il DEM con i dati del Lidar? Ho una buona esperienza con il calcolatore dei
> campi per i vettori, un po' meno con il calcolatore per i DEM.
> Tutti i file sono nello stesso SR: UTM 32N.
> Grazie per eventuali correzioni o suggerimenti.
> ​Carlo Tersigni​
>
> --
> *Carlo TERSIGNI*
> *Via Padre Semeria, 6300154 - ROMA*
>
> *tel.: 333-4653589e-mail: carter@gmail.com *
>
> ___
> 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


Re: [Qgis-user] unable to deploy pythonscript

2018-04-05 Per discussione Patrick Dunford
Ask your system administrator to install VirtualBox or another VM 
environment (or Hyper-V Client, if your OS or desktop is capable of 
running it) and then use a virtual machine environment to run Qgis.



On 05/04/18 20:06, Reginald Carlier wrote:

Hi Frank,

The problem is that the system administrator prefers just one version 
of QGIS without installing OSGEO4W on every PC.

So I'm stuck with this version of QGIS.

Regards,

Reginald Carlier​

Deskundige GIS



Gemeente Ingelmunster   ,   Oostrozebekestraat 4,   8770
Ingelmunster

T   *+32 51 33 74 39*    
*www.ingelmunster.be* 

Facebook  	instagram 
 	pinterest 
 	twitter 



*Raadpleeg onze disclaimer * 



-Oorspronkelijk bericht-
Van: Frank Broniewski [mailto:ha...@frankbroniewski.com]
Verzonden: donderdag 5 april 2018 9:34
Aan: Reginald Carlier; qgis-user@lists.osgeo.org
Onderwerp: AW: [Qgis-user] unable to deploy pythonscript

Hi Reginald,

pip and setuptools are both available through the OSGeo4W installer. 
You might as well try to use the OSGeo4W-Shell and not the default 
Windows CMD to install further python modules through pip or 
setuptools. Using the OSGeo4W-Shell takes care for setting up the 
right environment for Python.


HTH
Frank

Dipl. Geogr. Frank Broniewski
Waldhölzbacher Str. 51
66679 Losheim am See
06872 509 068 4
0176 611 26 9 2 6
www.frankbroniewski.com

-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von Reginald
Gesendet: Donnerstag, 5. April 2018 08:26
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] unable to deploy pythonscript

Hi,

Maybe this question should be posted to the development mailinglist 
but as I am not subscribed there I post it here.
I have written a python script that depends on external python 
packages (python-docx, pymssq, and others). When I am trying to deploy 
it on other computers, where there is a standalone installation of 
QGIS-OSGeo4W-2.18.17-1-Setup-x86_64.exe on Windows 7 and where I have 
opened a cmd window as administrator, executed a bat file that sets 
the path right for the python environment of the installed qgis, I get 
an error when I try to execute pip commands.
I execute them as : python -m pip install python-docx Then I get a 
mentioning of setuptools that are not installed.
I tried to install setuptools with pip but then I got a mentioning of 
there not being a version of setuptools.
The python version is 2.75. I downloaded setuptools and unzipped it 
and executed easy_install.py but then I got a mentioning that I might 
have no rights to write to this directory. As I am administrator this 
can not be the case.
How can I install setuptools or use pip to download external python 
packages for the qgis python installation?


Regards,




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] unable to deploy pythonscript

2018-04-05 Per discussione Reginald Carlier
Hi Frank,

The problem is that the system administrator prefers just one  version of QGIS 
without installing OSGEO4W on every PC.
So I'm stuck with this version of QGIS.

Regards,


Reginald Carlier
Deskundige GIS
Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster
T+32 51 33 74 39www.ingelmunster.be
Raadpleeg onze disclaimer
-Oorspronkelijk bericht-
Van: Frank Broniewski [mailto:ha...@frankbroniewski.com]
Verzonden: donderdag 5 april 2018 9:34
Aan: Reginald Carlier; qgis-user@lists.osgeo.org
Onderwerp: AW: [Qgis-user] unable to deploy pythonscript

Hi Reginald,

pip and setuptools are both available through the OSGeo4W installer. You might 
as well try to use the OSGeo4W-Shell and not the default Windows CMD to install 
further python modules through pip or setuptools. Using the OSGeo4W-Shell takes 
care for setting up the right environment for Python.

HTH
Frank

Dipl. Geogr. Frank Broniewski
Waldhölzbacher Str. 51
66679 Losheim am See
06872 509 068 4
0176 611 26 9 2 6
www.frankbroniewski.com

-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von Reginald
Gesendet: Donnerstag, 5. April 2018 08:26
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] unable to deploy pythonscript

Hi,

Maybe this question should be posted to the development mailinglist but as I am 
not subscribed there I post it here.
I have written a python script that depends on external python packages 
(python-docx, pymssq, and others). When I am trying to deploy it on other 
computers, where there is a standalone installation of 
QGIS-OSGeo4W-2.18.17-1-Setup-x86_64.exe  on Windows 7 and where I have opened a 
cmd window as administrator, executed a bat file that sets the path right for 
the python environment of the installed qgis, I get an error when I try to 
execute pip commands.
I execute them as : python -m pip install python-docx Then I get a mentioning 
of setuptools that are not installed.
I tried to install setuptools with pip but then I got a mentioning of there not 
being a version of setuptools.
The python version is 2.75. I downloaded setuptools and unzipped it and 
executed easy_install.py but then I got a mentioning that I might have no 
rights to write to this directory. As I am administrator this can not be the 
case.
How can I install setuptools or use pip to download external python packages 
for the qgis python installation?

Regards,




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [QGIS-it-user] QGIS 3 e l'esportazione in immagine di un atlas

2018-04-05 Per discussione Totò
Totò wrote
> Buongiorno,
> ho aperto ticket : https://issues.qgis.org/issues/18534
> 
> se qualcuno volesse aggiungere qualcosa puo' farlo.
> 
> saluti

Riapro questo thread per chiedere a Paolo oppure a chi volesse rispondere,
come mai dopo 11 giorni dall'apertura del ticket, quest'ultimo non è stato
ancora preso in considerazione?
è scritto male?
è incomprensibile?

grazie

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


Re: [Qgis-user] unable to deploy pythonscript

2018-04-05 Per discussione Frank Broniewski
Hi Reginald,

pip and setuptools are both available through the OSGeo4W installer. You might 
as well try to use the OSGeo4W-Shell and not the default Windows CMD to install 
further python modules through pip or setuptools. Using the OSGeo4W-Shell takes 
care for setting up the right environment for Python.

HTH
Frank

Dipl. Geogr. Frank Broniewski
Waldhölzbacher Str. 51
66679 Losheim am See
06872 509 068 4
0176 611 26 9 2 6
www.frankbroniewski.com

-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von Reginald
Gesendet: Donnerstag, 5. April 2018 08:26
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] unable to deploy pythonscript

Hi,

Maybe this question should be posted to the development mailinglist but as I am 
not subscribed there I post it here.
I have written a python script that depends on external python packages 
(python-docx, pymssq, and others). When I am trying to deploy it on other 
computers, where there is a standalone installation of 
QGIS-OSGeo4W-2.18.17-1-Setup-x86_64.exe  on Windows 7 and where I have opened a 
cmd window as administrator, executed a bat file that sets the path right for 
the python environment of the installed qgis, I get an error when I try to 
execute pip commands.
I execute them as : python -m pip install python-docx Then I get a mentioning 
of setuptools that are not installed.
I tried to install setuptools with pip but then I got a mentioning of there not 
being a version of setuptools.
The python version is 2.75. I downloaded setuptools and unzipped it and 
executed easy_install.py but then I got a mentioning that I might have no 
rights to write to this directory. As I am administrator this can not be the 
case.
How can I install setuptools or use pip to download external python packages 
for the qgis python installation?

Regards,




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] True North

2018-04-05 Per discussione Alexandre Neto
Hi,

Is this what you need?

http://plugins.qgis.org/plugins/AzimuthDistanceCalculator/version/2.0/

Just stumbled on the description of this plugin and it mention that it can
calculate the convergence for UTM.

Hope it helps.

Alexandre Neto

A qua, 4/04/2018, 22:56, Springfield Harrison 
escreveu:

> hello Kristian,
>
> Thanks again for your help, I was partially successful. The second grid,
> the custom Mercator one that you described is not happy in the print
> composer. It does not persist but seems to revert back to the UTM grid with
> the word change on the CRS button.
>
> Not sure what that is all about but my main requirement is to be able to
> draw lines at specific angles with reference to true north. They will then
> be re -projected correctly based on the display projection. Unfortunately,
> the advanced digitizing tool does not work with Geographic projections, IE
> un projected Maps.
>
> If I can get lines that are guaranteed to be related to Geographic
> bearings, I could let the projection quirks sort themselves out on their
> own.
>
> If you have any thoughts on this I would be most appreciative...
>
> Cheers . . . . .   Spring
> Samsung Tab 4
> On Apr 4, 2018 9:41 AM, "Springfield Harrison" 
> wrote:
>
>> Okay, great. That is very helpful, I will work in the map composer. I
>> know what you are referring to there. Thanks again...
>>
>> Cheers . . . . .   Spring
>> Samsung Tab 4
>> On Apr 4, 2018 9:36 AM, "Kristian Evers"  wrote:
>>
>>> I made it within the Layout Composer/Editor (what it’s called in QGIS3
>>> escapes me now – it used to be Map Composer in 2.x). That was the simplest
>>> way to achieve it quickly I found. You have the possibility to add more
>>> than one graticule and you can also change the CRS of the graticule. That
>>> is what I did. One was kept in UTM, the other used my custom Mercator CRS.
>>>
>>>
>>>
>>> This is just one way of doing it. There many ways to achieve the same
>>> thing, but this should outline the general idea at least.
>>>
>>>
>>>
>>> My last post was not let through to the mailing list, so here’s a copy
>>> of the image I attached in the previous mail. Should anyone be interested…
>>>
>>>
>>>
>>> /Kristian
>>>
>>>
>>>
>>>
>>>
>>> *Fra:* Springfield Harrison [mailto:stellar...@gmail.com]
>>> *Sendt:* 4. april 2018 16:19
>>> *Til:* Kristian Evers 
>>> *Cc:* qgis-user 
>>> *Emne:* Re: SV: [Qgis-user] True North
>>>
>>>
>>>
>>> Right, this looks promising.
>>>
>>> I have been changing projections and then enabling the grid decoration
>>> which is always oriented straight up regardless of the projection.
>>>
>>> I assume that you were inserting your grids as a vector feature using a
>>> drawing tool?
>>>
>>> What was the CRS of the grid layer? I have been changing the project
>>> projection with OTF on. Maybe I should be adjusting the projection of the
>>> layer in question?
>>>
>>> Thanks again . . .
>>>
>>> Cheers . . . . .   Spring
>>> Samsung Tab 4
>>>
>>> On Apr 4, 2018 5:23 AM, "Kristian Evers"  wrote:
>>>
>>> I had a quick go at it after I wrote the email. What I did was to first
>>> create a custom projection with the proj-string “+proj=merc”. Then I opened
>>> the layout editor, inserted my map and added to sets of grid lines to the
>>> map. One of them was left with the original CRS (the UTM one) and for the
>>> other I used my custom CRS. This immediately gave me two grids, one where
>>> the meridians is oriented at the grid north (black in the attached image)
>>> and one oriented at true north (red in the attached image).
>>>
>>>
>>>
>>> /Kristian
>>>
>>>
>>>
>>> *Fra:* Springfield Harrison [mailto:stellar...@gmail.com]
>>> *Sendt:* 3. april 2018 22:52
>>> *Til:* qgis-user@lists.osgeo.org; Kristian Evers 
>>> *Emne:* Re: [Qgis-user] True North
>>>
>>>
>>>
>>> OK, that sounds like the solution I'm looking for.
>>>
>>> It sounds like the answer is to draw the lines in one projection and
>>> then transform it to the other, depending upon which orientation is desired
>>> for those lines.
>>>
>>> I hope I have this correct…
>>>
>>> Cheers . . . . . Springfield Harrison
>>>
>>>
>>>
>>> On 03-Apr-2018 02:46, Kristian Evers wrote:
>>>
>>> You can use the Mercator projection to digitize true north lines. It is
>>> conformal and thus preserves angles. The meridian convergence is 0 (that
>>> is, true north == grid north) all over the map. If you then transform those
>>> lines to your chosen CRS you should have a set of lines pointing towards
>>> true north instead of grid north.
>>>
>>>
>>>
>>> /Kristian
>>>
>>>
>>>
>>> *Fra:* Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org
>>> ] *På vegne af *Alexandre Neto
>>> *Sendt:* 3. april 2018 11:15
>>> *Til:* Springfield Harrison 
>>> 
>>> *Cc:* qgis-user  

[Qgis-user] unable to deploy pythonscript

2018-04-05 Per discussione Reginald
Hi,

Maybe this question should be posted to the development mailinglist but as I
am not subscribed there I post it here.
I have written a python script that depends on external python packages
(python-docx, pymssq, and others). When I am trying to deploy it on other
computers, where there is a standalone installation of
QGIS-OSGeo4W-2.18.17-1-Setup-x86_64.exe  on Windows 7 and where I have
opened a cmd window as administrator, executed a bat file that sets the path
right for the python environment of the installed qgis, I get an error when
I try to execute pip commands.
I execute them as : python -m pip install python-docx Then I get a
mentioning of setuptools that are not installed.
I tried to install setuptools with pip but then I got a mentioning of there
not being a version of setuptools.
The python version is 2.75. I downloaded setuptools and unzipped it and
executed easy_install.py but then I got a mentioning that I might have no
rights to write to this directory. As I am administrator this can not be the
case.
How can I install setuptools or use pip to download external python packages
for the qgis python installation?

Regards,




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user