Re: [Qgis-user] how to properly reference longitude values in different datasets

2018-12-19 Thread Saber Razmjooei
This is a known issue and can be fixed with some external tools.
I have filed a bug:
https://issues.qgis.org/issues/20853
And hopefully get around to fix it in 3.6

Regards
Saber

On Thu, 20 Dec 2018 at 01:44, Lee Eddington 
wrote:

> I’m pretty new to QGIS and am trying to figure out how to modify longitude
> values of layers.  I was able to add a raster layer in GRIB2 format (NCEP
> global meteorological data).  The longitude values range from 0 to 360
> degrees.  I’m able to view and do calculations on the data with no
> problem.  I also added shaded relief and coastline data from Natural
> Earth.  This data has longitude values from -180 to 180 degrees.  So from
> -180 to 0 degrees I only see the Natural Earth data, from 0 to 180 degrees
> I see both datasets and from 180 to 360 degrees I only see the GRIB2 data.
> I want both datasets to be referenced the same with regards to longitude
> (-180 to 180, 0 to 360 or whatever).  It seems like this should be a fairly
> easy problem to fix by either adding 180 degrees to longitudes from the
> Natural Earth data or subtracting 180 from the GRIB2 longitudes, but I
> can’t figure out how to do it.
>
> I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what QGIS
> put the GRIB2 data into when I added it:   * Generated CRS (+proj=longlat
> +a=6371229 +b=6371229 +no_defs)
>
> Thanks,
> Lee
>
> ___
> 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



-- 
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
___
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] spatialite layer does not show

2018-12-19 Thread Reginald
Thanks for the reply,

Jay M Johnson advised me this link:

https://gis.stackexchange.com/questions/131996/shapefile-layers-in-qgis-dont-display-unless-i-zoom-out

Meanwhile I solved the problem by saving the features in a postgresql layer.

Regards,



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] how to properly reference longitude values in different datasets

2018-12-19 Thread Lee Eddington
I’m pretty new to QGIS and am trying to figure out how to modify longitude 
values of layers.  I was able to add a raster layer in GRIB2 format (NCEP 
global meteorological data).  The longitude values range from 0 to 360 degrees. 
 I’m able to view and do calculations on the data with no problem.  I also 
added shaded relief and coastline data from Natural Earth.  This data has 
longitude values from -180 to 180 degrees.  So from -180 to 0 degrees I only 
see the Natural Earth data, from 0 to 180 degrees I see both datasets and from 
180 to 360 degrees I only see the GRIB2 data.  I want both datasets to be 
referenced the same with regards to longitude (-180 to 180, 0 to 360 or 
whatever).  It seems like this should be a fairly easy problem to fix by either 
adding 180 degrees to longitudes from the Natural Earth data or subtracting 180 
from the GRIB2 longitudes, but I can’t figure out how to do it.

I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what QGIS put 
the GRIB2 data into when I added it:   * Generated CRS (+proj=longlat 
+a=6371229 +b=6371229 +no_defs)

Thanks,
Lee

___
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] Attribute "cat" in grass7

2018-12-19 Thread Benjamin Ducke
Hi --

On 19/12/2018 20:40, Roberto Herrero wrote:
> I've seen that the grass7 algorithms add an extra attribute called
> "cat". I wonder if the behaviour of the algorithms can be modified not
> to show that attribute.

"cat"(egory) is an integer index that serves
as primary key for all GRASS vector modules.
It is automatically added as soon as data is
imported into GRASS. If "cat" exists in an
external dataset then GRASS will attempt to
rename it to "_cat". If that also fails, GRASS
will abort with an error.

So the GRASS algorithm provider in QGIS would
have to jump through quite some hoops in order
to make sure that "cat" (or "_cat") is only
removed if it does not exist in the input data
that is passed to GRASS. It would also have to
make sure that an attribute "cat" is not the user-
intended outcome of a GRASS process.

In addition, some GRASS commands work explicitly
on "cat" and refer to it on the manual page.

I think rather than worrying about all of that I
would just ignore "cat" or manually delete that
column from result data.

Best,

Ben


> 
> Thank you,
> Roberto Herrero
> 
> ___
> 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
> 



-- 
Dr. Benjamin Ducke
Deutsches Archäologisches Institut (DAI)
Zentrale Berlin, IT-Referat
* Projekt "Stunde Null" *
___
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] Attribute "cat" in grass7

2018-12-19 Thread Roberto Herrero
I've seen that the grass7 algorithms add an extra attribute called "cat". I
wonder if the behaviour of the algorithms can be modified not to show that
attribute.

Thank you,
Roberto Herrero
___
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] spatialite layer does not show

2018-12-19 Thread Claas Leiner

Hi Reginald,

Sometimes a invalid spatialIndex is a reason, that spatialite layer does 
not shown.


Open the DB-manager in QGIS
Klick of your database in the tree and and then open the SQL-Windows 
(press F2).


execute this statement in the SQL-Windows of the DB-Manager:
select recoverspatialindex('tablename','geom');

after that execute:
select updatelayerstatistics('tablename');

tablename = name of the spatialite layer
geom= name of the geometry column

Claas


--
-
GKG-Kassel - Dr.-Ing. Claas Leiner
QGIS-Support und mehr

Geodatenservice, Kartenwerkstatt &
GIS-Schule Kassel

Wilhelmshöher Allee 304 E
34131 Kassel
Tel. 0561/56013445
claas.lei...@gkg-kassel.de
http://www.gkg-kassel.de

Unterstützen Sie QGIS
QGIS-DE e.V. | http://qgis.de
___
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-19 Thread Alex M
I've gone the route of schroot, and also lxd (similar to docker but a
little easier to manage) would be an option on Ubuntu.

I noticed people mentioned Flatpak and AppImage, what about SNAPS.
Pretty sure SNAPS would let you have multiple versions on the same
machine at the same time. Didn't realize Flatpak doesn't.

Thanks,
Alex

On 12/18/18 04:02, Luigi Pirelli wrote:
> there is also, docker
> 
> https://github.com/kartoza/docker-qgis-desktop
> 
> or conda
> 
> https://anaconda.org/conda-forge/qgis
> 
> to have moltiple version in kind of sandboxes
> 
> cheers
> 
> Luigi Pirelli
> 
> **
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> *
> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
> * Hire me: http://goo.gl/BYRQKg
> **
> 
> 
> On Tue, 18 Dec 2018 at 10:47, Andre Joost 
> wrote:
> 
>> Am 17.12.18 um 22:53 schrieb Giacomo Fontanelli:
>>> Hello forum
>>>
>>> I'm using QGIS 3.4 on my laptop with Ubuntu 18.10.
>>>
>>> Is it possible to install also qgis 2.18 along with qgis 3.4?
>>>
>>
>> On Ubuntu, only by putting the second in a virtual box.
>>
>> Windows allows for separate installtions, but not Ubuntu.
>>
>> 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
> 
> 
> ___
> 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] spatialite layer does not show

2018-12-19 Thread Reginald
Update,

In the logmessages I found this message:

2018-12-19T13:34:13 WARNINGKon geen stijlen laden uit
F:/QGIS/dev/notarisattest/inlichtingen.sqlite (Query: SELECT styleQML FROM
layer_styles WHERE f_table_schema IS NULL AND f_table_name='uittreksels' AND
f_geometry_column ='geom' ORDER BY CASE WHEN useAsDefault THEN 1 ELSE 2
END,update_time DESC LIMIT 1)

It says it can not load any style from the sqlite database.
Maybe I should save my style in the database?

Any idea?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] spatialite layer does not show

2018-12-19 Thread Reginald
Hi qgis users,

I have a model in which i use a parcellayer. From this parcellayer I get the
selected features.
In order to obtain one geometry I convert from singlepart to multipart
geometry.
In order to query the layers that overlay this parcels I make a buffer of
-0.3m.
The last step the model does is import the result in a spatialite database.
The layer of this spatialite database is included in a qgis project where I
run my script that generates a large report.
The problem that I get is that sometimes the spatialite layer is shown on
the map, and sometimes it's not.
By moments the layer shows up at certain scale but when you zoom in or out
the layer disappears.
Should I add something to my model so that the buffered features keep
visible?

Regards,



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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 3.4.2 still very slow to work in Windows 10

2018-12-19 Thread David Addy
Hi Alberto,
Startup time with a blank project is 30 seconds here with Kaspersky security
ON.
With Kaspersky turned off, start up time is still 28 seconds - barely any
difference.
Kaspersky is generally known for being a quite  low overhead.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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-19 Thread Richard Duivenvoorde
On 12/18/18 11:50 PM, Patrick Dunford wrote:
> I don't believe that is correct. Flatpak is a package management system
> for single instances of installed software. It doesn't cater for
> multiple installations. You are probably thinking of AppImage.

Hi, you are right, but there is currently (only) a latest stable (3.4.2)
flatpak, but in that way it is possible to run the ubuntu installed 2.18
next to this flatpak 3.4 version :-)

Best of both worlds \o/

Regards,

Richard Duivenvoorde
___
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-19 Thread Daniele Viganò
On Tue, Dec 18, 2018 at 11:51 PM Patrick Dunford 
wrote:

> I don't believe that is correct. Flatpak is a package management system
> for single instances of installed software. It doesn't cater for multiple
> installations. You are probably thinking of AppImage.
>
You can have both QGIS installed from Flatpak and from rpm/deb on the same
machine, at least on Fedora (like I do: stable from flatpak and nightly
from RPM).

Cheers,
Daniele


-- 
*Daniele Viganò*
http://daniele.vigano.me
___
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