Re: [QGIS-it-user] problemi con il mio primo processing script

2020-01-01 Thread matteo
Ciao Giacomo,

hai cambiato il nome della classe dell'algoritmo? Se si, hai anche
cambiato il metodo create instance con il nuovo nome? Devi anche dare un
nome univoco al tuo algoritmo nel metodo name.

se invece non hai cambiato né il nome dela classe né il nome del metodo
né il nome allora dovresti farlo, altrimenti Processing vede due moduli
con lo stesso nome e fa casino

a presto

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


Re: [Qgis-user] importing .h5 files in qgis

2020-01-01 Thread Matt Boyd
Hi Giacomo,
have a look at the mesh options and the Crayfish plugin
that lutraconsulting have put together.
my datasets use .h5 in some places and h5 is just used as a shortened form
of hdf5 which seems to be more of a container than something with set rules
about where and how coordinates and data values sit within it.
The variations in the way that data can be stored in hdf makes it difficult
to identify so it might be that the hdf file isn't that easy to read in
QGIS.

If you want to examine the internals of a hdf file to see what you are
looking at then theres a bit of software called HDFView.

Hope this helps a little.

Matt

On Mon, Dec 30, 2019 at 11:46 PM Giacomo Fontanelli <
giacomofontanell...@gmail.com> wrote:

> Dear users
>
> Do you know how to import .h5 files in QGIS 3.10?
>
> Thank you very much
>
> Giacomo
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/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] Open Layers Plugin

2020-01-01 Thread Alexandre Neto
There are two alternatives:

1: Use the quickmapservices plugins, which basically does the same (or
more) that the Open Layers plugins does
2: Since QGIS 3, it's possible to open XYZ tiles directly. If you want to
add a few services follow this instructions:

https://twitter.com/klaskarlsson/status/972757121933733889?lang=pt



On Wed, Jan 1, 2020 at 11:59 PM Mike Flannigan  wrote:

>
> I am on QGIS 3.10.1 on Linux.  I just noticed that
> the Open Layers plugin does not install correctly
> anymore.  I installed Tile+ instead and it serves my
> needs, but I wanted to know if anybody had anything
> to say about the Open Layers plugin or the X, Y, Z
> method of installing basemaps.
>
>
>
> Mike
>
>
> ___
> 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

[Qgis-user] Open Layers Plugin

2020-01-01 Thread Mike Flannigan


I am on QGIS 3.10.1 on Linux.  I just noticed that
the Open Layers plugin does not install correctly
anymore.  I installed Tile+ instead and it serves my
needs, but I wanted to know if anybody had anything
to say about the Open Layers plugin or the X, Y, Z
method of installing basemaps.



Mike


___
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] Error after saving my script

2020-01-01 Thread Giacomo Fontanelli
Dear forum


I slightly modified the processing-script called RandomPointsPolygons.py to
make my own script and I copied it in

/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/processing/scripts.


but when I launch QGIS 3.10 I get this error


NotImplementedError: QgsProcessingAlgorithm.name() is abstract and must be
overridden

Traceback (most recent call last):

File "/usr/share/qgis/python/plugins/processing/script/ScriptUtils.py",
line 68, in loadAlgorithm

alg = algfactory.instances.pop().createInstance()

IndexError: pop from empty list


During handling of the above exception, another exception occurred:


NotImplementedError: QgsProcessingAlgorithm.name() is abstract and must be
overridden



Versione Python: 3.7.3 (default, Oct 7 2019, 12:56:13) [GCC 8.3.0]

Versione di QGIS: 3.10.1-A Coruña A Coruña, ef24c526da


Percorso Python:

/usr/share/qgis/python

/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/python

/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins

/usr/share/qgis/python/plugins

/usr/lib/x86_64-linux-gnu/otb/python

/usr/lib/python37.zip

/usr/lib/python3.7

/usr/lib/python3.7/lib-dynload

/usr/local/lib/python3.7/dist-packages

/usr/lib/python3/dist-packages

/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/python

/usr/lib/python3/dist-packages/IPython/extensions


Any help please?
___
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