Re: [QGIS-it-user] Errore comando Taglia

2017-10-21 Per discussione Mauro D'Ambroso
Grazie della pazienza ma credo che attenderò la 2.18.14

Mauro

2017-10-21 22:47 GMT+02:00 Salvatore Larosa :

> 2017-10-21 20:38 GMT+02:00 Mauro D'Ambroso :
>
>> Il log dice:
>>
>>
>> Uncaught error while executing algorithm
>>
>> Traceback (most recent call last):
>>
>> File 
>> "D:/OSGeo4W64/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py",
>> line 203, in execute
>>
>> self.processAlgorithm(progress)
>>
>> File "D:/OSGeo4W64/apps/qgis/./python/plugins\processing\algs\qgis\Clip.py",
>> line 99, in processAlgorithm
>>
>> total = 100.0 / len(features) if len(features) > 0 else 1
>>
>> NameError: global name 'features' is not defined
>>
>>
>>
>> Idee ?
>>
>
> Hai ragione, è un bug, già risolto ma sarà disponibile nella prossima
> versione (2.18.14).
> Ma trattandosi di un plugin python puoi cimentarti a fare tu la modifica
> per risolvere il problema senza attendere la prossima versione.
> Tutto quello che devi fare è modificare la riga 99 del file Clip.py [0]
>
> Saluti.
> -SL
>
> [0] - https://github.com/qgis/QGIS/commit/b2b494dd87261f736e8cacadfe7285
> da199696cd#diff-400b724c76c9b7eef479e332b2adf0cd
>
>
>
> --
> 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


Re: [QGIS-it-user] Errore comando Taglia

2017-10-21 Per discussione Salvatore Larosa
2017-10-21 20:38 GMT+02:00 Mauro D'Ambroso :

> Il log dice:
>
>
> Uncaught error while executing algorithm
>
> Traceback (most recent call last):
>
> File 
> "D:/OSGeo4W64/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py",
> line 203, in execute
>
> self.processAlgorithm(progress)
>
> File "D:/OSGeo4W64/apps/qgis/./python/plugins\processing\algs\qgis\Clip.py",
> line 99, in processAlgorithm
>
> total = 100.0 / len(features) if len(features) > 0 else 1
>
> NameError: global name 'features' is not defined
>
>
>
> Idee ?
>

Hai ragione, è un bug, già risolto ma sarà disponibile nella prossima
versione (2.18.14).
Ma trattandosi di un plugin python puoi cimentarti a fare tu la modifica
per risolvere il problema senza attendere la prossima versione.
Tutto quello che devi fare è modificare la riga 99 del file Clip.py [0]

Saluti.
-SL

[0] -
https://github.com/qgis/QGIS/commit/b2b494dd87261f736e8cacadfe7285da199696cd#diff-400b724c76c9b7eef479e332b2adf0cd



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


Re: [QGIS-it-user] Errore comando Taglia

2017-10-21 Per discussione Salvatore Larosa
2017-10-21 17:44 GMT+02:00 Mauro D'Ambroso :

> Si scusa sono un pò fuso...
> Confermo che la versione è la 2.12.99
>

La versione è corretta, allora prova a rilanciare l'algoritmo e dopo averlo
lanciato vedi cosa dice il Log (clicca sull'icona in basso a sinistra nella
barra di stato).

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


Re: [Qgis-user] Filter syntax for date fields

2017-10-21 Per discussione Patrick Dunford
Yes. I have read that document. However, the issue isn't the SQL
support, it is recognising a date constant in what is effectively a
WHERE clause, because none of the usual ways of specifying a date
constant (in other forms of SQL) are recognised, nor is it documented
there.
Because you could put a range of dates like 1984-01-01 to 1984-12-31 to
work with a year if the format for inputting a date constant was
available.
On Fri, 2017-10-20 at 10:14 +, Alexandre Neto wrote:
> Hi,
> Vector Layer filtering SQL syntax is limited to the data provider. If
> you are using a shapefile, then the provider is GDAL and you are
> limited to this operands:
> 
> http://www.gdal.org/ogr_sql.html
> If you used Geopackage or Spatialite or PostGIS you would probably
> have more datetime specific operands that might work with your field.
> Alexandre Neto
> 
> 
> A sex, 20/10/2017, 03:30, Patrick Dunford 
> escreveu:
> > I have a shapefile table with 300,000 records of polygons that I
> > want
> > 
> > to filter for display on the map canvas. I want to use the field
> > called
> > 
> > "date" which is defined as a Qdate in the fields list in the
> > 
> > shapefile's properties.
> > 
> > 
> > 
> > The question is how to put in the filter string in the correct
> > syntax
> > 
> > to give me for example all the records that are for the calendar
> > year
> > 
> > of 1984.
> > 
> > ___
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] Errore comando Taglia

2017-10-21 Per discussione Mauro D'Ambroso
Si scusa sono un pò fuso...
Confermo che la versione è la 2.12.99



Il giorno 21 ottobre 2017 17:38, Salvatore Larosa  ha
scritto:

> 2017-10-21 17:20 GMT+02:00 Mauro D'Ambroso :
>
>> Non sono sicuro di aver capito cosa intendi. Dove verifico la versione di
>> processing ?
>> Ho sempre installato i file come da procedura guidata dell'utility che si
>> trova in rete, mai fatto alchimie strane, non ne sono in grado...
>>
>
> Intendevo la versione del plugin processing, che puoi vedere dal gestore
> dei plugin (menu Plugin - > Installa plugin).
>
> --
> 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


Re: [QGIS-it-user] Errore comando Taglia

2017-10-21 Per discussione Salvatore Larosa
2017-10-21 17:20 GMT+02:00 Mauro D'Ambroso :

> Non sono sicuro di aver capito cosa intendi. Dove verifico la versione di
> processing ?
> Ho sempre installato i file come da procedura guidata dell'utility che si
> trova in rete, mai fatto alchimie strane, non ne sono in grado...
>

Intendevo la versione del plugin processing, che puoi vedere dal gestore
dei plugin (menu Plugin - > Installa plugin).

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


Re: [QGIS-it-user] Qgis3 - il tridimensionale e rendering

2017-10-21 Per discussione Luca Mandolesi
Sergio, di solito metto tutto in blende usando BlenderGIS e fotografo la
scena ad alta risoluzione.
3 Passaggi e immagini ottime!

Il giorno 19 ottobre 2017 08:57, Sergio Gollino 
ha scritto:

> Sapete dirmi se QGIS 3d permette di fare stampe (tipo da composer)?
> Purtroppo mi capita di dover produrre stampe in 3d e Qgis2threejs non lo
> permette e il print screen ovviamente è una cosa obrobriosa...
> Oppure avete qualche alternativa da consigliarmi?
>
> Grazie
>
> SG
>
> Il giorno 18 ottobre 2017 16:57, Totò  ha
> scritto:
>
>> ho registrato un video con spiegazioni dei tasti del mouse [0]:
>>
>> tasto sinistro solo pan
>> tasto destro sono zoom senza pan
>> tasto centrale (rotellina) rotazione 3D con punto fisso
>> tasto centrale + tasto destro rotazione 3D e zoom
>>
>> il non corretto funzionamento potrebbe dipendere dalla configurazione del
>> mouse!?!
>>
>> [0] https://www.youtube.com/watch?v=vn80TJ6Sc9I=
>>
>>
>>
>> -
>> 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
>>
>
>
>
> --
> 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


Re: [QGIS-it-user] Errore comando Taglia

2017-10-21 Per discussione Salvatore Larosa
2017-10-21 10:40 GMT+02:00 Mauro D'Ambroso :

> Buongiorno a tutti.
>
> Da qualche tempo in Qgis 2.18.13 l'algoritmo di Clip (Taglia) selezionato
> dal barra menu (Vettore/Strumenti di geoprocessing/Taglia) mi da il
> seguente errore nella finestra di log:
>
> global name 'features' is not defined See log for more details
>

Ho visto cose simile su macchine che avevano una versione di processing
differente da quella preinstallata con QGIS (2.12.99).
Quale versione hai tu?



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


Re: [QGIS-it-user] Errore comando Taglia

2017-10-21 Per discussione Mauro D'Ambroso
Be già il fatto che non si manifesti a tutti nelle medesima configurazione
macchina mi fa escludere un errore di librerie.

I poligoni sono piuttosto banali (massimo 30-40 nodi) e corretti
geometricamente (valutati con l'apposito comando).
Propendo per qualche errore di installazione di qualcosa in fase di
aggiornamento.
Tra l'altro ho appena scoperto che mi si è disinstallato saga dalla toolbox
(boh?).

Proverò a rifare l'installazione e alla meno peggio pulisco tutto e
reinstallo.

Grazie



Il giorno 21 ottobre 2017 11:32, Totò  ha
scritto:

> Mauro D'Ambroso wrote
> > Buongiorno a tutti.
> >
> > Da qualche tempo in Qgis 2.18.13 l'algoritmo di Clip (Taglia) selezionato
> > dal barra menu (Vettore/Strumenti di geoprocessing/Taglia) mi da il
> > seguente errore nella finestra di log:
> >
> > global name 'features' is not defined See log for more details
> >
> > e si blocca.
> >
> > Lo stesso identico errore compare anche utilizzando gli strumenti di
> > processing richiamando il comando dai geoalgoritmi di Qgis.
> >
> > Riscontrato su due macchine diverse con installato Windows 10 64bit 1703.
> > Qgis è installato via OSgeo4W64 e fino ad ora non avevo avuto problemi.
> > Potrebbe essere l'aggiornamento recente di qualche libreria? Qualcuno ha
> > riscontrato lo stesso errore ?
> >
> > Grazie.
> >
> > Mauro
>
> Ciao, abbiamo stessa configurazione ma da me non accade.
> Puoi descrive un pò i dati che usi?
>
> poi, hai fatto prove anche con strati diversi?
>
> 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] Errore comando Taglia

2017-10-21 Per discussione Totò
Mauro D'Ambroso wrote
> Buongiorno a tutti.
> 
> Da qualche tempo in Qgis 2.18.13 l'algoritmo di Clip (Taglia) selezionato
> dal barra menu (Vettore/Strumenti di geoprocessing/Taglia) mi da il
> seguente errore nella finestra di log:
> 
> global name 'features' is not defined See log for more details
> 
> e si blocca.
> 
> Lo stesso identico errore compare anche utilizzando gli strumenti di
> processing richiamando il comando dai geoalgoritmi di Qgis.
> 
> Riscontrato su due macchine diverse con installato Windows 10 64bit 1703.
> Qgis è installato via OSgeo4W64 e fino ad ora non avevo avuto problemi.
> Potrebbe essere l'aggiornamento recente di qualche libreria? Qualcuno ha
> riscontrato lo stesso errore ?
> 
> Grazie.
> 
> Mauro

Ciao, abbiamo stessa configurazione ma da me non accade.
Puoi descrive un pò i dati che usi?

poi, hai fatto prove anche con strati diversi?

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] Errore comando Taglia

2017-10-21 Per discussione Mauro D'Ambroso
Buongiorno a tutti.

Da qualche tempo in Qgis 2.18.13 l'algoritmo di Clip (Taglia) selezionato
dal barra menu (Vettore/Strumenti di geoprocessing/Taglia) mi da il
seguente errore nella finestra di log:

global name 'features' is not defined See log for more details

e si blocca.

Lo stesso identico errore compare anche utilizzando gli strumenti di
processing richiamando il comando dai geoalgoritmi di Qgis.

Riscontrato su due macchine diverse con installato Windows 10 64bit 1703.
Qgis è installato via OSgeo4W64 e fino ad ora non avevo avuto problemi.
Potrebbe essere l'aggiornamento recente di qualche libreria? Qualcuno ha
riscontrato lo stesso errore ?

Grazie.

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


Re: [Qgis-user] running qgis Docker container on Mac?

2017-10-21 Per discussione Matthias Kuhn
Hi,

this container was designed for automated testing, hence the call to
this script.

What you want instead is to run QGIS (and not its tests), so you could
try something like


docker run qgis/qgis /root/QGIS/build/output/bin/qgis


I guess you will also need to do some additional tricks to get any
window to show up, docker is not designed to run gui application. IIRC
there's a thing called xquartz that can help here.

Matthias


On 10/20/2017 08:21 PM, Lynnes, Christopher S. (GSFC-5860) wrote:
> Has anyone gotten the latest qgis/qgis Docker container to work on Mac?
>
> I'm on a MacBook Air running 10.11.6. I am running Docker  17.09.0-ce.  I 
> have been trying to get QGIS installed on my machine (without having to muck 
> around with my Qt dirs), so I tried the containerized route.  I downloaded 
> qgis/qgis from hub.docker.com.  When I run it, though, I get an immediate 
> exit:
>
>>> docker run qgis/qgis
>>> /bin/sh: 1: /root/QGIS/.ci/travis/linux/docker-build-test.sh: not found
>>> echo $?
>>> 127
> Inspecting the container, I see the offending command:
>> "Cmd": [
>> "/bin/sh",
>> "-c",
>> "/root/QGIS/.ci/travis/linux/docker-build-test.sh"
>> ],
> Then looking at the QGIS master branch’s Dockerfile, 
> https://issues.qgis.org/projects/qgis/repository/revisions/master/entry/.docker/Dockerfile
>
> I see it again at the bottom.  
>
> I tried submitting a bug report, but it was rejected as not being a QGIS 
> problem.
>
> Any suggestions on how to proceed?
> —
> Christopher Lynnes   NASA/GSFC301-614-5185
> ""Perfection is achieved, not when there is nothing more to add, but when 
> there is nothing left to take away.”  A. de St. Exupery
>
>
>
> ___
> 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