[QGIS-Developer] Help with QgsProcessingParameter

2020-10-16 Thread Niccolò Marchi
Hi Devs,
I’m contributing to the FUSION/LDV plugin and I have a couple of newbie 
questions related to the I/O parameters in Python.


1. SELECT MULTIPLE INPUTS
I’m not a Pythonist (I can read it and only make copy-paste-wise 
modifications). Unfortunately, there's one thing I don't understand of the 
logic related to the input of multiple files: there should be the way to create 
a .txt file with a list in case more than one is selected...but I haven't been 
able to make it work. You can find an example in xyz2dtm :



self.addParameter(QgsProcessingParameterMultipleLayers(self.INPUT,

   self.tr('XYZ files'),

   QgsProcessing.TypeFile))

and then calling:

fileList = fusionUtils.layersToFile('xyzDataFiles.txt', self, parameters, 
self.INPUT, context)



arguments.append(fileList)



When trying this with other files (.las, .laz), the txt file is created but it 
remains empty. This could be quite a big thing for users instead of working on 
mega files or file-by-file, but I have no idea ho to deal with it.


2. GENERAL OUTPUT NAME WITHOUT EXTENSION
There are some tools (e.g. TreeSeg) that require just a general “file name” 
that will be applied to many different outputs.
If I set just a simple name (e.g. "test_output") it doesn’t run the algo and 
returns an error such as “invalid name”.
In order to “fix” this, the user has to enter any kind of extension (i.e. 
"test_output.csv" and FUSION will strip it out using the basename for all the 
exports it provides.


Any suggestion or best practice about dealing with such cases?

Thanks in advance as usual,

Nic
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] R: New QEP: Point clouds in QGIS (Martin Dobias)

2020-08-11 Thread Niccolò Marchi
Hi Martin,
great news: I’m craving for such an enhancement!

Reading the description of the QEP I didn’t see great considerations about LAS 
& LASlib.
>From my experience, LAS format is almost a standard for ALS LiDAR data sharing 
>and, even if LAZ is still not well known, the size can be shrinked to 1/10 
>thanks to it. It has a 2D index that can be easily created through the open 
>source tools of LAStools and it’s definitely well exploited using the 
>streaming filters provided by LASlib (at least in IO operations). For what 
>concerns the visualization, 
>here you can find how it has 
>been solved for the R language (horrible for memory handling) making use of 
>OpenGL.

BTW, I’m just a user and not a programmer…just curious why the above choices :)
All the best and keep up the great work!

Niccolò





Da: 
qgis-developer-requ...@lists.osgeo.org
Inviato: lunedì 10 agosto 2020 21:00
A: qgis-developer@lists.osgeo.org
Oggetto: QGIS-Developer Digest, Vol 178, Issue 20


Message: 1
Date: Mon, 10 Aug 2020 15:25:29 +0200
From: Martin Dobias 
To: qgis-dev 
Subject: [QGIS-Developer] New QEP: Point clouds in QGIS
Message-ID:

Content-Type: text/plain; charset="UTF-8"

Hi all

I have just published a draft of the proposal for introduction of
point cloud visualization in QGIS:
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/194

Any feedback would be highly appreciated!

We will be soon launching a crowdfunding campaign for the
implementation - stay tuned!

Regards
Martin


--

Subject: Digest Footer

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

--

End of QGIS-Developer Digest, Vol 178, Issue 20
***

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] [LTR 3.4.6] Background online services not working (OpenLayers & QuickMapServices)

2019-04-08 Thread Niccolò Marchi
Hi all,
I need to add an online service (Bing/google aerial) as a background map in my 
project.

Using those offered in the OpenLayers plugin I get the following error 
“Printing and rotating of Javascript API based layer is currently not 
supported” and, therefore I’m not able to keep any of these layers saved in my 
project.

Using QuickMapServices, instead, I’m not able  to download the “Contributed 
pack” because I get this error: “Attribute error: module ‘sys’ has no attribute 
‘exec_type’ “.


It is a pain for normal use but this has quite bad consequences when I decide 
to use that project on Qfield. Am I missing something? Any other suggestion?
I’m using LTR 3.4.6 on W10.

Sorry for the re-post, but I got no reply on users-list.

Many thanks in advance for your help

Nic
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] R: FUSION/LDV plugin for QGIS3

2019-03-08 Thread Niccolò Marchi
Hi Frederik,
the lidar tools provided in qgis 2.x has been splitted into lastools and 
fusion/ldv.
If the first has a maintainer, the second unfortunately doesn’t; one year ago, 
a core dev told me that it’s not in the plans. I wrote some of the scripts for 
the 2.x version but I’m not a programmer and I have no idea how to migrate the 
whole thing.
If you know how or you know someone who knows how to do it, I think it’s just a 
matter of asking for the access to the repository.

HTH,

Nic


Date: Fri, 8 Mar 2019 11:37:51 +
From: Fredrik Lindberg 
To: "qgis-developer@lists.osgeo.org" 
Subject: [QGIS-Developer] FUSION/LDV plugin for QGIS3
Message-ID: <9719c6caf1a548b1957ad6b643ba1...@gvc.gu.se>
Content-Type: text/plain; charset="iso-8859-1"

Dear all,

Does anyone have any plans for making a plugin for the LiDAR tools included in 
FUSION/LDV for QGIS3?

This was available in QGIS2 but has not been migrated to QGIS3.


best wishes,

Fredrik

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] R: refactor fields doesn't accept expressions

2017-09-22 Thread Niccolò Marchi
Hi Andreas,
unfortunately I never used it in this way (with formulae) before: all the 
previous times I was simply adding empty fields or deleting useless ones.

A further minor issue related to the alg: when selecting the field type, 
“double” and “data” are repeated twice.

An improvement could be also adding the NULL value by default when a field is 
created. Does it make sense?

Should these notes be added to your issue or separated into other tickets?

All the best,

Niccolò


Da: Andreas Neumann<mailto:a.neum...@carto.net>
Inviato: giovedì 21 settembre 2017 00:34
A: Niccolò Marchi<mailto:sciurusurba...@hotmail.it>
Cc: qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org>
Oggetto: Re: [QGIS-Developer] refactor fields doesn't accept expressions


Hi Niccolo,

I ran into the exact same problem yesterday. I opened an issue:

https://issues.qgis.org/issues/17170

Are you sure that this worked in earlier QGIS versions? It would help to know 
that.

Andreas

On 2017-09-21 00:58, Niccolò Marchi wrote:
Hi all,
I'm using 'refactor fields' in the modeler.

Once I've loaded the fields from a shp and then added some new ones, I'm not 
able to add a formula (e.g. 'to_int(substr("MM_GG", 1,2))' ) to the latter ones 
because it's recognised as wrong in the Expression dialog. Furthermore, the 
Expression dialog doesn't recognise any field in the label 'Fields and values' 
and simply shows 'NULL'.
BTW, if I write the formula directly in the box without using the expression 
dialog and then run the model, it works smoothly.
Are those intended behaviours?

i just updated from 2.18.11 to .13 .

all the best,

Niccolò

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org<mailto:QGIS-Developer@lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] refactor fields doesn't accept expressions

2017-09-21 Thread Niccolò Marchi
Hi all,
I’m using ‘refactor fields’ in the modeler.

Once I’ve loaded the fields from a shp and then added some new ones, I’m not 
able to add a formula (e.g. ‘to_int(substr("MM_GG", 1,2))’ ) to the latter ones 
because it’s recognised as wrong in the Expression dialog. Furthermore, the 
Expression dialog doesn’t recognise any field in the label ‘Fields and values’ 
and simply shows ‘NULL’.
BTW, if I write the formula directly in the box without using the expression 
dialog and then run the model, it works smoothly.
Are those intended behaviours?

i just updated from 2.18.11 to .13 .

all the best,

Niccolò
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] [SAGA] Raster values to points

2017-09-20 Thread Niccolò Marchi
Hi all,
updating from 2.18.11 to .13 the ‘Raster values to points’ disappeared to be 
substituted by  ‘Raster values to points (randomly)’. The same operation can be 
done with ‘v.what.rast.points’ but, even if well explained in some blogs, it 
turns to be pretty less user-friendly than the previous.
Is there a particular reason to this change?

Thanks in advance,

Niccolò
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] "Save as" creates artifacts on raster

2017-05-26 Thread Niccolò Marchi
Hi devs,
I noticed that saving a raster (10x10m, EPSG:32632) to another CRS (3003) 
creates a gridded artifact with a “cell size” of 100x100m. Doing the same 
operation using Warp command from the Processing toolbox, everything works 
fine. Any idea? I’m working with 2.18.7 .
I found only Bug Report #15542 but not similar issues on this procedure.

All the best,

Niccolò

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Clipping by field

2017-01-20 Thread Niccolò Marchi
Hi devs,
I was looking for the possibility of iterating a clipping by field process but 
I saw that the only option is to use a script from the online collection (Cut 
by field).
On the web some old workarounds are proposed, but they mostly make use of 
direct programming or are related to arcgis 
(1,2).

What’s the idea behind making an alg become a core one? Due to teh fact that no 
other provider offers this functionality, could it be an idea to include that 
script among the core geoalgs avoiding the risk of losing it with some API 
breakage?

All the best,

Nic
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] 'NoneType' object has no attribute 'crs'

2016-12-22 Thread Niccolò Marchi
Hi all,
running the following model:

shapefile (points) -> selection by attribute -> triangulation (SAGA) -> mosaic 
rasters (SAGA)

I get the error “ 'NoneType' object has no attribute 'crs'  ” when it reaches 
the last step.

On the web there are just few posts about this issue with other tools (an old 
bug and fresh comments in some 
forum) but none with a 
solution.
Btw, it may be related to SAGA but seems that all the reported ones happened 
when used within QGIS 2.18.x .

Any idea?

I’m using QGIS 2.18.2 with SAGA 2.1.2 on W10 64bit.

Thank you in advance.

All the best!

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

[Qgis-developer] R: Duplicate plugins: proposal

2016-06-08 Thread Niccolò Marchi
(unfortunately) No suggestions for improvement except for setting that sentence 
as first and highlighting it as much as possible :)



The additional page was absolutely not meant to be on your shoulders but up to 
each developer with valid access, as a sort of “blackboard for notes”. When 
someone is testing more plugins dealing with a specific topic and finds similar 
functionalities, he can just add his notes as a reminder (open to the public). 
Pretty “informal”, let’s say, but useful to cluster plugins according to the 
effort of everyone who wants to contribute, instead of basing everything on 
your exclusive knowledge of each plugin.



Thanks for your time,



Niccolò







Da: Paolo Cavallini<mailto:cavall...@faunalia.it>
Inviato: mercoledì 8 giugno 2016 18:11
A: Niccolò Marchi<mailto:sciurusurba...@hotmail.it>; 
qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org>
Oggetto: Re: Duplicate plugins: proposal



Hi Niccolò,
thanks for your suggestions:

Il 07/06/2016 18:55, Niccolò Marchi ha scritto:

> 1.   An advice to “check for improvements before creating new and
> get in contact with the author”,

it is already here: http://plugins.qgis.org/

does not duplicate of existing functionalities or plugin, unless there
is a good reason

Please suggest wording improement if you think i is not clear enough.

> 2.   And/or an additional page (read-only for users) dealing with
> “proposed merges” where , the qgis developers who are testing more
> plugins similar to each other, can resume which features can be
> collected and from where.
>
> In the latter case, after a while, it could be then useful to send a
> general email to the plugin devs to get in contact with each other
> according to the “clustered scheme” that dinamically will be created.
> Plugin developers will still be free to keep their own plugin but, at
> least, it can stimulate the more collaborative ones. A sort of
> coordination proposal about what the project “needs”.
>
> In the worst  case, it may work as a general framework for future funded
> (?) projects.

Maintaining such a page is quite time consuming, and I cannot afford it.
What I regularly do is to suggest, directly to the developer, a merge
before approving new plugins, any time I see a potential for it.
This has met some very nice success.

All the best.

--
Paolo Cavallini - www.faunalia.eu<http://www.faunalia.eu>
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Duplicate plugins: proposal

2016-06-07 Thread Niccolò Marchi
Hi all,
could it be an idea to add somewhere on the “about plugins“ page:

1.   An advice to “check for improvements before creating new and get in 
contact with the author”,

2.   And/or an additional page (read-only for users) dealing with “proposed 
merges” where , the qgis developers who are testing more plugins similar to 
each other, can resume which features can be collected and from where.

Topic


-  Plugin 1


-  Feature 1

-  Feature 2


-  Plugin 2


-  Feature 1

-  Feature 2


In the latter case, after a while, it could be then useful to send a general 
email to the plugin devs to get in contact with each other according to the 
“clustered scheme” that dinamically will be created. Plugin developers will 
still be free to keep their own plugin but, at least, it can stimulate the more 
collaborative ones. A sort of coordination proposal about what the project 
“needs”.
In the worst  case, it may work as a general framework for future funded (?) 
projects.

All the best,

Nic


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

[Qgis-developer] [Processing] AttributeError: 'NoneType' object has no attribute 'update'

2016-06-05 Thread Niccolò Marchi
Hi all,
adding a tool to the the graphical modeler I got the error “AttributeError: 
'NoneType' object has no attribute 'update' ”. In other discussions on the web 
it seems due to an algorithm not properly working within the sequence.

I tried then:

-  to remove the last tool

-  To substitute the algoritms with similar ones,

-  removing one tool a time,
but still the error persists.

any idea?

Thank you in advance!
All the best,

Nic



AttributeError: 'NoneType' object has no attribute 'update'
Traceback (most recent call last):
  File 
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\modeler\ModelerDialog.py", 
line 247, in runModel
alg = self.alg.getCopy()
  File 
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\modeler\ModelerAlgorithm.py",
 line 201, in getCopy
newone.algs = copy.deepcopy(self.algs)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 298, in _deepcopy_inst
state = deepcopy(state, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 298, in _deepcopy_inst
state = deepcopy(state, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 230, in _deepcopy_list
y.append(deepcopy(a, memo))
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 298, in _deepcopy_inst
state = deepcopy(state, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
  File "C:\OSGEO4~1\apps\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File 

[Qgis-developer] [Processing] General programming issues

2016-05-28 Thread Niccolò Marchi
Hi all,
sorry for the noob questions, but I’m struggling to find a solution to some 
simple issues.
I’m working on the Processing interface with a 3rd party software (i.e. 
FUSION). I’m not a programmer , so be patient!


1.   TEMPFILELIST: when I select more input files, a static method is 
called to write a temp list (to be used as wildcard). Actually the code says 
“filepath = userFolder() + os.sep + filename” and it doesn’t work, but if I set 
up a specific folder instead of userFolder, it works fine. Does it lose the way 
of the temp path?

2.   ACCESS TO SHAPEFILE: if I use a shapefile already opened in qgis for a 
clipping operation, the software (FUSION) has problems to access to it (and 
stops working); if I do the same operation with a shapefile not loaded in qgis, 
it works fine. Does qgis block files while reading them (as arcgis does with 
“.lock” temp files)?

3.   MODELER: Building up a model with FUSION tools, I’m obliged to fill 
also optional parameters to make the algorithm work, otherwise I receive the 
error “Wrong or missing value”. How can I solve this?

4.   OPTIONAL PARAMETERS: In the graphical panel of each algorithm, some 
parameters (i.e. input) automatically appear as “…[optional]” while they 
clearly aren’t. Where is it possible to change this behaviour?

I specify I’m using QGIS (2.14.3) on W10 64 bit.

Thank you VERY much in advance for those who have time to answer  
Keep up with the good work!

All the best,

Nic


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

[Qgis-developer] Fwd: Stats functions in QGIS

2015-06-04 Thread Niccolò Marchi

hi Alexander and Nyall, hi all,
if possible, I'm interested in understanding which kind of stats you are 
planning to include in core.
Indeed, here I'm looking for someone who can help me to update SDA4PP plugin 
and, in case, avoid to duplicate the efforts.

Is there also an idea about optimizing geo-statistics tools? like merging the two 
interpolation tools, or those connected to DEM analyses and geomorphological 
analyses  within raster menu or adding new features?

Thank you in advance.

All the best,

Niccolò

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

[Qgis-developer] 2.8.2: strange behaviour

2015-05-11 Thread Niccolò Marchi

hi devs,
here two strange situations:
- modifying the parameters included in a tool file, opening QGIS it 
still show the original version of the file;
- adding a tool in the LidarToolsAlgorithmProvider, QGIS still show the 
initial 13 ones (and not 14).

Any clue?

I'm working on some tools of the FUSION software in Processing and I 
just updated from 2.6.1 (where the same procedure worked perfectly).


Thank you in advance!

all the best,

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


[Qgis-developer] QGIS 2.6.1: minidumps (2nd season)

2015-02-28 Thread Niccolò Marchi

Hi Giovanni and all devs,
sorry for bothering again but, within the last 2weeks, I'm still 
experiencing minidumps.
As suggested months ago (with 2.6-- solved), I tried to uninstall 
plugins in a progressive way but, this time, it's not simple to 
understand what can cause the crash due to the fact that it appears just 
sometimes in different situations (mainly quick zoom inout, or while 
loading sth). I don't know if it can be related to the multiple 
processor rendering.
The project has: around 20 shapefile, Bing OpenLayer (mostly switched 
off) and around 50 tiff maps (mostly switched off).

Probably similar to THIS ISSUE https://hub.qgis.org/issues/12077.
Am I the only one?

I'm working on W8.1 64bit and QGIS 2.6.1 from Osgeo 64bit.

Thank you all!

all the best,

Niccolò


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Georeferencer - QGIS master

2014-11-12 Thread Niccolò Marchi



Hi all,
loading in the georeferencer a coloured jpg (clipped aerophoto) it is shown as 
black or fuzzy coloured image.
any known issue?

furthermore, as reported in other tickets (10018 and 10459), georeferencing an 
image it doesn't load in the main canvas when finished or any window opens to 
say done. is it normal behaviour?

all the best,

Nic


(win 8.1, QGIS master from osgeo 64bit)

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

Re: [Qgis-developer] 2.6: first overview

2014-11-03 Thread Niccolò Marchi



ok giovanni, once I understand which plugin is causing the crash, what shall I 
do? report it?
btw: crashes appeared also while working, even on already-saved-2.6-version 
projects.

thank you all for the support!


PS
suggestions for the next step? trying to install from osgeo or better to go 
back to 2.2? further installation of 2.6 didn't help with crashes.



 Date: Mon, 3 Nov 2014 08:39:54 +
 Subject: Re: 2.6: first overview
 From: giovanni.man...@faunalia.pt
 To: qgis-developer@lists.osgeo.org; sciurusurba...@hotmail.it
 
  Crash:
  different types. Usually closing the project, QGIS ends up with a
  minidump or the MS error window The software stopped to work
  etc etc. This happens closing .qgs from 2.2 with or without
  saving to 2.6 version. Sometimes also while working. Attached you
  can find the .dmp (shall I upload them? I don't know how to deal
  with). Actually it's a quite annoying issue...
 
 I have seen the crash on exit on several machines, it is usually a
 plugon problem, try disable/remove your plugins, at some point you
 will probably find the one is causing the crash.
 
 
 cheers

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

Re: [Qgis-developer] Re : 2.6: first overview

2014-11-03 Thread Niccolò Marchi
ok Paolo and Werner: I'll do it :)

thank you Junior and all the others for the support!




To: werner.ma...@gmail.com; sciurusurba...@hotmail.it
From: del...@gmail.com
CC: qgis-developer@lists.osgeo.org
Subject: Re : [Qgis-developer] 2.6: first overview
Date: Mon, 3 Nov 2014 00:18:29 +0100


Hi,About corrupted layers, yes this is the new behaviour. You can now directly 
write the good path. But there is also a browser button at the bottom of the 
dialog. Select the layer in the list and click on this button will open the 
explorer, as old double-click behaved.
Envoyé depuis mon HTC
- Reply message -
De : Werner Macho werner.ma...@gmail.com
Pour : Niccolò Marchi sciurusurba...@hotmail.it
Cc : qgis-developer@lists.osgeo.org qgis-developer@lists.osgeo.org
Objet : [Qgis-developer] 2.6: first overview
Date : dim., nov. 2, 2014 23:29
Hi!

Regarding translation it is now easier than ever before to contribute
and change the things yourself.
Just get an account on transifex [0] and apply for the italian
language - search for the typos and change them by yourself. That way
you make sure the correct string will find it's way into the next
release.

kind regards
Werner

[0] https://www.transifex.com/projects/p/QGIS

On Sun, Nov 2, 2014 at 11:11 PM, Niccolò Marchi
sciurusurba...@hotmail.it wrote:
 Hi all,

 just few things I'm experiencing with 2.6:


 Attribute Table: modifying the content of a cell, it needs to save and
 reopen the table to see it updated...normal behaviour?

 Crash: different types. Usually closing the project, QGIS ends up with a
 minidump or the MS error window The software stopped to work etc etc. This
 happens closing .qgs from 2.2 with or without saving to 2.6 version.
 Sometimes also while working. Attached you can find the .dmp (shall I upload
 them? I don't know how to deal with). Actually it's a quite annoying
 issue...

 Corrupt layers: the table appears but double-clicking the source it doesn't
 open the explorer as in 2.2; it only allows to modify the folder destination
 as text. Is that the new behavior?

 Translation (ITA): just few oversights:

 color selection panel: incolla collore

 modify widget properties: il widget di modica può...


 Is there anyone with the same issues? I'm working with W8.1 64bit and QGIS
 standalone.


 As always: thank you all for your work!


 All the best,


 Nic


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

Re: [Qgis-developer] 2.6: first overview

2014-11-03 Thread Niccolò Marchi
Matthieu
actually, the project file got broken after a minidump...I don't know if it 
still turns useful.
sample data: which kind? the project is quite thick...

btw, in the meanwhile I'll try to open a ticket on it.

thank you very much!




Date: Mon, 3 Nov 2014 07:07:48 +0700
Subject: Re: [Qgis-developer] 2.6: first overview
From: nirvn.a...@gmail.com
To: sciurusurba...@hotmail.it
CC: qgis-developer@lists.osgeo.org

Niccola,
With regards to point 1  2, you would increase the chance of those issues 
being fixed (and help QGIS) by filing tickets at hub.qgis.org . Be as 
descriptive as you can, provide steps to reproduce what affects you; that 
should be enough to get a developer to look into it. Sample data source  
project file leading to issue a bonus.
M
On 3 Nov 2014 05:16, Niccolò Marchi sciurusurba...@hotmail.it wrote:







Hi all,
just few things I'm
experiencing with 2.6:





Attribute Table: modifying the content of a cell, it needs to save and reopen 
the table to
see it updated...normal behaviour?

Crash:
different types. Usually closing the project, QGIS ends up with a
minidump or the MS error window The software stopped to work
etc etc. This happens closing .qgs from 2.2 with or without
saving to 2.6 version. Sometimes also while working. Attached you
can find the .dmp (shall I upload them? I don't know how to deal
with). Actually it's a quite annoying issue...


Corrupt layers: the table appears but double-clicking the source it
doesn't open the explorer as in 2.2; it only allows to modify the folder
destination as text. Is that the new behavior?
Translation (ITA):
just few oversights:

color selection
panel: incolla collore

modify widget
properties: il widget di modica può...






Is there anyone with the
same issues? I'm working with W8.1 64bit and QGIS standalone. 





As always: thank you all for
your work!




All the best,




Nic

  

___

Qgis-developer mailing list

Qgis-developer@lists.osgeo.org

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

[Qgis-developer] 2.6: first overview

2014-11-02 Thread Niccolò Marchi




Hi all,
just few things I'm
experiencing with 2.6:





Attribute Table: modifying the content of a cell, it needs to save and reopen 
the table to
see it updated...normal behaviour?

Crash:
different types. Usually closing the project, QGIS ends up with a
minidump or the MS error window The software stopped to work
etc etc. This happens closing .qgs from 2.2 with or without
saving to 2.6 version. Sometimes also while working. Attached you
can find the .dmp (shall I upload them? I don't know how to deal
with). Actually it's a quite annoying issue...


Corrupt layers: the table appears but double-clicking the source it
doesn't open the explorer as in 2.2; it only allows to modify the folder
destination as text. Is that the new behavior?
Translation (ITA):
just few oversights:

color selection
panel: incolla collore

modify widget
properties: il widget di modica può...






Is there anyone with the
same issues? I'm working with W8.1 64bit and QGIS standalone. 





As always: thank you all for
your work!




All the best,




Nic

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

[Qgis-developer] plugins: what's next?

2014-08-30 Thread Niccolò Marchi
hello devs!
after the good job done with the plugin-repo, I was wondering if there is any 
idea about trying to optimize plugins through the merging of the similar ones. 
something like having a package of more plugins related to a single topic (i.e. 
qProf + ProfileTool + VogisProfilTool   or   all the CAD ones, etc).
in this way would be easier to concentrate single devs' efforts on a single 
plugin instead of having more than one, and obviously it turns useful also for 
users not to be lost among the hundreds already present.

does it make sense? may be hard to organise the working groups? or it may lead 
to a heavier loading of the software?

sorry if it sounds as a silly question.

all the best!

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

Re: [Qgis-developer] TALK: Legend behaviour

2014-07-17 Thread Niccolò Marchi
hi martin, thank you very much!



 Date: Thu, 17 Jul 2014 00:54:09 +0200
 Subject: Re: [Qgis-developer] TALK: Legend behaviour
 From: wonder...@gmail.com
 To: sciurusurba...@hotmail.it
 CC: qgis-developer@lists.osgeo.org
 
 Hi Niccolo
 
 On Wed, Jul 9, 2014 at 5:18 PM, Niccolò Marchi
 sciurusurba...@hotmail.it wrote:
  Hi all,
  two trivial thoughts about the legend behaviour:
  - I don't know if I'm the only one, but I think the new way to move layers
  with the dragged image is less comfortable and precise than the previous.
  I found easier (and hence faster) to manage files in 2.2 legend when
  appeared the line instead of having the actual image that covers the
  destination and doesn't allow to see in a proper way where the file will be
  put. Examples come mainly with: include/exclude a layer from a group or
  moving a layer up to a group if the group is already on top;
 
 This could be probably changed... but there is also advantage in the
 new approach: you always know which layers/groups you move - in 2.2
 and earlier the layers that were being moved simply disappeared while
 being rendered.

so, maybe could be a good compromise to keep the actual render but a little 
more shifted out of the layer list, in order to show better the destination 
line? a sort of mix of the two approaches.

 
  - other thing: is there a particular reason why, grouping some files, they
  automatically go to the bottom of the legend? could it be a good idea (and
  easy task) to group them where they are?
 
 Makes sense - implemented in master, c05e5e.
 
 Regards
 Martin

btw: many thanks!
  ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] TALK: Legend behaviour

2014-07-09 Thread Niccolò Marchi



Hi all,
two trivial thoughts about the legend behaviour:
- I don't
 know if I'm the only one, but I think the new way to move layers with 
the dragged image is less comfortable and precise than the previous. I
 found easier (and hence faster) to manage files in 2.2 legend when 
appeared the line instead of having the actual image that covers the 
destination and doesn't allow to see in a proper way where the file will
 be put. Examples come mainly with: include/exclude a layer from a group
 or moving a layer up to a group if the group is already on top;
- 
other thing: is there a particular reason why, grouping some files, they
 automatically go to the bottom of the legend? could it be a good idea 
(and easy task) to group them where they are?

sorry for bothering and (as usual) thank you for the great work you do

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

Re: [Qgis-developer] Four month cycle too fast

2014-06-19 Thread Niccolò Marchi
Hi all,
IMHO, I agree with the idea of having a LTS (maybe once a year) and 
intermediate releases for development.
from my working experience, both with public institutions and privates, seems 
to be more comfortable not to shift from one version to the other very often; 
pretty appreciated is having one long lasting stable release.

btw: thank you very much for the good job you do every day!

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

[Qgis-developer] FUSION integration - in slow progress

2014-04-19 Thread Niccolò Marchi
Hello devs!
even if on small things, I'm quite enjoying Python!
unfortunately still too many are the questions, even silly.

primary issue: where can I find some material dealing with Python functions?
I'm
 looking for info on:
- how to create a checkbox (code and functioning) the question dealing with the 
functioning: in which way it gives the 
result? (once checked, I need to add a particular string value to a 
command line)
- trigger event that makes appear sth when checked

secondary issues:
-
 where is possible to compile the Help label? I thought to copy-paste 
the most important things directly from the manual on a html or just put
 the link to the website with the pdf manual.
- the open output 
after running algorithm behaviour is set on ON as a default: is it 
possible to change (or delete) it in some way only for those tools 
producing a .csv? (otherwise QGIS gives an error in opening them)
- 
for some parameters would be nice to have the [optional] text or other
 text inside the box like for [save to temporary file] in output: is 
it possible to add it in a quick way or should be created a class like 
for Output?

btw, right now I added some more tools: when I'll 
finish everything shall I send a zipped folder to someone or upload the 
material somewhere?

are there news on lidar developments after the code sprint in wien?


sorry for the big disturb and thank you very much again!

have a nice day and enjoy holidays,


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

[Qgis-developer] Modifying scripts: how to?

2014-04-10 Thread Niccolò Marchi
Hello everybody,
I was wondering about correcting the code concerning the integration of the 
FUSION software in the Processing, due to some wrong dependencies or panel 
adjustments that can turn useful.
Unfortunately, being a newbie, quite a lot of questions arise:

Shall I ask to you (opening a ticket) or may I do it by myself? if the last: 
how to and where do I find the code?

In the case I'm able to do it quickly, when and to who shall I send the correct 
code to have it included in the 2.4 version?

Many thanks in advance for the support,

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

[Qgis-developer] QGIS and LiDAR

2014-02-17 Thread Niccolò Marchi



Hello everybody,
I just want to ask if any development towards lidar analysis is in act or has 
been planned for the future.

I write here because, looking at the mailing lists, this seemed the most 
appropriate. If I missed the correct place, I apologise.

Many thanks in advance for the good work you're doing,

Niccolò

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