[Gfoss] [QGIS] operazioni batch su layer postgis

ciao a tutti,
dovendo fare massive operazioni di intersect di layer postgis con un
semplice quadrato di estrazione, ho pensato di usare un modulo di processing
(in particolare il modulo "cut shapes" di saga) in modalità batch.
mi sono subito inchiodato perchè tutte le operazioni posono essere eseguite
solo su dataset che esistono su file system (shape, kml ecc) e quindi non
posso usarli direttamente.
dovrei prima convertire le tavole in shape e poi usare la funzione di
intersect in batch ma anche questo andrebbe fatto "manualmente" tavola per
tavola e occupando parecchio spazio sul disco, e comunque sarebbe un
passaggio in più.

mi sapreste indicare una strada per non dovere fare l'operazione a mano,
layer per layer?

grazie mille

s.

--
View this message in context: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/QGIS-operazioni-batch-su-layer-postgis-tp7587662.html
Sent from the Gfoss -- Geographic Free and Open Source Software - Italian mailing list mailing list archive at Nabble.com.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 10/04/2014 04:56, stefano campus ha scritto:

mi sapreste indicare una strada per non dovere fare l'operazione a mano,
layer per layer?

1. una procedura in plpgsql
2. (meglio) chiedere a Victor il perche' di questa limitazione, e come superarla:
dovrebbe essere molto interessato, in quanto dove lavora ora usano appunto Processing
in QGIS per gestire PostGIS (e Geoserver).
Saluti.
- --
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlNGMq0ACgkQ/NedwLUzIr6ArQCgjWL1kSvYrT9oOgExsl+V85QI
ePoAn2ubksOgFy4THEAx58nmsP5efu/p
=U/od
-----END PGP SIGNATURE-----

Paolo Cavallini wrote

2. (meglio) chiedere a Victor il perche' di questa limitazione, e come
superarla:
dovrebbe essere molto interessato, in quanto dove lavora ora usano appunto
Processing
in QGIS per gestire PostGIS (e Geoserver).

sarebbe anche solo sufficiente che si potessero selezionare i temi già
presenti nella toc

scrivo in lista sviluppatori, grazie del consiglio

s.

ps: nel punto 1 pensavo mi stessi facendo "come fosse antani, con
scappellamento a destra". ho dovuto leggere su wikipedia il significato di
plpgsql
:slight_smile:

--
View this message in context: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/QGIS-operazioni-batch-su-layer-postgis-tp7587662p7587665.html
Sent from the Gfoss -- Geographic Free and Open Source Software - Italian mailing list mailing list archive at Nabble.com.

"ma perchè sei così fissato con i software open?" mi chiedono a volte.
ecco la risposta di victor olaya sulla lista di sviluppo di qgis alla mia
richiesta che sgombra il campo da ogni dubbio! :slight_smile:

I cannot think of any reason right now, so it looks like I designed it
like that and did not consider that alternative. My fault :frowning:

Could you add a ticket in the issue tracker, with this as a feature
request? I will try to work on that I will crearly be a good
improvement

Thanks for the idea!

2014-04-11 16:57 GMT+02:00 skampus <[hidden email]>:

hello to all,
I have to make massive operations of "intersect" between postgis layers
and
one simple area of extraction (shape file).
I was thinking of using a module of Processing (in particular the "shapes
cut" saga module) in batch mode.
I immediately stopped because all operations can be performed only on data
sets that exist on the file system (shape, kml, etc.) so I can not use
postgis tables directly.

I should first convert the tables into shapes and then use the function
intersect in the batch but this should be done "manually", taking up a lot
of disk space, and in any case it would be an extra step.

is there a reason why all operations in batch mode have to be performed
only
with shape files et similia?

ciao

s.

--
View this message in context: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/QGIS-operazioni-batch-su-layer-postgis-tp7587662p7587700.html
Sent from the Gfoss -- Geographic Free and Open Source Software - Italian mailing list mailing list archive at Nabble.com.

"chiedete e vi sarà dato..."

ieri ho ripreso in mano il massivo intersect e che cosa trovo nella funzione
batch?
la possibilità di operare su dataset da filesystem e dataset che sono già
presenti nella vista.
ecco risolto il mio problema di usare tavole postgis in funzioni batch di
processing.

yepppaaa

s.

--
View this message in context: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/QGIS-operazioni-batch-su-layer-postgis-tp7587662p7588046.html
Sent from the Gfoss -- Geographic Free and Open Source Software - Italian mailing list mailing list archive at Nabble.com.