[Qgis-user] Open Layers Plugin crashes in QGIS 2.16

2016-07-20 Thread Giacomo Fontanelli
Dear forum I use QGIS 2.16 with Lubuntu 16.04.64bit. Software crashes each time I try to use OpenLayerPlugin. The first time a message appeared with " Python Error: An error has occurred while executing Python code. See message log. I was not able to read the log. Now when I try to launch the

[Qgis-user] Spatial resampling of a point vector layer using QGIS

2016-11-10 Thread Giacomo Fontanelli
down votefavorite I have a vector layer with points located on a regular square grid of 2Km. The layer has a column with a numeric value (crop yield) for each point. I would like to resample the v

[Qgis-user] Editing and saving raster metadata

2016-11-23 Thread Giacomo Fontanelli
Dear forum When I double click on a raster layer I can then access to metadata. If I write something in Abstract or Title etc and then I quit QGIS and start again the software I found that all the information I saved in the metadata are lost. How can I do to definitively save edit on my metadata?

Re: [Qgis-user] Editing and saving raster metadata

2016-11-24 Thread Giacomo Fontanelli
: > Il 23/11/2016 23:50, Giacomo Fontanelli ha scritto: > > Dear forum > > > > When I double click on a raster layer I can then access to metadata. > > If I write something in Abstract or Title etc and then I quit QGIS and > > start again the software I found that a

[Qgis-user] raster borders as a vector polygon file

2016-12-30 Thread Giacomo Fontanelli
Hi forum I would like to extract the borders of a raster file and save it as a vector polygon. I'm sure that QGIS (I use the 2.18 version) did it in previous versions, but now I found that is possible only to extract the borders of a vector file. Thank you _

[Qgis-user] An issue with DEM terrain models

2017-03-09 Thread Giacomo Fontanelli
Hi everybody I'm using a SRTM 4 (Geotiff, Int16 - Sixteen bit signed integer) and QGIS 2.18.1. I tried to produce a slope map using Raster > analysis > DEM (terrain model). In case I would like to have degrees as output i obtain a map with values from 89.5 to 90 degrees only, so almost impossibl

[Qgis-user] Error in clipping a raster

2017-03-23 Thread Giacomo Fontanelli
Hello forum I'm trying to cut a raster (geo tif) using a polygon shape. Both are in the same reference system. The polygon is not a regular polygon, but has many vertex. I'm using raster > extraction > clipper, but at the end I receive this error message ERROR 1: Unable to compute a transformation

[Qgis-user] python crashes in QGIS. Is there a log file?

2017-08-03 Thread Giacomo Fontanelli
Dear forum I'm writing some scripts in python in my qgis 2.18.11. I use Lubuntu 16.04 64 bit. There is an error in my python script that causes the crash of qgis. When I launch the script, QGIS quits after few operations, without giving me any error warning. I'm asking if there is a .log file o

[Qgis-user] Hi everybody

2011-12-27 Thread Giacomo Fontanelli
Hi, I'm Giacomo Fontanellin from Florence, Italy. I'm a PhD for University of Basilicata, I work on remote sensing of environment. I'm quite new with QGis, buti I like it, cause it's very easy to use and user-friendly.   This is my problem:  I've got many shape file in a project, each of those wit

[Qgis-user] Georeferencing raster

2011-12-29 Thread Giacomo Fontanelli
Hi I've used the georeferencing plugin in QGis 1.7.2 Wroclaw for a Tif image. I think I've followed the right procedure, indeed I can see the GCP upon the other layers in the right position, but I can't see the map: it seems transparent.   Where did I go wrong?   Thank you

[Qgis-user] Images as style

2012-01-23 Thread Giacomo Fontanelli
Hi everybody is it possible to use images (jpg) as fill in a polygonal shapefile, for example: I'd like to put different pictures upon different polygons in my shapefile instead of different colors. Thanx ___ Qgis-user mailing list Qgis-user@lists.osgeo.o

[Qgis-user] Problem with the plugin openlayers

2012-03-08 Thread Giacomo Fontanelli
Hi everybody It's Giacomo from Italy. I know that the problem has been already discussed, buti I need a good answer, because the plugin OpenLayer is very important for my job. I use QGis 1.7.2 (I will upgrade it as soon as possible) with Windows 7. When I try to use Open Layer here comes the messag

[Qgis-user] position locator

2012-03-15 Thread Giacomo Fontanelli
Hi everybody I'm Giacomo I'm looking in Qgis for a tool that allow me to insert the coordinate of a point and then the software will place cursor on the right position. Thank you very much ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists

[Qgis-user] EPSG 4326 Vs EPSG 900913

2012-03-27 Thread Giacomo Fontanelli
Hi boys (and girls of course) maybe this is a stupid question: could you explain me the risks that occur when i put the gps points (generally WGS84 = EPSG 4326) in google earth (EPSG 900913). I know that google has a particular method to manage the projections of its optical satellite image and t

[Qgis-user] qgis and SAR images

2012-05-29 Thread Giacomo Fontanelli
dear users I'm working on remote sensing of environment using SAR images. I advice that QGIS is able to open many SAR image formats like .N1 or .h5 (.hdf5) and to keep intact the correct radar data in each pixel, but is unable to visualize the correct black and white map, but only the grey silhouet

[Qgis-user] converting many kml to one shapefile

2012-05-31 Thread Giacomo Fontanelli
Hello I have a folder with 15 polygon files in .kml format. I've imported those in QGis and i would like to know how to convert all the .kml polygons in a single polygon shapefile. Thank you ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://list

Re: [Qgis-user] converting many kml to one shapefile

2012-06-02 Thread Giacomo Fontanelli
n Thu, May 31, 2012 at 8:11 AM, Giacomo Fontanelli > wrote: > > Hello > > I have a folder with 15 polygon files in .kml format. > > I've imported those in QGis and i would like to know how to convert all > the >

[Qgis-user] problem with Vector>Merge Shapefiles

2012-06-05 Thread Giacomo Fontanelli
Hello everybody I use QGis 1.7.4. and Windows Seven. I would like to merge 10 polygonal shape files in a single shapefile. I putted all the single shape files in the same folder but when I start the process here comes this error message: Errore durante l'esecuzione di codice Python: Traceback (mos

[Qgis-user] picture pop-up on the polygonal features

2012-06-05 Thread Giacomo Fontanelli
Hello, It's me again is it possible to put pop-ups upon vector polygonal features with little pictures inside each pop-up. The pop-ups must open every time the cursor passes upon the polygons, or clicking upon the polygons. Waiting for suggestions. Thank you very much __

[Qgis-user] problem reprojecting some shapefiles

2014-01-21 Thread Giacomo Fontanelli
dear community I'm gonna report a problem that I observed frequently. I have polygon shapefile, downloaded from the net, representing the path of a satellite. I think this shapefile derive from a .kml, but I'm not sure. This layer is WGS84 EPSG:4326. I have also a layer in UTM 32N (EPSG:32632).

Re: [Qgis-user] problem reprojecting some shapefiles

2014-01-21 Thread Giacomo Fontanelli
On Tue, Jan 21, 2014 at 1:04 PM, Simon Cropper < simoncrop...@fossworkflowguides.com> wrote: > On 21/01/14 22:44, Giacomo Fontanelli wrote: > >> dear community >> >> I'm gonna report a problem that I observed frequently. I have polygon >> shapefile, downl

Re: [Qgis-user] problem reprojecting some shapefiles

2014-01-22 Thread Giacomo Fontanelli
Thank you very much, it works, it's a little bit muddled but it works. Thanx On Tue, Jan 21, 2014 at 7:41 PM, Etienne Tourigny wrote: > > > > On Tue, Jan 21, 2014 at 9:44 AM, Giacomo Fontanelli < > giacomofontanell...@gmail.com> wrote: > >> dear community >

[Qgis-user] VERSION OF SEXTANTE

2014-01-27 Thread Giacomo Fontanelli
Dear community I use QGIS 2.0.1 Dufour. I tried to install sextante on my PC (equipped with Lubuntu). I installed PSYCOPG2 and then I downloaded the folder with the sextante plugin from http://plugins.qgis.org/plugins/user/volayaf/admin, version 1.0.9. Once I start qgis and opened the plugins tab

[Qgis-user] upgrading earth beat

2014-02-20 Thread Giacomo Fontanelli
I am a happy user of the plugin earth beat, It worked until QGIS 1.9, but I use to work always with the last version of the software (2.0). I Would like to upgrade the python plugin of Heart Beat. I'm new in python programming but I would like to start to build my own plugins a

[Qgis-user] help, problem with python and qgis

2014-05-10 Thread Giacomo Fontanelli
Hello everybody I use Qgis 2.3 nightly-build on ubuntu 14.04. Today I started the software and i received this message File "", line 1, in File "/usr/lib/python2.7/dist-packages/qgis/__init__.py", line 35, in from qgis.core import QgsFeature, QgsGeometry ImportError: /usr/lib/py

[Qgis-user] how to produce a RGB image?

2014-06-10 Thread Giacomo Fontanelli
Hello forum my name is Giacomo, I would like to produce a RGB image using 3 different SAR images relative to 3 different dates. How can I do it? Thank you very much ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/list

[Qgis-user] how to create a BSQ stack of images

2014-06-10 Thread Giacomo Fontanelli
Hi, it's Giacomo again Anyone knows how to create a BSQ images stack with QGIS? Thank you very much --- Questa e-mail è priva di virus e malware perché è attiva la protezione avast! Antivirus. http://www.avast.com ___ Qgis-user mailing list Qgis-us

[Qgis-user] pixel counting in a raster

2014-07-01 Thread Giacomo Fontanelli
Dear Qgis Community I have a Raster layer made by pixels with 4 different values (4, 7, 17, 27). How can i calculate the number of pixels with value 4, with value 7, with value 17, with value 27? Thank you very much Giacomo ___ Qgis-user mailing list

Re: [Qgis-user] pixel counting in a raster

2014-07-01 Thread Giacomo Fontanelli
t; > > On Tue, Jul 1, 2014 at 2:00 PM, Giacomo Fontanelli < > giacomofontanell...@gmail.com> wrote: > >> Dear Qgis Community >> >> I have a Raster layer made by pixels with 4 different values (4, 7, 17, >> 27). >> >> How can i calculate the numb

[Qgis-user] using a dbf for a raster layer classification

2014-08-08 Thread Giacomo Fontanelli
Hello folks I use QGIS 2.4, I have a Raster layer and I have also a relate .dbf with the pixel classes. Is it possible to upload the .dbf file in order to automatically classify the raster instead of manually putting the data of each class inside of the software? Thank you very much _

[Qgis-user] selecting features containing a polygon

2014-09-08 Thread Giacomo Fontanelli
Hello everybody I have a shapefile named e.g. "pol_A" made by many polygons. How to select the polygons containing another polygon constituted by the shape file "pol_B"?. Thank you very much. --- Questa e-mail è priva di virus e malware perché è attiva la protezione avast! Antivirus. http

[Qgis-user] unable to produce a raster mask

2014-11-22 Thread Giacomo Fontanelli
Dear community I start from a raster layer, 8bit unsigned integer. Pixel value ranges from 1 to 12. I would like to mask the pixels with value>8, setting their new value to 0. I used raster calculator with this formula ( "lc_n_italy1@1" >= 8 ) * ("lc_n_italy1@1" * 0) I tried also ( "lc_n_i

[Qgis-user] splitting polygons in multiple layers

2015-01-28 Thread Giacomo Fontanelli
Dear community my name is Giacomo, from Italy I use Quantum GIS 2.6 I have a vector layer with several polygons, is it possible to split this layer in several layers containing only one polygon each? Waiting for your reply. Thank you very much --- Questa e-mail è priva di virus e malware pe

[Qgis-user] Tabulate area with QGIS

2015-02-03 Thread Giacomo Fontanelli
Dear Community my name is Giacomo I wonder if it is possible to carry out a tabulate area (ArcGIS) analysis with QGis. I Tried with "QGis Geoalgorithms processing > Zonal statistics", but the software came out with the message: 'NoneType' object has no attribute 'SetGeoTransform' See log for more

[Qgis-user] problem with python-qgis

2013-06-27 Thread Giacomo Fontanelli
Dear community I use Lubuntu 13.04 64bit and QGIS 1.9. I can't install python-qgis on my laptop. I tryed with synaptic and with the shell, but anyway I get this error message: E: /var/cache/apt/archives/python-qgis_1.9.0+git20130623+10152e6~raring1_amd64.deb: tentata sovrascrittura di "/usr/lib/py

Re: [Qgis-user] Qgis-user Digest, Vol 88, Issue 57

2013-06-28 Thread Giacomo Fontanelli
4. Re: Fetch plugins missing (Julie Pierson) >5. Re: Fetch plugins missing (Borys Jurgiel) >6. Re: Fetch plugins missing (Julie Pierson) >7. problem with python-qgis (Giacomo Fontanelli) >8. Welcome to our new sponsor (Paolo Cavallini) >9. Re: problem with python-

[Qgis-user] problem with dependencies during installation

2013-07-01 Thread Giacomo Fontanelli
Dear community. Today I Tried to install Qgis 1.9 in a new pc with lubuntu 64 bit and this is what I get: Alcuni pacchetti non possono essere installati. Questo può voler dire che è stata richiesta una situazione impossibile oppure, se si sta usando una distribuzione in sviluppo, che alcuni pacche

[Qgis-user] Message: Can not make qgis.db private copy

2013-07-05 Thread Giacomo Fontanelli
Hi community. I use QGIS 1.9 and Lubuntu 13.04 Every time I start Qgis I get this message: [ERROR] Can not make qgis.db private copy What does it means? Thank you ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinf

[Qgis-user] extraction of the value of each pixel of a raster

2013-07-27 Thread Giacomo Fontanelli
Hello everybody I would like lo extract the value of each pixel of a raster below some polygons (of a vector layer). Better if I could save the result in a text file. The plugin "zonal statistics" does something similar, but doesn't provide the list of the value of the pixels. Does another plug

Re: [Qgis-user] extraction of the value of each pixel of a raster

2013-07-27 Thread Giacomo Fontanelli
Thank you very much Micha. I only seldom use GRASS, but maybe is the only way. Bye On Sat, Jul 27, 2013 at 10:12 PM, Micha Silver wrote: > On 07/27/2013 10:10 PM, Giacomo Fontanelli wrote: > > Hello everybody > > I would like lo extract the value of each pixel of a ra

[Qgis-user] MERIS projection

2013-09-26 Thread Giacomo Fontanelli
Dear community I still use QGIS 1.9. I have to work with Modis data. I've found the correct proj4 projection in the site http://spatialreference.org/ref/sr-org/modis-sinusoidal/ I uploaded the new projection in QGis by using "custom SR". Everything work fine, but I would like to set also the corre

[Qgis-user] Modis projection (and not MERIS projection)

2013-09-27 Thread Giacomo Fontanelli
Hello everybody I apologize because I have to point out two mistakes I made yesterday in my first mail called "MERIS projection" (it was late night and I was almost sleeping). The first mistake is that I work with MODIS and not MERIS. The second mistake is that the correct EPSG code for the MODI

Re: [Qgis-user] Qgis-user Digest, Vol 91, Issue 85

2013-09-28 Thread Giacomo Fontanelli
--- > > Message: 1 > Date: Fri, 27 Sep 2013 17:17:21 +0200 > From: Andre Joost > To: qgis-user@lists.osgeo.org > Subject: Re: [Qgis-user] MERIS projection > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Am 27.09.2013 07:28,

[Qgis-user] Private copy of qgis.db and a problem with the public key

2013-09-28 Thread Giacomo Fontanelli
Dear community I have to solve 2 problems: 1) each time I start qgis 2.0 on my pc with Lubuntu 13.04 I get an error message: COPIA PRIVATA DI QGIS.DB NON RIUSCITA (PRIVATE COPY OF QGIS.DB NOT GOOD). 2) whe I was using the 1.8 version I tried to import the old public keys with: gpg --keyserver k

Re: [Qgis-user] Private copy of qgis.db and a problem with the public key

2013-09-30 Thread Giacomo Fontanelli
13 at 8:20 PM, Levente Kovacs wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Sat, 28 Sep 2013 14:13:40 +0200 > Paolo Cavallini wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Il 28/09/2013 13:33, Giacomo Fontanelli

[Qgis-user] making mistakes with raster calculator

2015-04-08 Thread Giacomo Fontanelli
Dear forum I use QGIS 2.8.1. I have a raster map, Float32, pixel values range from -0.7 to 1. I Would like to make a map with pixel having only two values: pixels with values <= 0 should be 0 pixels with values > 0 should be 5. the sintax ( "3_NDFI@1" <= 0 ) =0 AND ( "3_NDFI@1" > 0 ) =5 do

[Qgis-user] Clean a raster layer converted in vector layer

2015-04-17 Thread Giacomo Fontanelli
Dear forum I converted my raster layer in a vector - polygons one. The operation worked, but now I have a many small isolated polygons with one or few pixels dimension. Many of those small polygons also overlay the correct polygons. Ho can I easily remove this? Thank you very much Giacomo ___

[Qgis-user] delete overlapped polygons

2015-04-19 Thread Giacomo Fontanelli
Hello forum this post is similar to my last one, but not totally the same. Thank you for making me know the Sieve filter. I have a vector layer. I have some polygons that apparently seem to be lying on bigger polygons and totally included on this, but if you delete the small ones they produce h

Re: [Qgis-user] delete overlapped polygons

2015-04-20 Thread Giacomo Fontanelli
elps - I'm pretty sure there is a more elegant solution than > $area - but so far this works for me. > > Randy > > > On 04/19/2015 12:38 PM, Giacomo Fontanelli wrote: > > Hello forum > > this post is similar to my last one, but not totally the same. > &g

[Qgis-user] problem with raster calculator

2015-05-15 Thread Giacomo Fontanelli
Dear forum here is my problem. I've got a raster layer with pixel value ranging from -8 to -15. I found that Qgis fails when I do (layer@band1 * -1) because it produces a map with only NaN. I can do any operation except multiplication by a negative number. Can you help me? Thank you _

[Qgis-user] new issue with raster calculator

2015-05-18 Thread Giacomo Fontanelli
Dear community I have a raster layer with pixel values ranging from -8 to -11. when I do "layer1@band1" * 0.1 I get a map with only 0 and Nan, instead when I do "layer1@band1" / 10 I obtain the map with correct values. What do I do wrong? Thank you very much

[Qgis-user] logarythms with raster calculator

2015-05-18 Thread Giacomo Fontanelli
Hi forum I need to convert a raster map in linear values in a map with pixel value expressed in dB, buti in raster calculator there is no the Log function. Any suggestions? Thank you ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.os

[Qgis-user] different QGIS behavior between windows and lubuntu

2015-05-29 Thread Giacomo Fontanelli
I used to work with qgis 2.8.1 in Lubuntu and in windows7. Each time I try to multiplicate a map for a number comprise between 0 and 1 (i.e. 0.1) I get a good results on windows OS, but I get a map with only 0 and NaN on Linux. Further, I get a correct result on Lubuntu if I divide by 10 instead

[Qgis-user] aggregate map of maximum value

2015-07-07 Thread Giacomo Fontanelli
dear community I have a stack (bsq) of 5 images. I would like to make an aggregate map of the maximum of each pixel of the bands. I Googled and I found contrasting opinions on how to do it. Can you help me? Thank you ___ Qgis-user mailing list Qgis-u

[Qgis-user] importing .h5 files in qgis

2019-12-30 Thread Giacomo Fontanelli
Dear users Do you know how to import .h5 files in QGIS 3.10? Thank you very much Giacomo ___ 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/lis

[Qgis-user] Error after saving my script

2020-01-01 Thread Giacomo Fontanelli
Dear forum I slightly modified the processing-script called RandomPointsPolygons.py to make my own script and I copied it in /home/giacomo/.local/share/QGIS/QGIS3/profiles/default/processing/scripts. but when I launch QGIS 3.10 I get this error NotImplementedError: QgsProcessingAlgorithm.nam

[Qgis-user] fondere 2 poligoni separati d fiume

2021-02-10 Thread Giacomo Fontanelli
Salve ho 2 poligoni rappresentanti 2 aree. Vorrei fonderli in un poligono solo, il problema è che nel mezzo passa un fiume. A risultato finito vorrei che la larghezza del fiume non venisse considerata e che il nuovo poligono vi passasse semplicemente a cavallo. Qual è il modo più smart per farlo

[Qgis-user] OTB forum

2017-12-18 Thread Giacomo Fontanelli
Hi forum I'm experiencing a problem in installing OTB for QGIS in my ubuntu 16.04. I'm following the instructionn in https://wiki.orfeo-toolbox.org/index.php/QGIS_access_to_OTB_applications, but when I do "make" I obtain this error /usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocati

[Qgis-user] log file for pythonshell

2018-01-23 Thread Giacomo Fontanelli
I'm writing a script in Python in the QGS shell and each time I try to run this the software crashes. When I work in linux, QGIS automatically shut down. When I work in windows it comes out this error message minidump written to C:\Users\FONTAN~1\AppData\Local\Temp\qgis-20180123-184248-7352-5416

[Qgis-user] PY QGIS crashing when using numpy

2018-02-26 Thread Giacomo Fontanelli
Hi forum each time I try to write a code using the numpy library, qgis crashes and quits, so I can't geyt any relevant information about my error. This happen when I use qgis 2.18.16 in Lubuntu 16.04. For example, if I try to run this very small script import numpy as np from osgeo import gdal

[Qgis-user] Installing either qgis 2.X and qgis 3.X

2018-12-17 Thread Giacomo Fontanelli
Hello forum I'm using QGIS 3.4 on my laptop with Ubuntu 18.10. Is it possible to install also qgis 2.18 along with qgis 3.4? I added also the repository for qgis 2.18 (deb http://ppa.launchpad.net/ubuntugis-ltr/ubuntugis-unstable/ubuntu bionic main) to my sources.list. What is the correct repos

[Qgis-user] Couldn't load SIP module. Python support will be disabled.

2018-12-21 Thread Giacomo Fontanelli
Hi forum I just installed QGIS 3.4 in Lubuntu 18.10 64 bit using repositories. When I lunch the application I immediately get an error message Couldn't load SIP module. Python support will be disabled. Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3/dist-packa

[Qgis-user] Best practice to install OTB and SAGA plugins

2018-12-28 Thread Giacomo Fontanelli
Hi forum could you suggest me the best way to install SAGA and OTB plugins in ubuntu 18.10 and QGIS 2.18.22? What version of SAGA plugin that better fit with my QGIS version do I need to install? 2.3.1? Do I need to install the SAGA standalone version as well? Many thanks _