[Qgis-user] Cant open hdf files

2019-09-24 Thread Neeldip Barman
Hi,
I have tried both QGIS 3.8.3 and 3.4 but QGIS cant open HDF files from
MODIS. I always get this error :
*"Raster layer provider is not valid". *
Is it a bug with the software cause? Cause in the file types .hdf file is
there.
I really like using QGIS for my work for the simplicity but this issue.

-Neeldip
___
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] QGIS in INSPIRE, QAntarctica etc (Metadata)

2019-09-24 Thread Falk Huettmann
Dear all,

as Paolo suggested,
I should ask the list, so here I do:

"QGIS does have support to metadata. In fact, INSPIRE EU officials have
run extensive tests, and it is more compliant than any other GIS".

Could somebody please point me to details and to follow up on  ?

There are four questions in this:
-what about the U.S. and China government and their buy-in with this, aka
none?

-if there is ISO compliance, how can there be different fractions  and some
being ignored
(e.g. FGDC and USGS)?

-I have 'good' ISO compliant xml metadata files for try out, but they are
not loading into QGIS qmd; we need a cross-platform approach to cater
biology, geology, geography and social data. How done ?.

-real-world example: Antarctica is to have mandatory data, and with
metadata; for global mankind. Norway runs and offers a QGIS-based Antarctic
concept, but widely without relevant metadata.
https://www.qgis.org/en/site/about/case_studies/antarctica.html
They would be a typical example for us; looks like a violation of the
Antarctic Treaty even; not ?

Thanks again, more later
Falk Huettmann PhD, Professor
 Uni of Alaska Fairbanks
___
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-09-24 Thread Áron Gergely

Hi Raymond and list,

I think your first issue may have been caused by the decimal character 
in your formula not matching the locale;

Can be a point '.' or comma ','

I also use the 'high school math' methods you mentioned ;) I am not 
aware of any tricks.
Would be nice to have convenience functions for abs(), max(), mean(), 
stdev(), etc..


As a workaround you can use the GDAL raster calculator, I think abs() 
and similar are implemented there.


If anyone is aware of any QGIS raster calculator tricks I would be eager 
to learn about them as well.


Best Regards,
Aron

On 24/09/2019 12:19, Raymond Nijssen wrote:

Hi,

I've been using the raster calculator lately and bumped into some 
unexpected behaviour issues. They are hard to isolate but I will 
create issues


One of the things is the creation of empty output grids, resulting in 
raster layers with a range as described earlier in this thread:


([-1.79769e+308 to 1.79769e+308] instead of [0 1].

Somehow this was fixed after changing the locale (!) from NL back to 
EN. I was using a model that contained raster calculators and a python 
script running it.
No clue what it could be, maybe parameter names being translated (I 
hope not!) or locale settings for decimal point/comma.


Also, the names of the model parameter are like 
'qgis:rastercalculator_4:sub_calc_sqrt', still containing the 
'rastercalculator_4' part which can not be found or changed using the 
model editor.



Besides, I'm wondering why very common functionality is missing in the 
raster calculator. I need abs() and max() functions and they don't 
exist. Or am I missing something?


My solutions / work arounds using creative high school math are:

abs(a):
sqrt(a * a)
or
((a >= 0) * a) + ((a < 0) * -1 * a)

max(a, b):
((a >= b) * a) + ((a < b) * b)


Hope someone has a clue here. Guess I'm not the only one using vector 
more often than raster...


Kind regards,
Raymond



On 21-03-19 17:19, shalum HOUENOU wrote:

OK then

Maixent,

*De : *matteo 
*Envoyé le :*jeudi 21 mars 2019 17:14
*À : *shalum HOUENOU 
*Objet :*Re: [Qgis-user] how to fix the raster calculator

please answer to all (so you question is forwarded also to the user

mailing list)

I think then the raster calculator has a bug. Could you please report 
it?


https://issues.qgis.org/projects/qgis

or try to upgrade to QGIS 3.6

On 3/21/19 5:13 PM, shalum HOUENOU wrote:

 >

 >

 > Yes I did, as it was mentionned in the training manual, section 8.3.7

 >

 > You have the link below :

 >

 > 
https://docs.qgis.org/testing/en/docs/training_manual/rasters/terrain_analysis.html#moderate-fa-using-the-raster-calculator


 >

 >

 >

 > Maixent,

 >

 > *De : *matteo 

 > *Envoyé le :*jeudi 21 mars 2019 17:07

 > *À : *shalum HOUENOU ;

 > qgis-it-user-ow...@lists.osgeo.org

 > 

 > *Objet :*Re: [Qgis-user] how to fix the raster calculator

 >

 >

 >

 > Hi Maixent,

 >

 >

 >

 >

 >

 >> Indeed the boundaries of my output layer have Strange values

 >

 >> ([-1.79769e+308 to 1.79769e+308] instead of [0 1].

 >

 >>

 >

 >> Thus the output layer is invisible.

 >

 >>

 >

 >> I’ve already tried to change the max and the min value : The 
layer is


 >

 >> still invisible.

 >

 >>

 >

 >> What else could I do to fix it ? Any idea ?

 >

 >

 >

 > did you also set the reference layer in the algorithm UI?

 >

 >

 >

 > 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


___
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] problem importing dwg to qgis

2019-09-24 Thread Andreas Neumann
Hi, 


Please file a bug report and provide a small sample file that can be
used to reproduce the issue. 

It is quite likely that some DWGs fail to import. 

Andreas 


On 2019-09-24 13:39, Boaz Bar Ilan wrote:

hi 

usually I succeed doing it 
I got a dwg file which  has been opened easily in dwg  but failed to be imported to my qgis 
( 3.4 ) 
is there a solution ? 
thanks 
boaz 
___

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] problem importing dwg to qgis

2019-09-24 Thread Luciano Campagnolo
Hi! Could you please be more specific?
For example: Text of the error message, Version of the dwg file (and if it
is a "real" dwg), Contents of the dwg (if there are linked or xreferenced
files)...
It is usually good practice to purge the files before importing them...
Also, you could try open it with Autodesk TrueView and save it as dxf.

Regards,
Luc

On Tue, Sep 24, 2019 at 8:40 AM Boaz Bar Ilan  wrote:

> hi
>
> usually I succeed doing it
>  I got a dwg file which  has been opened easily in dwg  but failed to be
> imported to my qgis
>  ( 3.4 )
>  is there a solution ?
> thanks
> boaz
> ___
> 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] problem importing dwg to qgis

2019-09-24 Thread Boaz Bar Ilan
hi

usually I succeed doing it
 I got a dwg file which  has been opened easily in dwg  but failed to be
imported to my qgis
 ( 3.4 )
 is there a solution ?
thanks
boaz
___
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] CRS selector

2019-09-24 Thread Christoph Jung
That’s it. Thank you 😊 

Christoph 

> Am 24.09.2019 um 08:47 schrieb Pedro Venâncio :
> 
> That seems to be like this report:
> 
> https://github.com/qgis/QGIS/issues/31753
> 
> Best regards,
> Pedro
> 
> A terça, 24/09/2019, 07:13, Christoph Jung  escreveu:
>> Hi Nyall,
>> 
>> I have QGIS 3.4 under macOS (without problems) and windows (with grayed CRS 
>> selector). A newer version under windows is not yet available in my company, 
>> maybe to the end of this year ^^
>> 
>> Christoph 
>> 
>> > Am 24.09.2019 um 00:49 schrieb Nyall Dawson :
>> > 
>> >> On Mon, 23 Sep 2019 at 21:58, Christoph Jung  wrote:
>> >> 
>> >> Hello everyone,
>> >> 
>> >> I have a strange problem. My plugin Offline-MapMatching has a standard 
>> >> CRS selector. On my development machine I can change the CRS without 
>> >> problems. But on another pc, the selector is completely gray. The QGIS 
>> >> log and the python console do not show any problems when I open the CRS 
>> >> selector. Does anybody had this issue before too?
>> > 
>> > Which versions are installed?
>> > 
>> > Nyall
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user 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-09-24 Thread Raymond Nijssen

Hi,

I've been using the raster calculator lately and bumped into some 
unexpected behaviour issues. They are hard to isolate but I will create 
issues


One of the things is the creation of empty output grids, resulting in 
raster layers with a range as described earlier in this thread:


([-1.79769e+308 to 1.79769e+308] instead of [0 1].

Somehow this was fixed after changing the locale (!) from NL back to EN. 
I was using a model that contained raster calculators and a python 
script running it.
No clue what it could be, maybe parameter names being translated (I hope 
not!) or locale settings for decimal point/comma.


Also, the names of the model parameter are like 
'qgis:rastercalculator_4:sub_calc_sqrt', still containing the 
'rastercalculator_4' part which can not be found or changed using the 
model editor.



Besides, I'm wondering why very common functionality is missing in the 
raster calculator. I need abs() and max() functions and they don't 
exist. Or am I missing something?


My solutions / work arounds using creative high school math are:

abs(a):
sqrt(a * a)
or
((a >= 0) * a) + ((a < 0) * -1 * a)

max(a, b):
((a >= b) * a) + ((a < b) * b)


Hope someone has a clue here. Guess I'm not the only one using vector 
more often than raster...


Kind regards,
Raymond



On 21-03-19 17:19, shalum HOUENOU wrote:

OK then

Maixent,

*De : *matteo 
*Envoyé le :*jeudi 21 mars 2019 17:14
*À : *shalum HOUENOU 
*Objet :*Re: [Qgis-user] how to fix the raster calculator

please answer to all (so you question is forwarded also to the user

mailing list)

I think then the raster calculator has a bug. Could you please report it?

https://issues.qgis.org/projects/qgis

or try to upgrade to QGIS 3.6

On 3/21/19 5:13 PM, shalum HOUENOU wrote:

 >

 >

 > Yes I did, as it was mentionned in the training manual, section 8.3.7

 >

 > You have the link below :

 >

 > 
https://docs.qgis.org/testing/en/docs/training_manual/rasters/terrain_analysis.html#moderate-fa-using-the-raster-calculator


 >

 >

 >

 > Maixent,

 >

 > *De : *matteo 

 > *Envoyé le :*jeudi 21 mars 2019 17:07

 > *À : *shalum HOUENOU ;

 > qgis-it-user-ow...@lists.osgeo.org

 > 

 > *Objet :*Re: [Qgis-user] how to fix the raster calculator

 >

 >

 >

 > Hi Maixent,

 >

 >

 >

 >

 >

 >> Indeed the boundaries of my output layer have Strange values

 >

 >> ([-1.79769e+308 to 1.79769e+308] instead of [0 1].

 >

 >>

 >

 >> Thus the output layer is invisible.

 >

 >>

 >

 >> I’ve already tried to change the max and the min value : The layer is

 >

 >> still invisible.

 >

 >>

 >

 >> What else could I do to fix it ? Any idea ?

 >

 >

 >

 > did you also set the reference layer in the algorithm UI?

 >

 >

 >

 > 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 installation on Ubuntu 18.04

2019-09-24 Thread Andre Joost



Às 13:32 de 23/09/19, J. M escreveu:

Hi Jorge,

Well, I tried your suggestion and it gave me a BEGIN .. END key block, which
it didn't do before. Before it said that the key server was not available. So
I followed the rest of the instructions on
https://www.qgis.org/en/site/forusers/alldownloads.html
and it installed version 2.18.17 (Las Palmas) exactly as it has every other
time.


Did you run "sudo apt-get update" and "sudo apt-get upgrade" after 
adding qgis.org?

Any packages held back?
What do you get from "apt-cache policy qgis-providers"?

If you don't see any refrerence from qgis.org, the qgis server is not 
adressed properly. For the key issue, I prefer running
"sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 
51F523511C7028C3"


HTH,
Andre Joost

___
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