Re: [QGIS-it-user] Ortogonali ad una linea

2017-12-01 Thread Ivano
Buongiorno Giulio,


1) Sarebbe opportuno formulare i quesiti in post dedicati, al fine di
poterne dare un seguito contestualizzato e pertinenti al  Thread di
apertura.





--
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] QGIS 3.0 - #24daysofqgis

2017-12-01 Thread Totò
La North Road, azienda per cui lavora Nyall Dawson uno dei piu attivI QGIS
core developer, annuncia che per i prossimi 24 giorni presenteranno alcune
nuove interessanti funzionalità su #QGIS 3.0, una al giorno!!!
https://goo.gl/NJDsG2
Noi, pagina di QGIS Italia, ci saremo!!! #qgisadvent #24daysofqgis
@northroadgeo

1 di #24daysofqgis: In Australia è gia domani, cioè 2 dic - ecco prima
feature:
https://twitter.com/northroadgeo/status/936710866413559808


PS: probabilmente non riuscirò a seguirli tutti, quindi chiedo un
supporto!!!


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] Processing Model issue

2017-12-01 Thread Nyall Dawson
On 1 December 2017 at 23:10, Richard McDonnell  wrote:
>
> Hi,
> Ive an issue, which Im hoping someone could have a solution or point me in a 
> direction of a solution.
> We have developed a Processing model on QGIS 2.8, which interpolates a raster 
> from points and subtracts the resultant from a DEM to produce a depth raster.
> This tool works flawlessly in 2.8, but in 2.14, 2.18 and 2.99 it fails at the 
> Raster Calculator stage, producing the same error. I have ran this using both 
> GDAL and SAGA raster calculators, but no luck.
> See attached error Logs.
> I would appreciate any help in this.
> Regards,

Seems like the error is coming from SAGA:

Error: grid: memory allocation failed [1545.94mb]

If you run the SAGA command manually (via the command line), does it
work? Maybe the error is due to a newer SAGA version, and unrelated to
QGIS.
Nyall
___
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] Processing Model issue

2017-12-01 Thread Richard McDonnell

Hi,
Ive an issue, which Im hoping someone could have a solution or point me 
in a direction of a solution.
We have developed a Processing model on QGIS 2.8, which interpolates a 
raster from points and subtracts the resultant from a DEM to produce a 
depth raster.
This tool works flawlessly in 2.8, but in 2.14, 2.18 and 2.99 it fails 
at the Raster Calculator stage, producing the same error. I have ran 
this using both GDAL and SAGA raster calculators, but no luck.

See attached error Logs.
I would appreciate any help in this.
Regards,

Richard.

--
*/_Richard McDonnell_/*
*GIS Specialist PgD GIS AssocSCSI*
*OPW FRM Data Management*
*52 Stephens Green, Dublin 2. D02 DR67*
TEL: 01 6476543

/*Sending files bigger than 9MB please use*/ *https://filetransfer.opw 
*


OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart
OPW - Looking to the future - Caring for the past

***
Email Disclaimer: http://www.opw.ie/en/disclaimer/

Algorithm Test_Raster_Calc starting...
Prepare algorithm: SAGAINVERSEDISTANCEWEIGHTED_1
Running Inverse distance weighted interpolation [1/2]
Parameters: SHAPES 
=\\tsclient\Z\DataManagementProject\12_FRAM_Data\00_FINAL_datasets\nodes\suir\Nodes_M1_M6_160617_ti_5k.shp,
 FIELD =WL10Pct, DW_WEIGHTING =1, DW_IDW_POWER =2, DW_IDW_OFFSET =False, 
DW_BANDWIDTH =1, SEARCH_RANGE =0, SEARCH_RADIUS =1000, SEARCH_POINTS_ALL =0, 
SEARCH_POINTS_MIN =-1, SEARCH_POINTS_MAX =10, SEARCH_DIRECTION =0, 
SEARCH_POINTS_ALL =0, SEARCH_POINTS_MAX =10, OUTPUT_EXTENT 
=199054.716026,203254.597244,135900.556902,140589.313182, TARGET_USER_SIZE =2, 
TARGET_DEFINITION =0, TARGET_USER_FITS =0, TARGET_TEMPLATE 
=D:\TEST\suir_02m_mosaic_reproject.tif
io_gdal 0 -TRANSFORM 1 -RESAMPLING 0 -GRIDS 
"C:\Users\User\AppData\Local\Temp\processing0641d3031b764e9c8afad7758f3cc5b1\682968086f4d43e4b3c7e8575021f019\suir02mmosaicreproject.sgrd"
 -FILES "D:\TEST\suir_02m_mosaic_reproject.tif"
grid_gridding "Inverse Distance Weighted" -SHAPES 
"\\tsclient\Z\DataManagementProject\12_FRAM_Data\00_FINAL_datasets\nodes\suir\Nodes_M1_M6_160617_ti_5k.shp"
 -FIELD "WL10Pct" -DW_WEIGHTING 1 -DW_IDW_POWER 2 -DW_IDW_OFFSET false 
-DW_BANDWIDTH 1 -SEARCH_RANGE 0 -SEARCH_RADIUS 1000 -SEARCH_POINTS_ALL 0 
-SEARCH_POINTS_MIN -1 -SEARCH_POINTS_MAX 10 -SEARCH_DIRECTION 0 
-SEARCH_POINTS_ALL 0 -SEARCH_POINTS_MAX 10 -TARGET_USER_XMIN 199054.716026 
-TARGET_USER_XMAX 203254.597244 -TARGET_USER_YMIN 135900.556902 
-TARGET_USER_YMAX 140589.313182 -TARGET_USER_SIZE 2 -TARGET_DEFINITION 0 
-TARGET_USER_FITS 0 -TARGET_TEMPLATE 
"C:\Users\User\AppData\Local\Temp\processing0641d3031b764e9c8afad7758f3cc5b1\682968086f4d43e4b3c7e8575021f019\suir02mmosaicreproject.sgrd"
 -TARGET_OUT_GRID 
"C:\Users\User\AppData\Local\Temp\processing0641d3031b764e9c8afad7758f3cc5b1\1bb13bcdf5434f94877a695133c56039\TARGETOUTGRID.sdat"

C:\OSGeo4W\bin>set SAGA=C:\OSGeo4W\apps\saga-ltr

C:\OSGeo4W\bin>set SAGA_MLB=C:\OSGeo4W\apps\saga-ltr\modules

C:\OSGeo4W\bin>PATH=c:\osgeo4w\apps\python27\lib\site-packages\shapely-1.2.18-py2.7-win32.egg\shapely\DLLs;C:\OSGeo4W\apps\Python27\DLLs;C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\core;C:\OSGeo4W\apps\qgis-ltr\bin;C:\OSGeo4W\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32\WBem;C:\OSGeo4W\apps\Python27\Scripts;;C:\OSGeo4W\apps\saga-ltr;C:\OSGeo4W\apps\saga-ltr\modules

C:\OSGeo4W\bin>saga_cmd io_gdal 0 -TRANSFORM 1 -RESAMPLING 0 -GRIDS 
"C:\Users\User\AppData\Local\Temp\processing0641d3031b764e9c8afad7758f3cc5b1\682968086f4d43e4b3c7e8575021f019\suir02mmosaicreproject.sgrd"
 -FILES "D:\TEST\suir_02m_mosaic_reproject.tif"


# ## # ##
### ### ## ###
### # ## ##  # ##
### # ## # #
# # ## # # ##


SAGA Version: 2.3.2 (32 bit)


library path: C:\OSGeo4W\apps\saga-ltr\modules\
library name: io_gdal
library : GDAL/OGR
tool : Import Raster
author : O.Conrad (c) 2007 (A.Ringeler)
processors : 12 [12]




Parameters


Grids: No objects
Files: "D:\TEST\suir_02m_mosaic_reproject.tif"
Select from Multiple Bands:
Alphanumeric Sorting: yes
Transformation: yes
Resampling: Nearest Neighbour


loading: D:\TEST\suir_02m_mosaic_reproject.tif



Driver: GTiff

Bands: 1

Rows: 43500

Columns: 34000


loading: suir_02m_mosaic_reproject
Error: grid: memory allocation failed [1545.94mb]
Error: executing tool [Import Raster]

C:\OSGeo4W\bin>saga_cmd grid_gridding "Inverse Distance Weighted" -SHAPES 
"\\tsclient\Z\DataManagementProject\12_FRAM_Data\00_FINAL_datasets\nodes\suir\Nodes_M1_M6_160617_ti_5k.shp"
 -FIELD "WL10Pct" -DW_WEIGHTING 1 -DW_IDW_POWER 2 -DW_IDW_OFFSET false 
-DW_BANDWIDTH 1 -SEARCH_RANGE 0 -SEARCH_RADIUS 1000 -SEARCH_POINTS_ALL 0 
-SEARCH_POINTS_MIN -1 -SEARCH_POINTS_MAX 10 -SEARCH_DIRECTION 0 
-SEARCH_POINTS_ALL 0 -SEARCH_POINTS_MAX 10 -TARGET_USER_XMIN 199054.716026 

Re: [Qgis-user] [QGIS-Developer] Fwd: My PostgreSQL/PostGIS function to create all missing spatial indexes

2017-12-01 Thread kimaidou
I have improved my function.

Now it returns a table containing the schema, table name and column name.
You need to use it with
SELECT * FROM create_missing_spatial_indexes();

If you would like to only get the informations about missing indexes, there
is a new "simulate" parameter.
SELECT * FROM create_missing_spatial_indexes(True);

URL : https://gist.github.com/mdouchin/cfa0e37058bcf102ed490bc59d762042

Cheers,
Michaël

2017-12-01 12:10 GMT+01:00 Salvatore Larosa :

> Thank you very much!
>
> --
> Sent from my mobile phone
>
> Il 01 Dic 2017 12:01 PM, "kimaidou"  ha scritto:
>
>> Hi users and devs,
>>
>> I just created a very simple function [1] to create all the missing
>> spatial indexes on your table geometry columns.
>>
>> It is the 1st version, has no fancy parameter to choose tables or
>> schemas, nor return anything usefull (only notices).
>>
>> Use it with a simple
>> SELECT create_missing_spatial_indexes();
>>
>> [1] https://gist.github.com/mdouchin/cfa0e37058bcf102ed490bc59d762042
>>
>> Regards,
>> Michael
>>
>>
>> ___
>> QGIS-Developer mailing list
>> qgis-develo...@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
___
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] My PostgreSQL/PostGIS function to create all missing spatial indexes

2017-12-01 Thread kimaidou
Hi users and devs,

I just created a very simple function [1] to create all the missing spatial
indexes on your table geometry columns.

It is the 1st version, has no fancy parameter to choose tables or schemas,
nor return anything usefull (only notices).

Use it with a simple
SELECT create_missing_spatial_indexes();

[1] https://gist.github.com/mdouchin/cfa0e37058bcf102ed490bc59d762042

Regards,
Michael
___
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] stampa mappe su file

2017-12-01 Thread Falz
ciao!
1) Personalmente per il Quickmapservices, prima cosa vado su Settings, More
services, Get contributed pack.
2) Scelgo poi da un esaustivo elenco di servizi la mappa che mi interessa
caricandola nella TOC
3) Tasto dx sul layer, Salva con nome...
4) Esempio di settaggio per export: Dati grezzi, SR, estensione
personalizzata per non appesantire troppo, Risoluzione (H/V=25 buona per
Terrain, mappe a grandi scale)
5) Una volta ottenuto il Gtiff, faccio le mappe che voglio con il
Compositore stampe di Qgis; come risoluzione di esportazione uso
DPI(150-300max)

Faccio un po' di prove e valuto quale scegliere.




--
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] stampa mappe su file

2017-12-01 Thread Simone Barbarotti
Scusa la curiosità ma rispetto all esportazione classica che vantaggi hai?

Il 1 dic 2017 9:09 AM, "paolo.guerres...@tin.it" 
ha scritto:

>  Ho installato il Plugins QuickMapServices Versione 0.19.3 ed è molto
> funzionale.
> Devo produrre delle stampe di mappe su file. Quando esporto l'immagine
> anche cambiando
> la risoluzione non vedo cambiamenti significativi nella qualità
> dell'immagine ottenuta.
> C'è qualche parametro che mi permette di avere un file con maggiore
> definizione?
> Grazie
> Buona giornata
> Paolo Guerreschi
>
> ___
> 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] Accedere al gestore di stili o simboli di Qgis tramite python

2017-12-01 Thread Luca Mandolesi
Ciao Salvatore,
ho visto quella risposta. A naso mi pare di capire che non si possono
listare gli stili salvati se prima non si esplicita
il tipo di layer a cui fare riferimento. Ho capito bene?

Il giorno 30 novembre 2017 21:49, Salvatore Larosa  ha
scritto:

> Ciao Luca,
>
> 2017-11-30 21:05 GMT+01:00 Luca Mandolesi :
>
>> Salve a tutti,
>> avevo in mente di provare a fare una funzioncina con python legata al
>> gestore della simbologia di Qgis.
>>
>> Se volessi accedere al gestore simboli tramite python, per listare per
>> esempio i nomi degli stili che ho creato oppure i gruppi ecc., quale è la
>> classe di riferimento?
>> Ho ravanato pe 2 giorni ma continuo a non capire la logica per passare
>> dall'interfaccia di Qgis alla classe pyQgis corrispondente... sarebbe bello
>> anche avere un help dentro le GUI di Qgis che ti fanno vedere o ti
>> suggeriscono le classi chiamate mentre si lavora.
>>
>
> questa risposta potrebbe essere di aiuto?: http://bit.ly/2zBT6Yy
>
>
> --
> 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] Ortogonali ad una linea

2017-12-01 Thread Giulio Fattori
Buongiorno a tutti, intanto ancora complimenti ai programmatori di Qgis 
ed agli estensori della presentazione,


avrei un problema da risolvere, forse banale ma a cui non sono riuscito 
a porre soluzione:


ho un layer puntuale ed un layer lineare, ho ottenuto tutte le linee di 
minima distanza dei punti dalla linea (generica spezzata), come posso 
escludere tutte le linee di minima distanza che non risultino ortogonali 
alla linea spezzata?


Avete qualche dritta ?

Saluti

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


[QGIS-it-user] stampa mappe su file

2017-12-01 Thread paolo.guerres...@tin.it
 Ho installato il Plugins QuickMapServices Versione 0.19.3 ed è molto 
funzionale.Devo produrre delle stampe di mappe su file. Quando esporto 
l'immagine anche cambiando la risoluzione non vedo cambiamenti significativi 
nella qualità dell'immagine ottenuta.C'è qualche parametro che mi permette di 
avere un file con maggiore definizione?GrazieBuona giornataPaolo Guerreschi___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user