Re: [Qgis-user] DataPlotly pie charts are really small in a layout

2024-04-02 Thread Matteo Ghetta via QGIS-User

Hi Paul,

the plot container in the print layout is slightly different from the 
one of the main QGIS UI, you can also experience some differences 
between the font size.


Hopefully in the future with QtWebEngine the situation will change ;)

What you can try, even if not the best solution, it to create the plot 
in the main DataPlotly UI, go to the HTML tab and copy/paste the code 
into a HTML frame in the print layout.


Hope this helps

Cheers

Matteo


On 3/28/24 14:30, Paul Wittle via QGIS-User wrote:

Hi,

I’ve been searching around and I can’t seem to find any documentation on 
this. I’m trying to add a pie chart to a layout and it works fine until 
the size of the pie chart shrinks below a certain size.


For small pie charts there seems to be a really big margin applied to 
the layout option and so the pie is tiny and the legend is being cut off 
but there is plenty of room.


Is there a way to update a DataPlotly configuration XML that will force 
the physical pie chart to be a fixed size or is that function not 
available within layouts?


Thanks,

Paul

This e-mail and any files transmitted with it are intended solely for 
the use of the individual or entity to whom they are addressed. It may 
contain unclassified but sensitive or protectively marked material and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, 
or disclose it to anyone else. If you have received this transmission in 
error please notify the sender immediately. All traffic may be subject 
to recording and/or monitoring in accordance with relevant legislation. 
Any views expressed in this message are those of the individual sender, 
except where the sender specifies and with authority, states them to be 
the views of Dorset Council. Dorset Council does not accept service of 
documents by fax or other electronic means. Virus checking: Whilst all 
reasonable steps have been taken to ensure that this electronic 
communication and its attachments whether encoded, encrypted or 
otherwise supplied are free from computer viruses, Dorset Council 
accepts no liability in respect of any loss, cost, damage or expense 
suffered as a result of accessing this message or any of its 
attachments. For information on how Dorset Council processes your 
information, please see www.dorsetcouncil.gov.uk/data-protection


___
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] DataPlotly plugin (ubuntu) : ModuleNotFoundError: No module named 'pandas

2023-11-15 Thread Matteo Ghetta via QGIS-User

Hi,

release 4.1.0 fixes this problem

Cheers

Matteo

On 11/3/23 14:55, celati Laurent via QGIS-User wrote:

Good afternoon,
I work with Qgis 3.34.0-Prizren on Ubuntu.
I would like test and use the DataPlotly plugin.
I succeed in installing this plugin via the qgis plugin manager. But 
when i try to enable it still into the plugin manager, i have an error 
message saying :

In advance, thanks so much for your help.
Below i paste the whole message

```
Impossible de charger l'extension 'DataPlotly' provoque une erreur lors 
de l'appel à sa méthode classFactory()


**ModuleNotFoundError: No module named 'pandas'**
Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in 
_startPlugin

     plugins[packageName] = package.classFactory(iface)
   File 
"/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DataPlotly/__init__.py", line 33, in classFactory

     from .data_plotly import DataPlotly
   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
"/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DataPlotly/data_plotly.py", line 36, in
     from DataPlotly.processing.dataplotly_provider import 
DataPlotlyProvider

   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
"/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DataPlotly/processing/dataplotly_provider.py", line 24, in
     from DataPlotly.processing.dataplotly_scatterplot import 
DataPlotlyProcessingScatterPlot

   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
"/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DataPlotly/processing/dataplotly_scatterplot.py", line 43, in

     import pandas as pd
   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
**ModuleNotFoundError: No module named 'pandas'**


Version de Python : 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Version de QGIS : 3.34.0-Prizren Prizren, ffbdd678812

Chemin Python :
/usr/share/qgis/python
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python310.zip
/usr/lib/python3.10
/usr/lib/python3.10/lib-dynload
/usr/local/lib/python3.10/dist-packages
/usr/lib/python3/dist-packages
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/HCMGIS/forms
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/SentinelHub/external/requests_oauthlib-1.3.1-py2.py3-none-any.whl
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2streetview
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/res
```

___
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] Summary Statistics in Print Layout

2022-03-17 Thread matteo via Qgis-user

Hi Mars,

you can use the aggregate functions from the expression builder:

https://docs.qgis.org/3.22/en/docs/user_manual/expressions/functions_list.html#aggregates-functions

Cheers

Matteo
___
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] dataPlotly plugin

2021-09-16 Thread matteo

Hi Coen,

yes it seems you hit a bug. I've answered you on github.

Cheers and thanks

Matteo
___
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] What Happened to GRASS in QGIS

2020-07-05 Thread matteo
Hi Calvin,

are you on Windows or Linux or OSX?

If Windows you should open QGIS with GRASS support in order to have the
algorithms available. In Linux you have to separately install GRASS and
eventually other dependencies, on OSX I don0t know :)

Cheers

Matteo
___
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] DataPlotly questions/suggestions

2020-03-31 Thread matteo
Hi Magnus,

> I recently tested the DataPlotly (impressive work!) plugin and I have a few
> questions/suggestions:

thanks! Appreciations are always welcome!

> - Can I change the font for the plot title, legend title and X/Y labels? I
> don´t see a setting for this.

not yet, but plotly let's you easily do it. Do you mind open a feature
request on the DataPlotly repository?

https://github.com/ghtmtt/DataPlotly/issues

> - Wouldn´t it be great if one could publish a layout as an online resource
> for additional interactivity? As an alternative to Power BI presentations
> but with a geodata focus? I guess this a rather massive task.

yep, massive task ;) maps on plotly side lack for some ore
functionalities (currently it is only possible via mapbox while it would
be great to have it also with leaflet and openlayer).

Anyway merging (part) of DataPlotly with QGIS2WEB plugin could also be
an idea (also massive work (ping @Tom Chadwin)

another alternative (still in beta due to a migration to django) is
https://www.talkingmaps.eu/ (ping @Federico Gianoli)

> - When I try adding DataPlotly in a processing model, I get an error:
> 
> 
> Exception: unknown Traceback (most recent call last):
>   File
> "C:/PROGRA~1/QGIS3~1.4/apps/qgis-ltr/./python/plugins\processing\modeler\ModelerDialog.py",
> line 796, in addAlgorithm
>     alg =
> QgsApplication.processingRegistry().createAlgorithmById(algorithm.id())
> Exception: unknown
> 
> Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914
> 64 bit (AMD64)] 
> QGIS version: 3.4.11-Madeira Madeira, 9a8a6d4687

same of above, could you open an issue?

https://github.com/ghtmtt/DataPlotly/issues/

there is already one (https://github.com/ghtmtt/DataPlotly/issues/92)

Cheers

Matteo

___
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] Problems with DataPlotly plugin

2020-03-14 Thread matteo
Hi Josè,

could you please open an issue?

https://github.com/ghtmtt/DataPlotly/issues

Cheers and thanks

Matteo
___
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] Fondi disponibili QGIS-IT

2020-03-04 Thread matteo
> Where cn I find the italian Qgis mailing list?

https://lists.osgeo.org/mailman/listinfo/qgis-it-user

Cheers

Matteo
___
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] Fondi disponibili QGIS-IT

2020-03-03 Thread matteo
Spostiamoci sulla lista italiana, questa è quella internazionale

Matteo
___
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] Fondi disponibili QGIS-IT

2020-03-03 Thread matteo
Ciao a tutti,

è appena stato fatto il bilancio di QGIS.ORG. Come BEN sapete, QGIS
Italia non è un ente giuridico di nessun tipo, infatti le varie
donazioni fatte a QGIS Italia, passano per forza a QGIS.ORG.

È quindi il tesoriere di QGIS.ORG che deve smistare le varie donazioni.

Nel 2019 non c'è stata alcuna donazione nei confronti di QGIS Italia
(come era ovvio che succedesse), ma sono state fatte direttamente a
QGIS.ORG.

Nonostante tutto ci sono poco meno di 1000€ disponibili sul
"sotto-conto" QGIS Italia.

Chi ha partecipato attivamente ha proposta di come utilizzarli?

Saluti

Matteo

___
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] R scripts: How to get things working and what could be changed

2019-11-04 Thread matteo
Hi Bernd,

pretty sure you already had a look at this, but who knows ;)

https://docs.qgis.org/testing/en/docs/training_manual/processing/r_intro.html

Cheers

Matteo
___
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] QGIS C++ plugin

2019-04-10 Thread matteo
wow, that's a super outdated document ;)

have a look at the online documentation

https://qgis.org/en/docs/index.html

and start from there

Cheers

Matteo

On 4/10/19 10:21 AM, Bekale Randy wrote:
> I found this 
> https://download.osgeo.org/qgis/doc/manual/qgis-1.1.0_coding-compilation_guide_en.pdf.
>  there is some hepls inside but the code they wrote is not clear for me. 
> 
> - Mail original -
> De: "matteo" 
> À: "Qgis-user" 
> Envoyé: Mercredi 10 Avril 2019 10:01:20
> Objet: Re: [Qgis-user] QGIS C++ plugin
> 
> Hi,
> 
> do you have particular reason to create a C++ plugin and not a python one?
> 
> Cheers
> 
> Matteo
> ___
> 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] QGIS C++ plugin

2019-04-10 Thread matteo
Hi,

do you have particular reason to create a C++ plugin and not a python one?

Cheers

Matteo
___
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] how to fix the raster calculator

2019-03-21 Thread matteo
Hi Maixent,

> Hi all,
> I'm using a QJIS 3.4 under window 10. 
> I have issue with the raster calculator tool located in raster analysis
> section of the processing tool.
> After calculations the output layers are not visible no matter the data
> i'm using.
> I've already uninstall and reinstall the software and it is still doing
> the same thing.
> How could I fix it?
> Thanks for your advices

is the result not visible or does it have "strange" values? If so, try
to go in the layer style panel and change the min and max values

Cheers

Matteo
___
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] Featured plugins: nominations

2019-01-24 Thread matteo
Hi all,

I'd say:

* First aid (this changes devs life during the development)
* serval for raster editing
* QuickOSM, just awesome
* Visibility analysis

Cheers and thanks

Matteo

___
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] Installing either qgis 2.X and qgis 3.X

2018-12-26 Thread matteo
Hi,

I thiink the easiest solution given that you are on Ubuntu, is compiling
QGIS. Then you can have as many independent QGIS versions as you want.

Yes, at the beginning the slope could be hard, but once you know how
then you just go smooth.

Have a look at:

https://github.com/qgis/QGIS/blob/master/INSTALL

Cheers

Matteo
___
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] QuickOSM not downloading data

2018-10-14 Thread matteo
> Issue created: https://issues.qgis.org/issues/20098

thanks Etienne!

Cheers

Matteo
___
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] QuickOSM not downloading data

2018-10-12 Thread matteo
Hi Etienne,

thanks for the clarifications.

Please let me know if I can help to fix this issue, QuickOSM is a must :)

Cheers

Matteo
___
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] QuickOSM not downloading data

2018-10-12 Thread matteo
Hi Harrissou,


> Yes. I had the same issue last week-end. I tried on an area it
> downloaded some data a week ago and I ended up with empty layers (even
> when trying to download data I already had). Thought I was doing
> something wrong and gave up.

ok glad to hear that I'm not the only one. I tried also to change the
OSM server, but nothing changes.

Cheers

Matteo
___
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] QuickOSM not downloading data

2018-10-12 Thread matteo
Hi all,

I'm noticing that the awesome QuickOSM plugin is not downloading data
anymore.

I just have a XYZ OSM tile loaded (CRS 3857) and the latest QuickOSM
release for QGIS 3.3 (same thing happens with QGIS 3.2).

I tried different queries (natural -> peak, in an area where a lot of
peaks are shown on OSM map, etc).

Some other user is experiencing the same problem?

Thanks and cheers

Matteo
___
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] Convegno INPUT e QGIS IT HackFest

2018-07-19 Thread matteo
Ciao a tutt@,

scusate per il cross posting.

come sapete dal 5 all'8 settembre 2018 si terrà a Viterbo il convegno
INPUT. Il 7 settembre, all'interno del convegno, abbiamo organizzato una
sessione parallela incentrata sull'utilizzo dei software geografici liberi.

Se siete interessati mandate il vostro abstract indicando: autore,
affiliazione, titolo e un breve riassunto dell'intervento.

Inviate gli abstract all'indirizzo i...@gfoss.it oppure
matteo.ghe...@faunalia.eu che sta organizzando la sessione.

La partecipazione alla giornata in cui si terrà la sessione parallela è
di 30€, i costi per la partecipazione a tutte le giornate del convegno
sono disponibili qui [1]. Non esitate a chiedere ulteriori informazioni.

Il giorno 8 settembre, ci sarà invece la terza edizione della HackFest
di QGIS ospitata dal convegno gratuita ed aperta a tutti. Non fatevi
spaventare dal termine: HackFest vuol dire semplicemente che ci
incontriamo, facciamo due chiacchiere, sistemiamo qualche problemino al
codice. Il programma e altre informazioni è qui [2]

Venite numerosi, è sempre un piacere fare due chiacchiere davanti a
qualche GeoBirra!

A presto

Matteo Ghetta

[1] https://sites.google.com/view/input2018/home?authuser=0
[2] https://github.com/pcav/sito_qgis_it/wiki/QGIS-HackFest-3
___
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] Using processing algorithms from the console in QGIS 3.0

2018-03-22 Thread matteo
Hi Håvard,

after you have run the algorithm

> processing.algorithmHelp("qgis:union") describes the
> parameters of the algorithm.
> Parameter names are case sensitive (at least on Ubuntu).

you can also display the results in the TOC as memory layer with:

param = {'INPUT': 'my_points', 'BUFFER': '0.0' ,'OUTPUT':'memory:'}
processing.runAndLoadResults('qgis:voronoipolygons', param)

Cheers

Matteo
___
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] Drawing Parallel Lines

2017-03-10 Thread matteo
Hi Harrison,

as pointed out by Harrissou you can find a description of exactly what
you need here (in continuous improvements):

https://github.com/qgis/QGIS-Documentation/pull/1742

and a preview of the content here (but without the image preview):

https://github.com/ghtmtt/QGIS-Documentation/blob/adv_digit/source/docs/user_manual/working_with_vector/editing_geometry_attributes.rst#the-advanced-digitizing-panel


please have a look at it and make comment in the PR so the text can be
changed before it goes on the website and the official documentation

Thanks

Matteo
___
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] Ubuntugis SAGA update to 2.31: Save to install?

2017-02-14 Thread matteo
Hi Bernd,

sorry it was my fault (too many repositories ;) ).

Anyway.. With aptitude you can simulate an upgrading without really
installing anythig:

aptitude -a install package


You get a verbose output so you can see what is going to happen

Hope this helps

Matteo
___
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] Ubuntugis SAGA update to 2.31: Save to install?

2017-02-13 Thread matteo
Hi Bernd,

I have the ubuntugis unstable repositories activated but I still can
only install SAGA 2.2.3

I'm also on a Linux Mint 18 (sara), what am I missing?

Thanks

Matteo
___
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] Github Desktop - help request

2017-01-20 Thread matteo
Hi Niccolò,

here a super quick step-by-step procedure on how I work:

* fork the main repo
* clone the forked repo on your pc so you have a local copy
* set up an **upstream** remote branch so you have a link from your
local repository to the main GH one (not the fork)

git remote add upstream g...@github.com:qgis/QGIS.git

* work on the code (better on another local branch)

git checkout -b your_branch

* add the file, commit them and push them to the FORKED repo

git add .
git commit -m "your message"
git push origin your_branch

* check the commit and your_branch on GH
* if you are ok with the commit propose a pull request from your_branch
of the fork to the main master (or whatever) branch of the source repository


Actually you can find all the information (even if they are for the
manual repository) on the QGIS Website:

http://docs.qgis.org/testing/en/docs/documentation_guidelines/first_contribution.html#using-git-command-line-tools


Hope this helps!

Cheers

Matteo
___
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] QGIS 2.18.2 can not see GRASS data / use GRASS algorithms

2017-01-17 Thread matteo
HI,

in qgis-dev there has been reported the same issue.

https://lists.osgeo.org/pipermail/qgis-developer/2017-January/046654.html

I think that until Processing is not updated you have to get back to the
old GRASS 7 release

Cheers

Matteo
___
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] force data type in QTableWidget in QGIS plugin

2016-03-03 Thread matteo
Hi Matthias,
thanks to your input I solved with a try-except loop.
Just for information:

test_dict = {}
test_dict = dd.fromkeys(dd) # test_dict has the same keys of dd but
values are all empty
for i, k in enumerate(dd.keys()):
try:
map(int, dd.values()[i])
test_dict[k] = QVariant.Int
except:
try:
map(float, dd.values()[i])
test_dict[k] = QVariant.Double
except:
map(str, dd.values()[i])
test_dict[k] = QVariant.String



Thanks again!

Cheers

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

Re: [Qgis-user] force data type in QTableWidget in QGIS plugin

2016-03-02 Thread matteo
> I assume that it's just saved as a string when you fill it in designer?

exactly.. I filled the table cells with numbers that are "translated" in
strings by Qt.

> So in this case you will need to check the value itself (with tricks
> like casting to an integer and if unsuccessful casting to a float or
> similar).

ah ok.. I hoped for something easier :)

so there is no way (in Designer) to prevent the column for different
values? I mean, I want that in the first column you can add just Int and
not floats.

Thanks again Matthias

Cheers

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

Re: [Qgis-user] force data type in QTableWidget in QGIS plugin

2016-03-02 Thread matteo
Hi Matthias,
thanks for the super quick reply.

So you are saying that I can manually set the item data using
setData(...) and get the type of that data by data().type()

But in my case the first row of the QWidgetTable is already filled with
some custom values (I filled it Qt Designer).

When I run the code I cannot get these first row data type (that I want
to use further in the code).

Am I missing something in your answer?

Thanks again!

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

[Qgis-user] forse data type in QTableWidget in QGIS plugin

2016-03-02 Thread matteo
Hi all,
I'm struggling with a problem in a QGIS plugin.

Very briefly, in Qt Designer I have created a QTableWidget with some
rows. The first one is filled with some default values (int and floats).

I did not find a way to get a list of the data types in the python script.

This in a piece of code of the plugin:

lst = []

for i in range(self.tableWidget.columnCount()):

itm = self.tableWidget.item(0,i)

lst.append(itm.type())

but the lst list is made up by zeros (while it sould contain 2 for
QVariant.Integers and 6 for QVariant.Double).

Am I missing something?

Thanks to all

Cheers

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

Re: [Qgis-user] R and GRASS integration in QGis

2015-12-14 Thread matteo
Some errors of GRASS and Processing are related to the GRASS version
installed on your machine and the version activated in Processing (find
out the GRASS version and verify it is the same activated in the
Processing options providers menu).

For R.. here is another good tutorial..

http://amsantac.co/blog/en/2015/10/31/qgis-r.html

Cheers

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

Re: [Qgis-user] R and GRASS integration in QGis

2015-12-11 Thread Matteo Ghetta
Mostly the problems are related to the PATHs

did you have a look here?

http://docs.qgis.org/testing/en/docs/user_manual/processing/3rdParty.html#a-note-for-windows-users

Cheers

Matteo

2015-12-11 9:15 GMT+01:00 pisquerra :

> Hello,
> I have problems trying to use R and GRAS in Qgis 2.12.0 Lyon in Windows.
> When I try to call this programs in Qgis an error message appears telling
> the dependencies are not satisfied. There seem to be a problem with the
> path but I can't fix it.
> Has anyone had this same problem? How could you solve it?
> Thank you very much for your attention and help.
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] how to add grass module in processing toolbox

2015-11-25 Thread matteo
Hi Eugenio,
I never did this, but I think is a pretty simple operation..

I think that all the GRASS7 algorithms are stored here:

https://github.com/qgis/QGIS/tree/master/python/plugins/processing/algs/grass7/description

all the algorithms are text files.. so you can create a new file and be
careful to add all the parameters..

maybe do some test on your local machine and then ask for a pull request
on github..

Maybe someone else in this list can help you more in details..

Cheers

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

Re: [Qgis-user] Training Manual

2015-07-01 Thread Matteo Ghetta
Hi Ian,
thanks for the help!
Well, the training manual has been written by many different people, so I
think that the best way for helping is:

* join the qgis_community mailing list
<http://qgis.org/en/site/getinvolved/mailinglists.html#qgis-community-team>,
that's the mailing list where documentation issues are discussed
* if you are used to work with git and github, you can go inside the training
manual repository
<https://github.com/qgis/QGIS-Documentation/tree/master/source/docs/training_manual>,
edit the file (update them or whatever) and propose the merging of your
changes
* there are some guidelines
<http://docs.qgis.org/testing/en/docs/documentation_guidelines/> you have
to follow when writing the documentation

Hope this helps and thank you!

Cheers

Matteo

2015-07-01 12:25 GMT+02:00 ian corker :

> How do I contact the writers of the Training Manual.  Although generally
> good, it does not match the current versions of QGIS.  I would be happy to
> help bring it up to date, but I have no response to any of the emails given
> in the manual.
>
> Best wishes
>
> Ian
>
> Ian Corker
>
> +44 1600 890322 landline
> +44 7824513073 mobile
>
> iancor...@yahoo.co.uk
> Skype   ircorker
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Composer: exported image doesn't have the world file

2015-06-18 Thread Matteo Ghetta
Confirmed..
In the master version I'm able to use it and and it works nice..

Cheers

Matteo

2015-06-18 12:00 GMT+02:00 Nathan Woodrow :

> Hey,
>
> The function is still there. Nothing has changed on that front.
>
> Nathan
>
> On Thu, 18 Jun 2015 7:56 pm skampus  wrote:
>
>> Andrea Peri wrote
>> > Hi,
>> > it was a work funded ByRegione Toscana in the last qgis 2.1
>> > http://hub.qgis.org/issues/6985
>> > https://github.com/qgis/QGIS/pull/658
>> >
>> > We also fund the capability di generate the tfw using the atlas from
>> > composer.
>> >
>> > I agree that this a fundamental feature for a profession use of qgis.
>> >
>> > A.
>>
>>
>> sorry for the mistake, andrea...
>> I was referring properly to http://hub.qgis.org/issues/6985 and I was
>> remembering something about Portugues public body needs, as stated by
>> giovanni manghi in that thread.
>>
>> only a general comment, if I may.
>> as andrea said, this function has been paid by the Tuscany Region, who
>> felt
>> it was worth investing money for developing this features.
>> but after its publication, at some time in history of QGIS, this function
>> has disappeared.
>>
>> I think it would take a little more attention because these facts could
>> disincentive investitors: one pays for a development and after a while
>> this
>> development disappears ...
>>
>> just an opinion and nothing more
>>
>> thank you all and ciao
>>
>> s.
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/QGIS-Composer-exported-image-doesn-t-have-the-world-file-tp5211511p5211603.html
>> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS-R

2015-06-11 Thread Matteo Ghetta
HI Daniel,
you can also find a small small tutorial here:

https://github.com/qgis/QGIS-Documentation/blob/master/source/docs/training_manual/processing/r_intro.rst

You are more then welcome if you want to add some of your scripts or if you
want to write some tutorial/exercise.

Cheers

Matteo



2015-06-11 6:12 GMT+02:00 Daniel Torres :

> Hi every one, I'm having a hard time with Sextante and R. I'm trying to
> make a little script to calculate the sum of a variable per cathegory, the
> script runs in R, but I can't understand how to make it work in QGIS...
>
> I haven't found many examples on QGIS-R, and the few ones use only one
> variable...
>
> Any help is welcome (any documentation or examples are very welcome),
> Thanks,
> Daniel
>
>
>
>
> ##Basic statistics=group
> ##Layer=vector
> ##valores=Field Layer
> ##categorias=Field Layer
> valores<-Layer[[valores]]
> categorias<-Layer[[categorias]]
> catego<-as.factor(categorias)
> catego_unicos<-unique(catego)
> suma<-NA;suma<-data.frame(suma)
> for(i in 1:length(catego_unicos)){
> suma[i,1]<-sum(valores[catego==catego_unicos[i]])
> }
> colnames(suma)<-"suma"
> rownames(suma)<-catego_unicos
> >suma
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Sextante in QGIS

2015-05-06 Thread Matteo Ghetta
Hi Rafa,
from QGIS 2.0 Sextante has been included in QGIS with the name of
Processing.
So Sextante and Processing are actually the same thing.

Cheers

Matteo

2015-05-06 9:06 GMT+02:00 Rafa García Castillo :

>   Hi,
>
>   I would like to ask you about the Sextante in QGIS. I have read in
> several webs that Sextante is in the QGIS core since version 2.0, and I
> have seen in these webs images where you can see a "SEXTANTE" category in
> the "Processing Toolbox". But in my QGIS v2.6.1 I can´t see any categorý
> called "Sextante" in the "Processing Toolbox". I can see other categories
> such as GDAL/OGR, GRASS, Orfeo Toolbox, SAGA, etc.), but not SEXTANTE.
>
>   Can an ybody tell me why? Is there something wrong with my QGIS? Have I
> to install/active something?
>
>   Thanks in advance
>
>   Rafa
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] differences between QGIS under KDE and GNOME for user manual 2.8

2015-04-30 Thread Matteo Ghetta
Hi Larissa,
here I am. I'm under Debian testing with Gnome 3.14.2

Should I provide some screenshots or can I help in other ways?

Cheers

Matteo

2015-04-30 14:54 GMT+02:00 Larissa Junek :

> Hello
>
> for the user manual I'd like to check the diffences of the
> QGIS GUI between KDE and GNOME. We have a paragraph for
> this in qgis_gui.rst. Can you help me by having a look at
> this? Maybe the information is still up to date, I have no
> idea (-;
> Is there someone who uses QGIS 2.8 under GNOME GUI?
> Anyway I can write the *.rst-file and just need updated information
> about the QGIS GUI under GNOME.
>
> Thanks.
>
> Cheers, Larissa
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] problem with SAGA in Qgis 2.6.1 istalled on Windows 8.1

2015-04-17 Thread Matteo Ghetta
Probably it depends on the version of SAGA installed on your computer.

Which version do you have?

Cheers

Matteo

2015-04-17 14:13 GMT+02:00 Gismondo Maria Mancini <
gismondomariamanc...@yahoo.it>:

> Hello, Thank you in advance for your availability
>  I have a problem with Qgis 2.6.1 istalled on  Windows 8.1.It seems the
> functions of saga are not present in Processing toolbox.  As if the
> algorithms of SAGA are not integrated into Qgis. There is a solution to
> this problem?
> Thank you!!!
> Gismondo. (ITALY)
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Processing modeler input columns in algorithms

2015-04-17 Thread Matteo Ghetta
Hi all,
is it possible to add the column names of the output of an algorithm inside
a second one?

In other words:
* run an algorithm on a shapefile that has as output a csv table with many
columns
* I'd like to run a second algorithm, e.g. making a scatterplot. But i want
to choose the 2 columns needed from the output of the first algorithm.

The only way I found is to write manually the column names. In this case,
the problem is that, if the column names change, the model doesn't work
anymore.

I hope I made myself clear. If you want here
<http://gis.stackexchange.com/questions/142950/put-output-of-saga-algorithm-of-processing-model-in-r-script>
is an example with some screenshots.

Thanks!

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] rule based classification - attribute based on other layer

2015-03-26 Thread Matteo Ghetta
sorry... plugin installed...
I see all the functions in the field calculator but do you have a small and
quick example of what I am looking for?
I don't understand the function to use..

Thanks!

Matteo

2015-03-25 19:11 GMT+01:00 Junior Delaz :

> Hello,
> You may give a look to *getFeature* function (combining or not with
> function like *attribute* or spatial ones). There is also *RefFunctions*
> plugin that may help to use values/fields of another layer.
> But unfortunately, there is no list of such layers nor their fields in the
> dialog. You need to write them yourself and their values.
>
> 2015-03-25 18:14 GMT+01:00 Matteo Ghetta :
>
>> Hi all,
>> very simple question.
>> In the rule-based classification (vector) is it possible to use values of
>> another layer loaded in QGIS?
>>
>> For example. Point vector and I want to display as red each feature that
>> has a value greater than a value stored in another point layer (or in a
>> table).
>> In the expression builder there are the fields of the active layer.
>>
>> Is it possible to call the fields of other layers?
>>
>> Thanks
>>
>> Cheers
>>
>> Matteo
>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] rule based classification - attribute based on other layer

2015-03-26 Thread Matteo Ghetta
Hi,
I cannot install the plugin.. I have a missing library (qtsql)...
anyway thanks for clarifying..

Matteo

2015-03-25 19:11 GMT+01:00 Junior Delaz :

> Hello,
> You may give a look to *getFeature* function (combining or not with
> function like *attribute* or spatial ones). There is also *RefFunctions*
> plugin that may help to use values/fields of another layer.
> But unfortunately, there is no list of such layers nor their fields in the
> dialog. You need to write them yourself and their values.
>
> 2015-03-25 18:14 GMT+01:00 Matteo Ghetta :
>
>> Hi all,
>> very simple question.
>> In the rule-based classification (vector) is it possible to use values of
>> another layer loaded in QGIS?
>>
>> For example. Point vector and I want to display as red each feature that
>> has a value greater than a value stored in another point layer (or in a
>> table).
>> In the expression builder there are the fields of the active layer.
>>
>> Is it possible to call the fields of other layers?
>>
>> Thanks
>>
>> Cheers
>>
>> Matteo
>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] rule based classification - attribute based on other layer

2015-03-26 Thread Matteo Ghetta
>
> Sounds like you are trying Red if valueA > max(layer B value)?
>

exactly... :)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] rule based classification - attribute based on other layer

2015-03-25 Thread Matteo Ghetta
Hi all,
very simple question.
In the rule-based classification (vector) is it possible to use values of
another layer loaded in QGIS?

For example. Point vector and I want to display as red each feature that
has a value greater than a value stored in another point layer (or in a
table).
In the expression builder there are the fields of the active layer.

Is it possible to call the fields of other layers?

Thanks

Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] weird behavior of SpatiaLite

2015-03-25 Thread Matteo Ghetta
Hi all,

I've noticed a strange behavior of SL (both for QGIS 2.8.1 and Master).
If I made a query of a database layer and I load it in QGIS, no problem at
all.
But when I add a column to this layer using the Field Calculator, the whole
numeric fields get messed and are transformed in NUMERIC type.

This way I cannot not use the Graduated symbology anymore (NUMERIC is not
supported by SL, but is a transformation made by QGIS).

A small example. I have 2 fields (DOUBLE) and I want to add a 3rd field as
the sum of those ones.
Field Calculator -> New Field (DOUBLE) -> "x" + "y" -> Save -> get this
error


Could not commit changes to layer media_coordinate

Errors: SUCCESS: 1 attribute(s) added.

ERROR: field with index 1 is not the same!

Provider: spatialite

Storage: SQLite database with SpatiaLite extension

expected field: name=mean_x type=double typeName=DOUBLE len=0 precision=0

retrieved field: name=mean_x type=QString typeName=NUMERIC len=0 precision=0


Close without saving and the DOUBLE fields become NUMERIC, while the 3rd
field is created (as DOUBLE) but is empty.


Am I missing something?


Thanks


Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] exporting graduated scale from polygon to point

2015-03-05 Thread Matteo Ghetta
Hi all,
I raised up this problem here:

http://gis.stackexchange.com/questions/137765/export-graduated-scale-from-polygon-to-point-layer-in-qgis/137772#137772

in simple words I'd like to copy a graduated style of a polygon to a point
layer (field has the same name in both layer).
But this is not possible (seems) because polygons and points layer use
different symbology (fill and marker).

Is it possible to export just the numeric values of the graduated scale I
made (manually) to other layers?

Does someone have an idea on how to handle this?

Thanks

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] print composer and atlas feature on large dataset

2015-02-26 Thread Matteo Ghetta
Thanks! :)
I hope you'll get an answer..

please tell me if you need a subset of my data..

Cheers

Mattep

2015-02-26 11:14 GMT+01:00 Alexandre Neto :

> Nice challenge!
>
> I will try to think of a good answer.
>
> Alexandre Neto
>
> On Thu, Feb 26, 2015 at 9:55 AM, Matteo Ghetta 
> wrote:
>
>> Hi guys,
>> I raised up this question on stackoverflow some times ago, but no answer
>> yet, maybe someone can help me..
>>
>>
>> http://gis.stackexchange.com/questions/135834/print-composer-and-atlas-feature-on-large-dataset
>>
>> does somebody ever had a similar problem?
>>
>> Basically the question is if one can use the atlas in order to print
>> several layout depending on different styles (categorization based on
>> different attributes) of a layer..
>>
>> Thanks!
>>
>> Matteo
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] print composer and atlas feature on large dataset

2015-02-26 Thread Matteo Ghetta
Hi guys,
I raised up this question on stackoverflow some times ago, but no answer
yet, maybe someone can help me..

http://gis.stackexchange.com/questions/135834/print-composer-and-atlas-feature-on-large-dataset

does somebody ever had a similar problem?

Basically the question is if one can use the atlas in order to print
several layout depending on different styles (categorization based on
different attributes) of a layer..

Thanks!

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Re : Atlas data defined rotation and zoom problem

2014-12-10 Thread matteo

Hi Alexandre,
I think email is better if you don't mind..

some idea on how we can begin?

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re : Atlas data defined rotation and zoom problem

2014-12-09 Thread Matteo Ghetta
Hi Alexandre,
if you want I can help you with this issue. I'm not familiar with the
training manual too, but I think it could be a good idea to start a own
atlas chapter

Cheers

Matteo

2014-12-09 11:10 GMT+01:00 Alexandre Neto :

> I'm not very familiar with the training manual so I will have to see where
> would it fit. I don't know if there's a atlas chapter already.
>
> Best regards,
>
> Alexandre Neto
> Em 09/12/2014 08:16, "Paolo Cavallini"  escreveu:
>
> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Il 09/12/2014 00:47, Junior ha scritto:
>> > Great tutorial, Alexandre. Shouldn't it be included in QGis
>> > official training manual?
>>
>> Agreed, it would be a great addition.
>> Alexandre, could you please issue a Pull Request?
>> All the best.
>>
>> - --
>> Paolo Cavallini - www.faunalia.eu
>> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1
>>
>> iEYEARECAAYFAlSGr80ACgkQ/NedwLUzIr6XtACgqFNZbIGNrjRDA8ZMYPodBuQP
>> WJ4AmQGicHe6N8OTR+j8+LbTNfDBfYTz
>> =lKXI
>> -END PGP SIGNATURE-
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Flow Accumulation Direction

2014-07-03 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Daniel,
there are some resources online:

*
http://gis.stackexchange.com/questions/68158/how-to-compute-flow-direction-and-flow-accumulation-with-qgis
(a little bit old)
*
http://qgissextante.blogspot.it/2013/01/hydrology-analysis-with-taudem.html

good luck!

Matteo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTtUCsAAoJEBy7UYf0gaEOplwH/3yaLWK0hwoT7U2y5qs3wk6s
+gmb/wVVlUJN6Ems1DKaz4nWr/krskWca0aGrTRxYJDvbI8o+Pc6Yu/Qunh9W6w9
R3xkbB35ttKS5k5NF6SHob9wbUci9VTP49n3nwSWws+XKvEN5ULHq+jqRwLSpOYi
DVgDR9eeHtD7c2NSVGTzu6qKYGkvUd/Q1+BT4gH1bdo4DDGdrdBxHln6XJeV3j1j
Dbg45vrsKckzJtKiNDnZhPVIiBfASBER1MPXAQHvbH/s/YkDRrajHpaHuiRcmxDj
l+xeDIffTogstRifne4DIXNcqMYJDdsztHWXMVd/SB2bSO+7beQbczxtvV6E7h4=
=uDBW
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] error when saving project with OpenLayer plugin

2014-06-24 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi guys,
something weird. I have 2 shapefile (EPSG:4326) and the OpenCycleMap
layer in my map canvas.
On the fly reprojection activated but when I try to save the project
it appears this error:

Traceback (most recent call last):
  File
"/home/ma7730/.qgis2/python/plugins/openlayers_plugin/openlayers_layer.py",
line 329, in writeXml
element.setAttribute("ol_layer_type", str(self.layerType.id))
AttributeError: OlOpenCycleMapLayer instance has no attribute 'id'


if I delete the OpenCycle layer, no problem saving the project.
I'm on a debian jessie machine with QGIS master updated this morning
from the nightly repositories.

Am I missing something?

Thanks

Matteo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTqTl9AAoJEBy7UYf0gaEOK70IALNVWyny0STTQDvpBHiK6yqR
kMrZt9IybjUSB0+TIuWqKpK7gvpCrTXxSJkr9OUgpHP6P9kLNeU9AKpJylw/TMNE
+bahATP8oMneXbrz/cO80OPSKMXO1mVRAtHAuRbh56pzeAtKpylAbd2Bo/3j1yFb
sLLXkWWeo1bbHpCghxoJUVPTpw7+HVOalM52Oed+vYhKmGSOpaZmtkD96rD29Qhb
zKmQCY5KedLkFhsv8s9fGaYruN+x4POdRXDbtdjgmkmUd6UAkJXuSyYSBSubkJNh
Vhr+9WCEFy08RfmWWFBdmd9P9e4cZ66h87nKWm1Jm6/d48uyxHaH0B3gvRpGoUk=
=feuZ
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] change default font of labels

2014-05-29 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi guys,
some times I have to export a project from a Linux to a Windows machine.
The problem is that the default font for labels in Linux is
*Cantarell* that is not recognized by Windows.
Is there a way to change the general settings of the labels just like
one can change the default font of the print composer?

Thanks

Matteo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJThuBYAAoJEBy7UYf0gaEO0KUH/0f6GxIo5EzgIuqG9Z9ZBKoh
k3Sn7COIDiJHiKlqaSmTjvp502rf1qtnhWYj5I0SPphoz832JDyYhMPXuvkkDlVI
buEkxbeC+ljhmWGMwJvo/KuIQ67Zo2xQXLJrKFPZcy1/kcV+GWj2qOVnv01S1kXX
KE8dJ6NnCQna0PkboTe/uUCe/GDh7Rk++oZ03JHIwHWSxUnBjL4uMJqp4J8EavGU
DnAETPbexRiXxFJJAkMHC01iUvF5gag3LIsYtFrm8o9DMTewc8DDaCvoPQ9TSXoK
cnT1R6zf+2s+o+gNWSSJaG+VDbxHpsev4ajvx1B8BJdVf/hyiW6Wfbny90urhF4=
=8D94
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How can I help testing Qgis

2014-05-26 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Amedeo,
I don't think that mixing the repositories is a good idea. I think
that if you want to have both versions of QGIS installed on your
machine you have to compile them (but I'm not sure).

Otherwise, uninstall completely the QGIS version you have now on your
machine, activate the nightly repos and reload all the packages. Now
you can install the master version.
If you want to go back to 2.2, uninstall completely qgis dev,
de-activate the repos, refresh the packages and install the 2.2 version.

This way you won't have both version installed at the same time, but
it won't take too much time to install-uninstall the versions.

Cheers

Matteo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTg0OMAAoJEBy7UYf0gaEOZ9cH/0ggCiCbfxZ9Acy1JtWL6PAi
5lvvZL9XKrSgUL18Nbja5neJXBiUTeIbD+69Wr3uW6Rfncxjwbej2wJPNVXAo93O
ze8GyIENI8CaBQDxwhmElXkVkBZ2Mzm9sjI9+ALzpWtjfaswP73NJlWr5u0RGhQK
uIR02YenUIBHBnexh0X8jrBkA8XAENwKvtuQ0OBOtppemnxzAg0yOArSSKJYS+Iv
nZD30hnvGZqrFovNQ+i5CFDDQXlk/jBXUH3wsVIsPMjareP0Kzs9Lq/kzU5xoWa5
MZs7/0QzHX3En8EVDzyj2fb/bQnJqlH1sx6mrKiWA/F39U1EyQedGKeE/OwUlkQ=
=NecX
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] canvas unit when epsg 4326 problems

2014-05-23 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi guys,
I'm working with QGIS 2.3 and I noticed a strange behavior.
I have some layers in my project, and all are in EPSG 4326  projection.
I want to take some measures with the measure tool (lines or areas,
doesn't matter), but, if I activate *meters* as the default measure
unit in the Project Properties, measurements are wrong.

Indeed, if I open the Project Properties again, canvas unit are re-set
to degrees.

Am I missing something? I remember that in QGIS 2.2 I was able to take
metric measurements with EPSG 4326 (on the fly projection off).

Thanks

Matteo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTfzt1AAoJEBy7UYf0gaEO710IAKX7aWAWWhG15WgzGWBjz78z
Uv7vpBhrapPwpomjHIYEgNTCZhf6rJXZE6Oys4m3Z1t4nMgG52erceJae6r6mhFE
qgceVeK3srxCTyTvQ6Cc9jz0oCIwInluCysOUyZCYe2HhBZJW82haUb+digrMNPj
8YWdXwkIRPNUlF7o1KsfQI7eDW7vvojJQps+vak/md0IdYpC5UyBt26UU17/gVFd
0Us8m0EsQ436KUY57kPlVqgBGPwEkUrVkd1Q5cHzRRzE+1A6OLc/Wy0E2XhHUE8k
SCBoDY5RjOMs82T/wG/P7qcnGwKbqE9zgjFWuWfR8AqWgiwkIwWzxd9M+AjtrrI=
=ZW5M
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Processing (Saga) help files

2014-05-07 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,
thanks to the last update of Processing, help files for some Saga
algorithms are available through the Help Tab.

If you want to contribute writing some help, the procedure is very
straightforward. You just need to go here

https://github.com/qgis/QGIS/tree/master/python/plugins/processing/algs/saga/help


choose the algorithm, click on `edit` and fill the fields.
Once you have done, click on the green button `Propose file change`,
and that's it.

Thanks to all!

p.s. Victor, if you want to give more explanations please do it!

Matteo



-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTafVkAAoJEBy7UYf0gaEOgmEH/i/RFnkbD20S3RvEyjvd/qYj
JUBVcWGf2LsKZqSLc8t8rGSA94J/NcFpX+/ok+2TvUnBCqV0jnCsGxfwejZz5RbG
7s1vk5jP4NUZUpPxEqJ8Y6ZYZxyctv9RFlLA3+OVyzaE7NTRXAkNRGydBaYDk3ff
iLbBnheRV+sZwUS2WGRDmvbItnMTfnwHc2ijyn8/XcQt7Bwkz2qRrXdZrBh9bIlY
gGANaZh34Di2uVHGXuk7Hu3JMjyTuxxZhbg6h7ZfxoOEAuumP2n8H1LovgT/j/iX
cHS1NlGKoz4SuwEI8t2zLJyN4wYOlIDogtJ0to+f2DR9hf9gCl6fOibnu0FOtHw=
=82/I
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] saga on debian wheezy 7.4

2014-04-29 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi guys,
something strange is happening. I've just formatted my computer and I
have a new fresh debian 7.4 wheezy os. I added the qgis testing
repository (just like in the previous os I had) but I cannot find Saga
anymore.

I am sure that in the old pc I didn't add any repository but I was
able to use Saga as standalone and through Processing in QGIS. I am
also sure that I didn't compiled Saga and I didn't installed as a .deb
package.

Am I missing something or should I do something?

Thanks

Matteo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTX9TCAAoJEBy7UYf0gaEOq3gIAJAi+hLSXtck0F9MKV8LqLX3
nzuAPqrHB3WfUS4uE6zs6BSUtdMmeWvLd4Gmgq7rdDOGeLR+hbzXq0sGOQmgbnkk
axTlKad6vl8/WMIUYqktUQCm4FupJldgbwizaA2o6g9dLSoASPMuOzQLnQw9SbiJ
r0NFzPJOi7unabNW8JWRZ/CdsrvaN3rp2T9Zqtquc35oP4yz/C8RBxXoCdAv+Xmv
96za617YHZ4cmptlPXbMUWY1Gi89PJfWPaOVGAjju8JUrLV/WPs0RfGfhuVUtuOm
AFtOstF7ZkaZ6snhj7bFA/2FMs/qSiVoEgH32+aE7AC4FKPcoOHUGYptdni2GLM=
=wyt/
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] openlayer plugin broken (2.3 master)

2014-04-28 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi guys,
it seems that the openlayer plugin is broken in the master (2.3
installed on a debian stable machine).
No matter which layer one choose to load, QGIS crashes with the
following message:


OpenlayersLayer draw
page file:
file:home/ma7730/.qgis2/python/plugins/openlayers_plugin/html/google_physical.html
 extent: -21216781.5964350737631321,-21039383.756992847443 :
21216781.5964350737631321,21039383.756992847443
 center: 0.00, 0.00
 size: 598, 593
 logicalDpiX: 96
 outputDpi: 96.00
 mapUnitsPerPixel: 70959
 olSize: 598, 593
QGIS died on signal 11[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[New Thread 0xa4c97b70 (LWP 13668)]
[New Thread 0xa58a9b70 (LWP 13667)]
[New Thread 0xa66bbb70 (LWP 13665)]
[New Thread 0xa6edeb70 (LWP 13662)]
[New Thread 0xad041b70 (LWP 13657)]
[New Thread 0xad942b70 (LWP 13656)]
0xb772e424 in __kernel_vsyscall ()
[Current thread is 1 (Thread 0xaefaf730 (LWP 13655))]
#0  0xb772e424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb308a20a in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i386-linux-gnu/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb317ce3d in pthread_cond_wait () from
/lib/i386-linux-gnu/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb458f470 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#4  0xb457a8fa in QFutureInterfaceBase::waitForFinished() () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#5  0xb457de33 in QFutureWatcherBase::waitForFinished() () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#6  0xb4f755f3 in QgsMapRendererParallelJob::cancel() () from
/usr/lib/libqgis_core.so.2.3.0
No symbol table info available.
#7  0xb4bba14b in QgsMapCanvas::stopRendering() () from
/usr/lib/libqgis_gui.so.2.3.0
No symbol table info available.
#8  0xb4bb91ca in QgsMapCanvas::refreshMap() () from
/usr/lib/libqgis_gui.so.2.3.0
No symbol table info available.
#9  0xb4c45756 in ?? () from /usr/lib/libqgis_gui.so.2.3.0
No symbol table info available.
#10 0xb46b8cd2 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#11 0xb46bfef5 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#12 0xb46bffbc in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#13 0xb46b6b04 in QObject::event(QEvent*) () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#14 0xb3b8a47c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#15 0xb3b8ee7f in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#16 0xb503e3d0 in QgsApplication::notify(QObject*, QEvent*) () from
/usr/lib/libqgis_core.so.2.3.0
No symbol table info available.
#17 0xb46a054e in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#18 0xb46d5010 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#19 0xb46d21b8 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#20 0xb2dbf6d3 in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#21 0xb2dbfa70 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#22 0xb2dbfb51 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#23 0xb46d2831 in
QEventDispatcherGlib::processEvents(QFlags)
() from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#24 0xb3c3d1fa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#25 0xb469f01c in
QEventLoop::processEvents(QFlags) ()
from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#26 0xb469f311 in
QEventLoop::exec(QFlags) () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#27 0xb46a4a8a in QCoreApplication::exec() () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#28 0xb3b882f4 in QApplication::exec() () from
/usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#29 0x08


Some body confirms? Ticket?

Cheers

Matteo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTXhtgAAoJEBy7UYf0gaEOmWkH+wRL7LOQzgjm7cxdKLf2Np7G
G6DKoNXQLVkfPnqGpKG7UIzsj4g+b5YQ6TU5GMuS3Nzg2kM+XRfNFvX4IDJt4p/d
4m3m5Z7bUa+pWB9cdk6tN6fjAwlJB16FFJJV2Ajc2PWx5H+LlAQ4J

Re: [Qgis-user] edit joined fields

2014-04-22 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> my problem is that both of my layers are stored in a Postgis
> database and it does not help me if I have to create a new layer
> which would then not refer to the original tables anymore. Of
> course, a workaround could be a new layer inside the database that
> would then update the original tables with a trigger function. But
> I was wondering if there is an easier way to go in QGIS.

if your layers are stored in a PostGIS database I should give up.. For
now I'm not a PostGIS guru.. :(

good luck!

Matteo


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTVh6fAAoJEBy7UYf0gaEOdNwH/imIlzH9qnUAbxxZOTPy/wka
6gawQvw21iLMlmOFD2g7PwhqjEvzW+fRkRTVzvGQnOIoJfM6bPirAf6zrTmY3znU
2lyJsEwdFSkABGHOfgelv6KwF/T2uBJqBJ6ourCIrGx2KWYTYR3EYV401+gaw6eh
aHLBREQ7GyMbc7ERNqAVKuyuZ98Ya/TfT3lRBVJA9oWIGGkoEW7MS5/+Q4ge92sK
03hK+Hp+7wv5CVW7K8zbCQeaHcXc52sChU1YmW3Yl2Hu9vxyTuRA161gDbXEStXs
qFxVH98ItTYk7Y2jiaTulJMp61Ktk8G7WN4RT8bgEsjpfB9h+kc4LhUMiaOrxFI=
=dPqA
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] edit joined fields

2014-04-22 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Stefan,

> Is there any way to make the attributes of a joined layer editable
> within the attribute table/form of the parent table?

you can save the joined layer (parent+child) as a new layer. This way,
when you load it in QGIS, its attribute table is *unique* and you can
style as your wishes.

Cheers

Matteo


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTVhSZAAoJEBy7UYf0gaEOppwIAJn7yVrTijgsnufztuZZco5P
2ygyug4QCGU5StTgSJW9CqOXGQS+TfeTDnm7is6256/eTOHnkuxFdp2IWdt3Hns4
Kh1wZjOeUFh/XXu1YTT3pRs8ZfLcbama37HXKTuMSUNqofhKTMDIg+iNGoEgTvXB
Ky/n5DC1gYG1GRzwB/b8VpS683XzWPDEIdkF3M45H7hm6jFMB2Jxm1paDnnk1OyA
Xt6iWPAtuc+k2cFiwCQLWvV+7NIBxGECsufRUUnjkBDMyE4AYFSCch3KtlvuUS3u
b1B/rIq4HImjkmIfC46tC+C1t117P2br4RZsgiJDiikAq29bx5i5G9SoX8ACpvc=
=j0Ak
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] download data from osm plugin broken?

2014-04-14 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/14/2014 06:36 PM, Goyo wrote:
> Works for me in master.
> 
> Goyo

Right I'm sorry, I'm on a debian 7.4 running QGIS 2.2.

Matteo




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTTBn7AAoJEBy7UYf0gaEOi5UH/R9l8yTmwDGE/RApI+2NkVgA
/I+EBZ5YuedayXiRdHQVCQya/R4FT4txg7r6NK21iMS/QQQgwq8wfpxL2Zsx2snh
MnzHWRCYLrFjnNlWkuakTgetLwTxa6daujYYuq/BF8UcUd4WRHHDzemN6d24VxuW
ZV9yJw7m0XErBlHTdmY/5nlVymkPH+XXdNfO12o6ok+962QlkOLqEWAe8hFKcQsL
nGth5pMvmvYaQdcL6Ox0n38wxddC09ksOw9B+UWG4JNH/3awQd+H8b7Uep94XF9J
wVT5ghtLh9d3Ep/X52/zQ/bVpJRHbivJYgxme2v8GRZ9i8K130x8/r56jjLmlwk=
=lmfn
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] download data from osm plugin broken?

2014-04-14 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Hi guys,
I'd like to use some *localized* example data and I want to download
them directly from OSM. So I follow the Training manual (here
http://www.qgis.org/en/docs/training_manual/foreword/preparing_data.html#hard-ty)
but the procedure doesn't work. When clicking on the download.osm data
through the **Add vector layer** menu, QGIS doesn't recognize the data
and nothing happens.

Given that this is a very useful tool I think it should be improved in
some ways.

I also read this post
(http://gis.stackexchange.com/questions/73238/how-do-i-load-osm-vector-data-in-qgis-2-x)
but I think that for new-users this procedure is a little bit
complicated..

Cheers

Matteo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTS7jxAAoJEBy7UYf0gaEO/ogH/1xPDaR8+gaepSZYJA5Hd5PK
JVICNmagzNYAVlrkkClDKCCKRs2kNVbZaeJx9STX0i37HtEd9v1D0Rh15VMUDfDZ
E5OBe8pRdF6N2sv1hhyzhcNk5uQoqx9DYv6zCy2WFrlwzCafxr171/ydIVWdLcY4
U1fA9KnuB+t4WECxaVoBKp9uJUo4d66JZfhqQfNw9R3fyWCnpV4kWjjCmrAi0CNA
YccNyPMDHuPRXQLqk3ygMsT3rgDo1GAULGH+ulG97Ehue0SyYsMpe4fOE2OxkQ6e
+PRWYZrfrumiX394fdb/cMi7LeIR2GH0XYsRMWfG4HGBoCmczM0DcAB6d0XP8o4=
=6XLd
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] problem using GRASS within Processing

2014-04-11 Thread matteo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi guys,
some problem using GRASS algorithms inside Processing. In a few words,
trying to run an algorithm, QGIS doesn't work. It tries to load the
dialog window, but nothing is loaded and QGIS doesn't crash.
Nothing appears in the terminal, so I cannot understand the error or
the missing libraries I had to install.

I'm on a Ubuntu 13.10 machine with QGIS 2.2. QGIS repos are the stable
ones (so those for saucy).

Thanks

Matteo





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTR+hRAAoJEBy7UYf0gaEOf/cH/RsW5Kh2nQFWu4j3+Lz3CiVd
dbmPdhs3X8/WlN8aZqPHxCgC71v//YnLklp/xpaux+6w5q1gOWZEctiDyZ9B/6fK
ApXcjuvZADFhJKoAryZiFNJp3BMFdTiiezkF/NqFwOJ42EbQePKbNs/YFzGU11ln
jZS9ZaJARucsfNPH+Jo9HXORDBbYW/cozt2ZI11X8yvcMHyq5/fVkRikrkdH+FiC
zy7QpckEwyKKMWsLNdOKTDNc96/0/d3qNb/J6oGyUyBJGZl2QPfZN99SJpiUULKM
CvBlzVFifZv5BXsFi2rkcD2tRQYBXlqBVQgYBtGWDFDaQRAiphDdvKSqvBtaBAA=
=FOWU
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] problem with Openlayers plugin and master version

2014-03-04 Thread Matteo Ghetta
Oh, I missed it!
Thanks Saber

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] problem with Openlayers plugin and master version

2014-03-04 Thread Matteo Ghetta
Hi guys,
I just updated the QGIS with the nightly repos (I'm on a debian machine)
but Openlayers plugin won't work.
After a while I have to kill the process.

Someone else has the same problem?

Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Any info on new QGIS Training Manual?

2014-03-03 Thread Matteo Ghetta
What about http://qgis.org/it/docs/training_manual/index.html?
Isn't that what you are looking for?

Cheers

Matteo


2014-03-03 15:52 GMT+01:00 Chrest, David :

> Anybody have any information when the updated QGIS Training Manual book
> may be available?
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] load automatically the customization config file

2013-12-06 Thread matteo

Hi guys,
I have customized QGIS menu and toolbars thanks to the customization 
option and I have created a configuration.ini file that I can load on 
several machines.


Now, is it possible to create a project and automatically load a 
specific config.ini file for that project?

I mean, link a config file with a project..

I didn't found anything in the project properties or in the option menu, 
but maybe there is another way.


Thanks all

Matteo


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] no frame in print composer

2013-12-04 Thread matteo

Hi guys,
I'm producing some maps with the print composer. I noticed that, 
activating the "show grid" option when saving the map as an image, the 
outside part of the map frame doesn't appear.


I'm working with the master version and with debian 7.2

Someone else has the same problem?

Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] quantile calculation

2013-12-02 Thread matteo

Hi guys,
a simple question: in the graduated classification method, one can 
choose several methods to classify the data (natural breaks, 
quantile...) and also the class numbers.
If I choose the quantile method, how can I know the interval limit of 
each range? I mean, if the data are classified in 5 classes, I think 
that the first class goes from 0 to the 20th quantile, the second class 
from the 20th to the 40th and so on.


But can I set that the first class should go from 0 to the 25th 
percentile, the second from the 25th to the 50th...


In other word, can I choose the quantile limits?

Thanks in advance

Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread matteo

You just drag and drop the csv in the map canvas and this is the result??
Because if I want to have the same, I have to save the file as dbf in 
Libreoffice (no big deal, but unfortunately not everyone has 
Libreoffice, and Excel is not able to save dbf files..).


BTW: I resolved the import of the coordinates. It was my fault: I 
installed qgis on my new debian and I forgot to enable the "prompt for 
CRS" setting.

Sorry guys
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread matteo

On 22/10/2013 16:50, Alexandre Neto wrote:

Well, let's mess things a bit more...

I have opened your csv using this settings 
<https://dl.dropboxusercontent.com/u/110618644/Capturar.JPG>[1].


And both coordinates fields were read as integer (because they have no 
decimal part), not texts



Thanks Alexandre..
Till 1.9 release QGIS asked immediately for the CRS. Now you have to 
specify it in the properties of the layer you have added. This problem 
is solved! :)


But could you try to add a table (csv file) in the map canvas and see if 
qgis recognize the numbers as numbers (real or integer, it doesn't matter)?


Thanks

Matteo

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Matteo Ghetta
Thanks for all the replies.
I'm sure that with qgis 1.8 I had no problem in importing a csv file.
Anyway, that's my current file:

  ID X Y  2818/22/0834 3480240 5887204  2818/22/0851 3480183 5887073
2818/22/0853 3480060 5886803  2818/22/0886 3481095 5886981  B0F 3479888
5885731  B12T 3479805 5886002

As you can see there are no decimal numbers. You can find the csv file also
in attach.
Another problem: if I import a table (without coordinates and still as csv
file made in libreoffice) in the map canvas (just drag and drop it), qgis
still reads the numbers as strings (making the join option with another
shape file useless).

Cheers

Matteo




2013/10/22 Ramon Andiñach 

> True. A couple if lines would be helpful. Generally QGIS 2.0 is fairly
> good at guessing, so it would be interesting to see what's confusing it.
>
> Have you got the put apostrophes around text turned on?
>
> If all else fails you can force QGIS to do what you want.
> http://anitagraser.com/2011/03/07/how-to-specify-data-types-of-csv-columns-for-use-in-qgis/
>
> -ramon.
>
> > On 22 Oct 2013, at 20:06, Zirneklitis  wrote:
> >
> > Hard to comment without example.
> >
> > Best regards,
> > Karlis
> >
> > Matteo Ghetta wrote:
> >> ..
> >> I wrote a table with some field (two of them are x and y coordinates),
> >> saved as csv and then I tried to upload it in qgis with the "add
> >> delimited text" option.
> >>
> >> Problem: numeric filed are read as strings and not as numbers ..
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
ID,X,Y
2818/22/0834,3480240,5887204
2818/22/0851,3480183,5887073
2818/22/0853,3480060,5886803
2818/22/0886,3481095,5886981
B0F,3479888,5885731
B12T,3479805,5886002
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Matteo Ghetta
Hi all,
I work with a debian machine, QGIS 2 and libreoffice 3.
I wrote a table with some field (two of them are x and y coordinates),
saved as csv and then I tried to upload it in qgis with the "add delimited
text" option.

Problem: numeric filed are read as strings and not as numbers and so I
cannot convert the table in a point shape (in Libreoffice numbers are read
as numbers and I can do some calculation with them).
It seems that it doesn't matter if a numeric field has a decimal part or
not, qgis does not recognize them as numbers anyway.

Any help is appreciated

Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] public key for debian 7.2 doesn't work

2013-10-20 Thread matteo

problem seems solved. installation works now

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] public key for debian 7.2 doesn't work

2013-10-20 Thread matteo

Hi guys,
trying to install qgis 2 on debian with the deb http://qgis.org/debian 
wheezy main repository but there are some problem with the public key:


ma7730@debian:~$ gpg --recv-key 47765B75
gpg: requesting key 47765B75 from hkp server keys.gnupg.net
?: keys.gnupg.net: Host not found
gpgkeys: HTTP fetch error 7: couldn't connect: No such file or directory

Some ideas or solution?

Thanks

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] SAGA GIS dependency problem

2013-09-25 Thread matteo

The problem saga-qgis in ubuntu seems solved (thanks to johan)
Just update the system with the repository of ubuntugis unstable and it 
should work.


See:
http://gis.stackexchange.com/questions/71821/saga-2-0-8-and-gqis-2-0-1-on-ubuntu-13-04/72376?noredirect=1#72376


Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] SAGA GIS dependency problem

2013-09-24 Thread matteo

Il 24/09/2013 11:42, Pedro Venâncio ha scritto:

You can use Johan's ppa:

https://launchpad.net/~johanvdw/+archive/saga-gis

I'm afraid this repository doesn't solve the problem. The dependency 
problem (or conflict between gdal libraries) is still there.


Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] SAGA GIS dependency problem

2013-09-24 Thread matteo

Il 24/09/2013 07:15, SaekBinko ha scritto:

Hey
I can't install SagaGIS on Ubuntu 13.04 32bit. I'm using ppa
ubuntugis-unstable and there is a problem with dependencies.
saga : Wymaga: libgdal1 (>= 1.9.0) ale nie zostanie zainstalowany
 Wymaga: liblas1 ale nie zostanie zainstalowany

Do You have any ideas how to install Saga?


I have the same problem. I'm afraid that the only way to install saga is 
to compile it from source...

If anybody has an alternative solution it would be great.

Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] trouble with processing-saga and libgdal

2013-09-17 Thread matteo

Hi guys,
I just added the ubuntugis repos (ubuntu 13.04) and install qgis and 
grass. Everthing  is fine, but I cannot install saga.

The problem is a conflict between the libgdal libraries:
- with ubuntugis repos I have the libgdal1*h* installed
- saga (both 2.0.8 and 2.1) requires libgdal1 (if I choose to install 
this version of libgdal I have to uninstall qgis and the other software 
that uses libgdal1*h*)


Some trick to do that I miss?

Thanks

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Saga not working with "In processing" aka sextante

2013-09-09 Thread matteo

Il 09/09/2013 11:54, Victor Olaya ha scritto:

yes, that doesn't include the change

You can see that it is trying to call centroids to perform the
test...but it passes a points layer. It should pass a polygon one.
That was the change i introduced

When master gets updated, you should get the new code, which should
perform the test correctly

Cheers, and thanks again!


Awesome! Thanks!

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Saga not working with "In processing" aka sextante

2013-09-09 Thread matteo

Il 09/09/2013 10:49, Victor Olaya ha scritto:

h, let' see

can you tell me if there is any output in the log?. There should be a
test run by the saga algorithm before opening the dialog, which tries
to run the centroids algorithm on a test layer. Can you send me the
result of that test, which should be in the log (remember to enable
saga logging if it is not already enabled)


Here it is:

SAGA execution console output

error: executing module [Polygon Centroids]

_

# ## # ##

### ### ## ###

### # ## ##  # ##

### # ## # #

# # ## # # ##

_


library path: /usr/lib/saga

library name: libshapes_polygons

module name : Polygon Centroids

author : (c) 2003 by O.Conrad

_

go...


Load shapes: 
/usr/share/qgis/python/plugins/processing/tests/data/points.shp...


ready

okay

Polygon Centroids: Invalid parameters!

Shapes: Polygons



BTW: no matter which algorithms I choose, the message always refers to 
the polygon centroids. Is that normal?


Is it possible that the changes you made on Friday have not been merged 
in the repo?



Thanks


Matteo



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Saga not working with "In processing" aka sextante

2013-09-09 Thread matteo

Hi Victor,
sorry for bothering you again, but SAGA still doesn't work with 
sextante. I re-installed the 2.0.8 version, check the checkbox for the 
compatibility, but it always appears the windows of the missing 
dependencies.

Of course I also updated qgis with the nightly repos.

Ideas?

Thanks

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Saga not working with "In processing" aka sextante

2013-09-06 Thread matteo

Hi Victor,
I updated my system right now but sextante still doesn't work... :(
Are the changes you made yesterday already available in the nightly 
repo, don't they?


Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Saga not working with "In processing" aka sextante

2013-09-06 Thread matteo

Il 06/09/2013 13:27, Victor Olaya ha scritto:

hmmm, i do not know if that might be the cause of this problems...but
changing the "enable 2.0.8 compatibility" setting requires restarting
QGIS...

I am going to add a warning for this

I uninstalled 2.1 and reinstalled 2.0.8 then I restart the computer...
check the 2.0.8 compatibility but still not working...

Matteo


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Saga not working with "In processing" aka sextante

2013-09-06 Thread matteo

Il 06/09/2013 11:57, Victor Olaya ha scritto:

Matteo

Both versions are supported now, but you have to enable 2.0.8
compatibility in the settings (int he SAGA group) if you use 2.0.8
instead of 2.1

Thanks Victor for the quick reply. Some feedbacks:
- Saga 2.0.8 and compatibility enabled -> not working
- Saga 2.1 installed (from |ppa:johanvdw/saga-gis) -> not working

I installed saga from console (so apt-get install saga), maybe should I 
check for additional dependencies?


Matteo
|
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Saga not working with "In processing" aka sextante

2013-09-06 Thread matteo

Hi guys,
I'm working on a ubuntu 13.04 with the latest version of qgis master 
installed (debian nightly repos). I just installed saga from the 
launchpad repos (so the version is the 2.0.8) but it doesn't work within 
qgis.
Is that due to the version of saga? Wasn't that the 2.08 the version 
required by sextante?


Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] sextante & saga

2013-08-01 Thread matteo

Hi Giovanni,


Even if it worked we need anyway a better solution as most of the
users need a simpler and more straightforward way to install the
packages.


I totally agree with you!

Cheers

Matteo

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] sextante & saga

2013-07-30 Thread matteo

Another problem is that it seems that most of Linux users (Ubuntu and
derivate) are without a working SAGA package. For example in ubuntugis
there is no precise (LTS) SAGA 2.0.8 package, and in the Johan Van de
Wauw PPA repository there is SAGA 2.1 but it is not working (see
http://hub.qgis.org/issues/8289#note-3 ), what/how we can do/help?


Hi,
I also work on a ubuntu 12.04 and what you said is true. Repositories 
update Saga up to 2.1 that doesn't work with sextante.
I solved installing the packages of 12.10. You can use Saga as 
"standalone" and via Sextante.


Go on synaptic and remove the 4 packages:
-saga
-libsaga-dev
- pytho-saga
- libsaga

Then go here http://www.ubuntuupdates.org/ and look for the same 4 
packages you removed, but choose those for quantal or raring (you will 
see version 2.0.8 available)

Just download them as deb package and let your ubuntu install all the stuff.

Hope it helps

Cheers

Matteo

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] encoding dbf file in libreoffice

2013-07-30 Thread matteo

Hy guys,
has anyone an idea why the decimal numbers of the attribute table are 
not read by libreoffice? If I open the dbf file, the number, e.g.,  6.56 
in qgis in libreoffice appear as 6.00.
Nothing happens if I change the encoding when loading the file in 
libreoffice. I try: UTF-8, ISO-8859-1 and ISO-8859-2 (and many others).


Am I the only one that has this trouble?

Thanks

Matteo


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] sextante & saga

2013-07-28 Thread matteo

Thanks Victor.
I missed the discussion about this issue. I will downgrade saga.

Cheers

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] sextante & saga

2013-07-28 Thread matteo

HI guys,
I have some trouble with saga and sextante. I updated saga on my ubuntu 
12.04 but now none of the algorithms work.

Should I downgrade saga or is there some tricks I have to do?

Thanks a lot

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] delete field doesn't work

2013-05-16 Thread matteo

Il 16/05/2013 11:59, Giacomo Rossi ha scritto:
I don't visualize the table manager plugin between the official qgis 
python plugins. Where can I download this plugin?


Maybe you should activate the experimental plugin repository form the  
Options tab.


Matteo

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] delete field doesn't work

2013-05-16 Thread matteo

Il 16/05/2013 11:30, Giacomo Rossi ha scritto:

Hello,
I've loaded one shapefile in qgis 1.7.4 but in the attribute table I 
don't manage to push the button "delete field". How can I solve this 
problem?

Thank you
Best regards


I think that this features is not implemented in the 1.7 and in the 1.8 
version. But you can download the table manager plugin to add/delete and 
modify columns.


Cheers,

Matteo

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] sextante & QGIS geoalgorithms

2013-05-16 Thread matteo

Il 15/05/2013 21:49, Victor Olaya ha scritto:

Matteo

I am afraid you are using an old version of SEXTANTE, not compatible
with the new QGIS API

Remove all 'sextante' folders from you .qgis2 folder, and that will
make QGIS use just the core version.



It seems that it's working!

Thanks Victor!!


Cheers,

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] sextante & QGIS geoalgorithms

2013-05-15 Thread matteo

Hi guys,
none of the geoalgorithms of Qgis work through the sextante toolbox. For 
example the "reproject layer" gives:



Traceback (most recent call last):

File "/home/matteo/.qgis2/python/plugins/sextante/core/GeoAlgorithm.py", 
line 145, in execute


self.processAlgorithm(progress)

File 
"/home/matteo/.qgis2/python/plugins/sextante/algs/ftools/ReprojectLayer.py", 
line 71, in processAlgorithm


features = QGisLayers.features(layer)

File "/home/matteo/.qgis2/python/plugins/sextante/core/QGisLayers.py", 
line 206, in features


return Features(layer)

File "/home/matteo/.qgis2/python/plugins/sextante/core/QGisLayers.py", 
line 214, in __init__


self.layer.dataProvider().rewind()

AttributeError: 'QgsVectorDataProvider' object has no attribute 'rewind'




Other algorithms give similar errors.

Cheers,

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] statist plugin

2013-05-15 Thread matteo

Il 15/05/2013 08:38, Alexander Bruy ha scritto:

Hi Matteo,

this plugin (and many others) is broken due API changes in QGIS 1.9.
I'll fix all my plugins API will be really freezed.



Hi Alexander,
thanks for the answer. I didn't know that!

Cheers,

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] statist plugin

2013-05-14 Thread matteo

Hi guys,
I downloaded the statist plugin but I receive some errors like:


Errore durante l'esecuzione di codice Python:
Traceback (most recent call last):
  File "/home/matteo/.qgis2/python/plugins/statist/statistdialog.py", 
line 110, in reloadFields
self.cmbFields.addItems(utils.getFieldNames(layer, [QVariant.Int, 
QVariant.Double]))
  File "/home/matteo/.qgis2/python/plugins/statist/statist_utils.py", 
line 57, in getFieldNames

for idx, field in fieldMap.iteritems():
AttributeError: 'QgsFields' object has no attribute 'iteritems'
Versione Python:
2.7.3 (default, Aug  1 2012, 05:27:35)
[GCC 4.6.3]
Versione di QGIS:
1.9.0-Master Master, exported
Percorso Python: ['/home/matteo/.qgis2/python/plugins/sextante_taudem', 
'/home/matteo/.qgis2/python/plugins/sextante', '/usr/share/qgis/python', 
'/home/matteo/.qgis2/python', '/home/matteo/.qgis2/python/plugins', 
'/usr/share/qgis/python/plugins', '/usr/lib/python2.7', 
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', 
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', 
'/usr/lib/pymodules/python2.7', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/usr/lib/python2.7/dist-packages/ubuntuone-client', 
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', 
'/usr/lib/python2.7/dist-packages/ubuntuone-couch', 
'/usr/lib/python2.7/dist-packages/ubuntuone-installer', 
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', 
'/home/matteo/.qgis2/python/plugins/mmqgis/forms', 
'/usr/share/qgis/python/plugins/fTools/tools', 
'/home/matteo/Universita/brema/gis']




I looked at the two files but I'm not able to find any error.

Ideas?

Thanks in advance


Matteo


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] kriging problems

2013-05-13 Thread matteo

Il 13/05/2013 10:08, Victor Olaya ha scritto:

the version of SAGA that you are using does not contain the algorithm
that is used to perform the test run, so it fails. SEXTANTE expects
SAGA 2.0.8 to be installed in your system. I am afraid that you are
using an older version. Updating it should solve your problem

I installed saga from packages (ubuntu 12.04) and actually it is the 
version 2.0.7. I see I have to download and compile the newest version.

So this problem seems solved.

Thanks Victor!

Cheers

Matteo



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] kriging problems

2013-05-13 Thread matteo

Il 13/05/2013 09:49, Victor Olaya ha scritto:

could you send the log file to see what is happening? it should be in
your home folder in qgis2/sextante

Enable the 'log console output' in the SEXTANTE/SAGa configuration and
try to run a SAGA algorithm before sending it, so the problems gets
logged.

Thanks in advance!


That's the log file when the folder without moving the sextante folder 
from .qgis2/python/plugin (when I try to launch the kriging function):



Started logging at lun mag 13 2013 09:53:04
ERROR|lun mag 13 2013 09:53:04|Could not load model 
watersheds.model|ALGORITHM:ftools:export/addgeometrycolumns
ERROR|lun mag 13 2013 09:53:04|Could not load model 
watersheds.model|ALGORITHM:ftools:export/addgeometrycolumns
ERROR|lun mag 13 2013 09:53:21|Could not load model 
watersheds.model|ALGORITHM:ftools:export/addgeometrycolumns
ERROR|lun mag 13 2013 09:53:21|Could not load model 
watersheds.model|ALGORITHM:ftools:export/addgeometrycolumns



And this is the log after I moved away the sextante folder (always 
trying to launch a kriging algorithm):



ERROR|lun mag 13 2013 09:56:08|Could not open GRASS algorithm: 
/usr/share/qgis/python/plugins/sextante/grass/description/r.stream.stats.txt|OutputFile|outputtext
ERROR|lun mag 13 2013 09:56:08|Could not open GRASS algorithm: 
r.stream.stats.txt

Started logging at lun mag 13 2013 09:56:08
ALGORITHM|lun mag 13 2013 
09:56:16|sextante.runalg("saga:thiessenpolygons","/usr/share/qgis/python/plugins/sextante/tests/data/points.shp",None)
INFO|lun mag 13 2013 09:56:16|SAGA execution commands|libshapes_points 
"Thiessen Polygons" -POINTS 
"/usr/share/qgis/python/plugins/sextante/tests/data/points.shp" 
-POLYGONS 
"/tmp/sextante/sagathiessenpolygonsc604bd18042d41f084e676c1ba6d2185.shp"
INFO|lun mag 13 2013 09:56:17|SAGA execution console output||error: 
module not found [Thiessen Polygons]||error: 
module|_|#   ## #
##|### ###  ##   ###|###   # ## ##   # ##|### # ### 
#|# #   ##  # # 
##|_|||executable 
modules:|0- Convert Table to Points|1- Count Points in 
Polygons|2- Create Point Grid|3- Distance Matrix|4- Fit N 
Points to shape|5- Convert Lines to Points|6- Add Coordinates to 
points|7- Remove Duplicate Points|8- Clip Points with 
Polygons|9- Separate points by direction|10- Add Polygon 
Attributes to Points|11- Points Filter|12- Convex Hull|14- 
Points Thinning||type -h or --help for further information



Cheers,

Matteo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


  1   2   >