[Qgis-user] QGIS installation on Ubuntu 18.04

2019-09-22 Thread J. M
Hi there team,

I have been trying (and failing) to install the latest version of QGIS for
a couple of days, but I keep getting the same error message (the public key
is not available). I tried sending this message with a screenshot but it
exceeded the capacity restrictions. If anyone can help me through the
instructions on
https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
then I'd really appreciate it!

I'd love to get started learning QGIS, but I can't get anything other than
an old version to install...

Many thanks to the community.
Jimi.
___
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-25 Thread J. M
Hi Andre,

Sorry, I missed the part about apt-cache. When I run the command it returns
2.18.17, so the server is addressed. I don't see where to install the
latest version in the instructions, so when I run 'sudo apt-get install
qgis qgis-plugin-grass' I don't understand how it would know which version
to install. If i wanted to run 2.18.17 at a later date, how would I go
about it? Pardon the newbie questions, but it's the only way I'll ever
figure it out!

Also, I sent my previous queries to you because my first email got help up
because it contained an attachment. Hope this one makes it through! I see
people pasting screenshots into forum text, but I don't get the option for
that either. Any hints?

Many thanks again to the whole team,
Jimi.

On Wed, Sep 25, 2019 at 2:37 PM Andre Joost 
wrote:

> Am 25.09.19 um 13:19 schrieb J. M:> Hi Andre,
> >
> > Well, I tried it as your suggested, and it did a lot more than on
> previous
> > occasions, but it installed Las Palmas again, version 2.18.3! I've
> attached
> > two screenshots so you can see what I'm doing. I'm probably missing one
> > simple step, but I can't see what it might be..
>
> Please answer to the list, for the benefit of all readers.
>
> Again:
> > 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.
>
> I don't see that in your screenshots.
>
> Greetings,
> 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

Re: [Qgis-user] QGIS installation on Ubuntu 18.04

2019-09-25 Thread J. M
Hi again Andre,

Okay, I did add this line: deb https://qgis.org/debian bionic main  to
etc/apt/sources.list, but I didn't know you could include 'ubuntu' there, I
thought it had to read 'debian'. Interesting about the icon for editing
source packages; do you mean it's an application within Ubuntu? I
understood it had to be manual so I didn't look for it. What is it called?

I'll try modifying the package sources again and I'll update and upgrade
once it's installed, to see if that was all it was. Should I run 'sudo
apt-get remove qgis' and 'sudo apt-get purge qgis', or is there a neater
way of ensuring all QGIS and GRASS packages are removed?

Thanks a lot everyone, I'll get there...
Jimi.

On Wed, Sep 25, 2019 at 5:20 PM Andre Joost 
wrote:

> Am 25.09.19 um 17:10 schrieb Andre Joost:
>
> >
> > I don't see any attempt to contact https://qgis.org. So you get only the
> > version from the ubuntu repository.
> >
> > Did you add "deb https://qgis.org/ubuntu bionic main" to your sources?
> > You don't have to edit the sources file, there is an icon in your menu
> > for editing package sources.
> >
>
> ... and run "sudo apt-get update" afterwards. In your screenshots, you
> ran upgrade twice, but not update?
>
> 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

Re: [Qgis-user] QGIS installation on Ubuntu 18.04

2019-09-26 Thread J. M
I've done it! I followed Andre's last piece of advice and modified the
following line in etc/apt/sources.list: deb https://qgis.org/debian bionic
main, changing *debian* to *ubuntu*, and it downloaded Zanzibar instead of
Las Palmas! I still wouldn't know how to install a previous version, so it
would be interesting to know how to do that...

Many thanks to this fantastic community!
Jimi.

On Wed, Sep 25, 2019 at 6:44 PM J. M  wrote:

> Hi again Andre,
>
> Okay, I did add this line: deb https://qgis.org/debian bionic main  to
> etc/apt/sources.list, but I didn't know you could include 'ubuntu' there, I
> thought it had to read 'debian'. Interesting about the icon for editing
> source packages; do you mean it's an application within Ubuntu? I
> understood it had to be manual so I didn't look for it. What is it called?
>
> I'll try modifying the package sources again and I'll update and upgrade
> once it's installed, to see if that was all it was. Should I run 'sudo
> apt-get remove qgis' and 'sudo apt-get purge qgis', or is there a neater
> way of ensuring all QGIS and GRASS packages are removed?
>
> Thanks a lot everyone, I'll get there...
> Jimi.
>
> On Wed, Sep 25, 2019 at 5:20 PM Andre Joost 
> wrote:
>
>> Am 25.09.19 um 17:10 schrieb Andre Joost:
>>
>> >
>> > I don't see any attempt to contact https://qgis.org. So you get only
>> the
>> > version from the ubuntu repository.
>> >
>> > Did you add "deb https://qgis.org/ubuntu bionic main" to your sources?
>> > You don't have to edit the sources file, there is an icon in your menu
>> > for editing package sources.
>> >
>>
>> ... and run "sudo apt-get update" afterwards. In your screenshots, you
>> ran upgrade twice, but not update?
>>
>> 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

Re: [Qgis-user] QGIS installation on Ubuntu 18.04

2019-09-26 Thread J. M
Thanks Andre, you're amazing.

Many thanks again team!
Jimi.

On Thu, Sep 26, 2019 at 4:46 PM Andre Joost 
wrote:

> Am 26.09.19 um 14:43 schrieb J. M:
> >  I still wouldn't know how to install a previous version, so it
> > would be interesting to know how to do that...
> >
>
> You can have:
>
> v3.8.3 the way you did (to be replaced by v3.10.0 soon)
> v3.4.12 from https://qgis.org/ubuntu-ltr bionic main
> v2.18.17 from the main Ubuntu repo (removing qgis.org from your sources)
>
> But not several at the same time, unless you use virtual boxes for each.
>
> 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] Install Quick Map Services Plugin in Ubuntu 18.04

2019-09-27 Thread J. M
Hi there,

I was following a tutorial on QGIS.org (
https://docs.qgis.org/3.4/en/docs/training_manual/qgis_plugins/plugin_examples.html
)
and I can't get past step 2. I followed the link and downloaded QMS, but I
can't for the life of me get it to install. I moved it from Downloads into
usr/bin and then extracted it to create a folder. The 'readme' files might
as well be written in Mandarin (of which I'm not a speaker..).

Could anyone please help me with how to install the plugin?

Cheers,
Jimi.

10.2.1. [image: basic] Follow Along: The QuickMapServices Plugin


The QuickMapServices plugin is a simple and easy to use plugin that adds
base maps to your QGIS project. It has many different options and settings,
let’s start to explore some of its features.

   1.

   Start a new map and add the roads layer from the training_data
Geopackage.
   2.

   Install the *QuickMapServices* plugin.
   3.

   Open the plugin’s search tab by clicking on Web ‣ QuickMapServices ‣
   Search QMS. This option of the plugin allows you to filter the available
   base maps by the current extent of the map canvas.
   4.

   Click on the Filter by extent and you should see one service available.
   5.

   Click on the Add button next to the map to load it.
   6.

   The base map will be loaded and you will have a satellite background for
   the map.
___
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] Install Quick Map Services Plugin in Ubuntu 18.04

2019-09-27 Thread J. M
Hi Matthias,

Thanks a lot! I figured that out from another tutorial shortly afterwards,
sorry! I didn't realise you could install plugins from within QGIS; I
assumed I had to download, install and dpkg them or something!

Cheers!
Jimi.

On Fri, Sep 27, 2019 at 8:01 PM Matthias Kuhn  wrote:

> Hi Jimi,
>
> You need to install the plugin from within QGIS. No need to directly
> download it from anywhere yourself.
>
> See
> https://docs.qgis.org/3.4/en/docs/training_manual/qgis_plugins/fetching_plugins.html
>
> Does that help?
>
> Cheers
>
> Matthias
> On 9/27/19 7:54 PM, J. M wrote:
>
> Hi there,
>
> I was following a tutorial on QGIS.org (
> https://docs.qgis.org/3.4/en/docs/training_manual/qgis_plugins/plugin_examples.html
> )
> and I can't get past step 2. I followed the link and downloaded QMS, but I
> can't for the life of me get it to install. I moved it from Downloads into
> usr/bin and then extracted it to create a folder. The 'readme' files might
> as well be written in Mandarin (of which I'm not a speaker..).
>
> Could anyone please help me with how to install the plugin?
>
> Cheers,
> Jimi.
>
> 10.2.1. [image: basic] Follow Along: The QuickMapServices Plugin
>
> The QuickMapServices plugin is a simple and easy to use plugin that adds
> base maps to your QGIS project. It has many different options and settings,
> let’s start to explore some of its features.
>
>1.
>
>Start a new map and add the roads layer from the training_data
> Geopackage.
>2.
>
>Install the *QuickMapServices* plugin.
>3.
>
>Open the plugin’s search tab by clicking on Web ‣ QuickMapServices ‣
>Search QMS. This option of the plugin allows you to filter the
>available base maps by the current extent of the map canvas.
>4.
>
>Click on the Filter by extent and you should see one service available.
>5.
>
>Click on the Add button next to the map to load it.
>6.
>
>The base map will be loaded and you will have a satellite background
>for the map.
>
>
> ___
> Qgis-user mailing listqgis-u...@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

[Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-18 Thread J. M
Hi team,

Well, this is a bit embarrassing. I've just started working with GIS data
in Blender (BlenderGIS is a great add-on if anyone doesn't know it
already). Anyway, I was trying to add a reference basemap to a Blender
project with polygons in it and I got an error message telling me to
install GDAL. I'm a total novice at both Blender and QGIS, so I read
around and people recommending adding the GDAL PPA in QGIS directly. I did
so following the Linux guidelines here:
https://developers.planet.com/planetschool/gdal-qgis-installation-setup/

On doing so it uninstalled QGIS and won't let me reinstall it. Can I undo
this action?
I get the following error message about broken dependencies:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 qgis : Depends: gdal-abi-2-2-3
Depends: libqgis-analysis3.10.2 but it is not going to be installed
Depends: libqgis-app3.10.2 but it is not going to be installed
Depends: libqgis-core3.10.2 but it is not going to be installed
Depends: libqgis-gui3.10.2 but it is not going to be installed
Depends: python3-qgis (= 1:3.10.2+28bionic) but it is not going to
be installed
Depends: qgis-providers (= 1:3.10.2+28bionic) but it is not going
to be installed
Recommends: qgis-plugin-grass but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I don't want to run 'sudo apt-get autoremove' (I run Ubuntu 18.04 LTS)
because it would remove over a gigabyte of dependencies, and I'll no doubt
end up with tons of problems.

Can I solve this manually without autoremove or formatting so I can
reinstall QGIS and get working?!
Any help would be greatly appreciated!
Thanks team,
Jimi.
___
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 uninstalled after GDAL PPA install

2020-02-18 Thread J. M
Hi again Andre,

I don't actually understand what to do with this, because I can't run 'sudo
apt-get install qgis qgis-plugin-grass' as it keeps giving me the same
error messages about broken packages.
When you say this, I don't get what this link does. I click on it and it
just takes me into a file hierarchy. Are users supposed to obtain the
downloads from here, or is it purely informative?
Try
deb https://qgis.org/ubuntugis bionic main

and it should work.

After re-installing, you should be able to install gdal-bin too.

If you want (or must) to stick to GDAL 2, remove all ubuntugis
references, and take QGIS from the ubuntu repo.You might need to remove
GDAL 3 if you already installed it.

As for removing all ubuntugis references, I have no idea where to start
with that. I opened Synaptic package manager and searched for QGIS, but
there are so many dependencies and related files I have no idea what to
remove before attempting to reinstall it. I still don't understand how
attempting to install the GDAL PPA caused the QGIS to get uninstalled (I
certainly wouldn't have done it if I'd thought it was going to remove the
software). Are there any other operations like this I should be aware of,
updates or similar which can cause QGIS to just disappear? Ideally I'd like
to remove all the repositories and dependencies which aren't strictly
necessary for the current version to run. Is there a way to check the
dependencies needed in the terminal or somewhere and filter out all the
others?

Any help would be greatly appreciated!
Cheers,
Jimi.



On Tue, Feb 18, 2020 at 2:39 PM J. M  wrote:

> Hi Andre!
>
> Many thanks once again for your help!
>
> I'll give it a go tonight and let you know. When you say remove
> references, do you mean via Synaptic or how? Manually?
>
> Thanks,
> Jimi.
> On 18 Feb 2020 13:55, "Andre Joost"  wrote:
>
>> Hi Jimi,
>>
>> Am 18.02.20 um 12:43 schrieb J. M:
>>
>>> Hi team,
>>>
>>> Well, this is a bit embarrassing. I've just started working with GIS data
>>> in Blender (BlenderGIS is a great add-on if anyone doesn't know it
>>> already). Anyway, I was trying to add a reference basemap to a Blender
>>> project with polygons in it and I got an error message telling me to
>>> install GDAL. I'm a total novice at both Blender and QGIS, so I read
>>> around and people recommending adding the GDAL PPA in QGIS directly. I
>>> did
>>> so following the Linux guidelines here:
>>> https://developers.planet.com/planetschool/gdal-qgis-installation-setup/
>>>
>>>
>> This is outdated by a few years. The current setup for QGIS can be found
>> here:
>>
>> <https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu>
>>
>> You have two choices: With or without the ubuntugis ppa.
>> The ppa holds GDAL 3.0.2 along with all dependencies.
>> Without the PPA, you can get GDAL 2.2.3
>>
>> QGIS supports both channels, using a different folder to download from.
>>
>>
>> The following packages have unmet dependencies.
>>>   qgis : Depends: gdal-abi-2-2-3
>>>
>>
>>
>> This seems to be the QGIS version without ubuntugis support.
>>
>> Try
>> deb https://qgis.org/ubuntugis bionic main
>>
>> and it should work.
>>
>> After re-installing, you should be able to install gdal-bin too.
>>
>> If you want (or must) to stick to GDAL 2, remove all ubuntugis
>> references, and take QGIS from the ubuntu repo.You might need to remove
>> GDAL 3 if you already installed it.
>>
>> 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

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-20 Thread J. M
Hi again Andre,

Thanks for that, I more or less get what you mean. The problem is that when
I ran autoremove it came back with almost a gig of dependencies it wanted
to remove, so I cancelled it! QGIS wasn't the last program I installed so I
have no idea how to purge only the dependencies directly related to the
previous version of it I was running. If I run autoremove and it damages
other applications or makes my system unusable then I won't be able to fix
it (I'm only a user, I've got no background in programming). I read around
and people warned strongly against doing this unless you're sure what you
want to remove. How can I be sure I only remove the right dependencies?
Does QGIS have a list or something I can use as a guide?

If anyone could explain how to use Synaptic package manager then I'd be
really grateful! It must have the most unintuitive interface of any piece
of software I've ever tried to use..

I edited the source file last time I installed it, so that part is done.
Incidentally, I don't see the 'other Software' tab in the Ubuntu Software
Center, so I just edited it manually. Any idea what that package is called?
I'm happy enough using the terminal if I know (roughly) what I'm doing!

Thanks a lot team,
Jimi.

On Wed, Feb 19, 2020 at 8:18 PM Andre Joost 
wrote:

> Am 18.02.20 um 23:58 schrieb J. M:
> > Hi again Andre,
> >
> > I don't actually understand what to do with this, because I can't run
> 'sudo
> > apt-get install qgis qgis-plugin-grass' as it keeps giving me the same
> > error messages about broken packages.
>
> Yes, because you have packages that are compiled against a set of
> libraries that does not match your computer. You have to remove,
> autoremove and purge those QGIS packages to force a download from the
> right folder.
>
>
> > When you say this, I don't get what this link does. I click on it and it
> > just takes me into a file hierarchy. Are users supposed to obtain the
> > downloads from here, or is it purely informative?
> > Try
> > deb https://qgis.org/ubuntugis bionic main
>
> That should go into your sources list, to replace the QGIS download
> source you used before. The Ubuntu Software center has a tab for "other
> Software" that holds the same information, so no need to edit the
> sources file manually.
>
> 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

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-24 Thread J. M
Hi Ismail!

Many thanks for your advice; I'll check it out. I haven't actually had a
chance to sit down and try to purge QGIS and start again. Andre was trying
to help me but I wasn't sure where to start so I haven't tried since I last
inquired about the process!

Thanks a lot,
Jimi.

On Sun, Feb 23, 2020 at 8:59 AM Ismail Sunni  wrote:

> Hi Jimi,
>
> I have a similar problem. I fix it by reinstalling gdal (libgdal20). I can
> install QGIS again after that. But, I am not an expert with this package
> manager thing, so perhaps it can work for you also, or perhaps not :)
>
> While trying to fix my problem, I found this
> https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa
>  which
> probably useful for you.
>
> Best regards
>
> On Thu, Feb 20, 2020 at 1:22 PM J. M  wrote:
>
>> Hi again Andre,
>>
>> Thanks for that, I more or less get what you mean. The problem is that
>> when I ran autoremove it came back with almost a gig of dependencies it
>> wanted to remove, so I cancelled it! QGIS wasn't the last program I
>> installed so I have no idea how to purge only the dependencies directly
>> related to the previous version of it I was running. If I run autoremove
>> and it damages other applications or makes my system unusable then I won't
>> be able to fix it (I'm only a user, I've got no background in programming).
>> I read around and people warned strongly against doing this unless you're
>> sure what you want to remove. How can I be sure I only remove the right
>> dependencies? Does QGIS have a list or something I can use as a guide?
>>
>> If anyone could explain how to use Synaptic package manager then I'd be
>> really grateful! It must have the most unintuitive interface of any piece
>> of software I've ever tried to use..
>>
>> I edited the source file last time I installed it, so that part is done.
>> Incidentally, I don't see the 'other Software' tab in the Ubuntu Software
>> Center, so I just edited it manually. Any idea what that package is called?
>> I'm happy enough using the terminal if I know (roughly) what I'm doing!
>>
>> Thanks a lot team,
>> Jimi.
>>
>> On Wed, Feb 19, 2020 at 8:18 PM Andre Joost 
>> wrote:
>>
>>> Am 18.02.20 um 23:58 schrieb J. M:
>>> > Hi again Andre,
>>> >
>>> > I don't actually understand what to do with this, because I can't run
>>> 'sudo
>>> > apt-get install qgis qgis-plugin-grass' as it keeps giving me the same
>>> > error messages about broken packages.
>>>
>>> Yes, because you have packages that are compiled against a set of
>>> libraries that does not match your computer. You have to remove,
>>> autoremove and purge those QGIS packages to force a download from the
>>> right folder.
>>>
>>>
>>> > When you say this, I don't get what this link does. I click on it and
>>> it
>>> > just takes me into a file hierarchy. Are users supposed to obtain the
>>> > downloads from here, or is it purely informative?
>>> > Try
>>> > deb https://qgis.org/ubuntugis bionic main
>>>
>>> That should go into your sources list, to replace the QGIS download
>>> source you used before. The Ubuntu Software center has a tab for "other
>>> Software" that holds the same information, so no need to edit the
>>> sources file manually.
>>>
>>> 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
>
>
>
> --
> Ismail Sunni
> Software Engineer
> ismailsunni.id
> ismailsunni.wordpress.com
>
___
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 uninstalled after GDAL PPA install

2020-02-24 Thread J. M
Hi Ismail,

Well, I've tried everything I can think of, everything people have
recommended and everything I've googled, but there seems to be no earthly
way to get rid of the following error messages:

sudo apt-get install qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 qgis : Depends: python3-qgis (= 1:3.12.0+28bionic) but it is not going to
be installed
E: Unable to correct problems, you have held broken packages.

I've tried this:

sudo apt-get purge qgis
sudo apt-get autoremove qgis
sudo apt-get --purge remove qgis
sudo apt-get update

 but it returned the following:

sudo apt-get update


Hit:6 http://qgis.org/debian bionic InRelease

  The following signatures couldn't be verified because the public key is
not available: NO_PUBKEY 76F1A20FF987672F
Hit:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic
InRelease
Err:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic
InRelease
  The following signatures couldn't be verified because the public key is
not available: NO_PUBKEY 089EBE08314DF160
Reading package lists... Done
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease:
The following signatures couldn't be verified because the public key is not
available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic
InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
W: An error occurred during the signature verification. The repository is
not updated and the previous index files will be used. GPG error:
http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic
InRelease: The following signatures couldn't be verified because the public
key is not available: NO_PUBKEY 089EBE08314DF160


I can't think of anything else. Any suggestions about what I might be doing
wrong? I don't actually understand what this link is for:
https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
If you download via the terminal by typing 'sudo apt-get install qgis' then
how do you make use of all the folders in this link? I mean, how do I
differentiate if I want to download version 3.10 or 3.12 of QGIS?

Sorry team, I just can't get this to work and I'm worried I do irreparable
damage to my system with this process.
Please help me out, guys!
Cheers,
Jimi.



On Mon, Feb 24, 2020 at 6:58 PM J. M  wrote:

> Hi Ismail!
>
> Many thanks for your advice; I'll check it out. I haven't actually had a
> chance to sit down and try to purge QGIS and start again. Andre was trying
> to help me but I wasn't sure where to start so I haven't tried since I last
> inquired about the process!
>
> Thanks a lot,
> Jimi.
>
> On Sun, Feb 23, 2020 at 8:59 AM Ismail Sunni 
> wrote:
>
>> Hi Jimi,
>>
>> I have a similar problem. I fix it by reinstalling gdal (libgdal20). I
>> can install QGIS again after that. But, I am not an expert with this
>> package manager thing, so perhaps it can work for you also, or perhaps not
>> :)
>>
>> While trying to fix my problem, I found this
>> https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa
>>  which
>> probably useful for you.
>>
>> Best regards
>>
>> On Thu, Feb 20, 2020 at 1:22 PM J. M  wrote:
>>
>>> Hi again Andre,
>>>
>>> Thanks for that, I more or less get what you mean. The problem is that
>>> when I ran autoremove it came back with almost a gig of dependencies it
>>> wanted to remove, so I cancelled it! QGIS wasn't the last program I
>>> installed so I have no idea how to purge only the dependencies directly
>>> related to the previous version of it I was running. If I run autoremove
>>> and it damages other applications or makes my system unusable then I won't
>>> be able to fix it (I'm only a user, I've got no background in programming).
>>> I read around and people warned strongly against doing this unless you're
>>> sure what you want to remove. How can I be sure I only remove the right
>>> dependencies? Does QGIS have a list or something I can use as a guide?
>>>
>>> If anyone could explain how to use Synapti

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-25 Thread J. M
Hi Ben!

Thanks a lot for that, really helpful. Andre explained that the last time I
had a problem with the installation

On Tue, Feb 25, 2020 at 4:44 AM Ben Hur Pintor  wrote:

> Hi!
>
> First of all, make sure that you add the qgis.org repo public key
> via sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key
> 51F523511C7028C3. Make sure that the library versions in your computer
> (specially GDAL and PROJ) are the same libraries that QGIS is built against.
>
> The links in
> https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu 
> determine
> which versions of QGIS will be installed. You add these as sources in the
> Software Center or you can add them directly in your /etc/apt/sources.list
> file as instructed in
> https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu.
> If you want 3.12 (Latest Release), you can use/add the following in your
> /etc/apt/sources.list file https://qgis.org/ubuntu or
> https://qgis.org/ubuntugis (if with ubuntugis-unstable dependencies).
> If you want the LTR branch (3.10.3), simply use
> https://qgis.org/ubuntu-ltr or https://qgis.org/ubuntugis-ltr (if with
> ubuntugis-unstable dependencies) in your /etc/apt/sources.list file.
>
> Also, don't forget to remove/purge all previous QGIS or GRASS
> installations (e.g. sudo apt remove qgis grass qgis-plugin-grass) and do an
> update (sudo apt update) before trying to install QGIS again.
>
> I run Pop! OS 18.04 (based on Ubuntu 18.04). Unfortunately, the libraries
> in the main (universe) repo of Bionic are a bit outdated (GDAL 2.2.3, PROJ
> 4.9, etc.). The newer versions of QGIS use GDAL 3.0.X and PROJ 6.X. Using
> the ubuntugis-unstable (
> https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable) PPA
> remedies the problem of some outdated libraries. If you will use the
> ubuntugis-unstable libraries, don't forget to add the PPA to your sources
> as well. On another note, PROJ 6.3.1, which QGIS 3.10.3 and 3.12 use, isn't
> available yet in Bionic even when using the ubuntugis PPA so even if I
> want, I can only install 3.10.2 right now on my machine. Trying to install
> 3.12 via the ubuntu or ubuntugis repo fails.
>
>
> All the best,
> Ben Hur
>
> On Tue, Feb 25, 2020, 07:25 J. M  wrote:
>
>> Hi Ismail,
>>
>> Well, I've tried everything I can think of, everything people have
>> recommended and everything I've googled, but there seems to be no earthly
>> way to get rid of the following error messages:
>>
>> sudo apt-get install qgis qgis-plugin-grass
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies.
>>  qgis : Depends: python3-qgis (= 1:3.12.0+28bionic) but it is not going
>> to be installed
>> E: Unable to correct problems, you have held broken packages.
>>
>> I've tried this:
>>
>> sudo apt-get purge qgis
>> sudo apt-get autoremove qgis
>> sudo apt-get --purge remove qgis
>> sudo apt-get update
>>
>>  but it returned the following:
>>
>> sudo apt-get update
>>
>>
>> Hit:6 http://qgis.org/debian bionic InRelease
>>
>>   The following signatures couldn't be verified because the public key is
>> not available: NO_PUBKEY 76F1A20FF987672F
>> Hit:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
>> bionic InRelease
>> Err:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
>> bionic InRelease
>>   The following signatures couldn't be verified because the public key is
>> not available: NO_PUBKEY 089EBE08314DF160
>> Reading package lists... Done
>> W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease:
>> The following signatures couldn't be verified because the public key is not
>> available: NO_PUBKEY 76F1A20FF987672F
>> E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic
>> InRelease' is not signed.
>> N: Updating from such a repository can't be done securely, and is
>> therefore disabled by default.
>> N: See apt-secure(8) manpage for repository creation and user
>> configuration details.
>> W: An error occurred during the signature verification. The repository is
>> not updated and the previous index files

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-25 Thread J. M
Hi Ben!

Sorry, that sent accidentally. I'll give it a go. It was actually the
ubuntugis unstable PPA which caused the current problem I'm having, so I'm
keen to avoid that PPA if I can. I'll try your steps again and let you know
what the outcome is.

Cheers,
Jimi.

On Tue, Feb 25, 2020 at 11:35 PM J. M  wrote:

> Hi Ben!
>
> Thanks a lot for that, really helpful. Andre explained that the last time
> I had a problem with the installation
>
> On Tue, Feb 25, 2020 at 4:44 AM Ben Hur Pintor  wrote:
>
>> Hi!
>>
>> First of all, make sure that you add the qgis.org repo public key
>> via sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key
>> 51F523511C7028C3. Make sure that the library versions in your computer
>> (specially GDAL and PROJ) are the same libraries that QGIS is built against.
>>
>> The links in
>> https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu 
>> determine
>> which versions of QGIS will be installed. You add these as sources in the
>> Software Center or you can add them directly in your /etc/apt/sources.list
>> file as instructed in
>> https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu.
>> If you want 3.12 (Latest Release), you can use/add the following in your
>> /etc/apt/sources.list file https://qgis.org/ubuntu or
>> https://qgis.org/ubuntugis (if with ubuntugis-unstable dependencies).
>> If you want the LTR branch (3.10.3), simply use
>> https://qgis.org/ubuntu-ltr or https://qgis.org/ubuntugis-ltr (if with
>> ubuntugis-unstable dependencies) in your /etc/apt/sources.list file.
>>
>> Also, don't forget to remove/purge all previous QGIS or GRASS
>> installations (e.g. sudo apt remove qgis grass qgis-plugin-grass) and do an
>> update (sudo apt update) before trying to install QGIS again.
>>
>> I run Pop! OS 18.04 (based on Ubuntu 18.04). Unfortunately, the libraries
>> in the main (universe) repo of Bionic are a bit outdated (GDAL 2.2.3, PROJ
>> 4.9, etc.). The newer versions of QGIS use GDAL 3.0.X and PROJ 6.X. Using
>> the ubuntugis-unstable (
>> https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable) PPA
>> remedies the problem of some outdated libraries. If you will use the
>> ubuntugis-unstable libraries, don't forget to add the PPA to your sources
>> as well. On another note, PROJ 6.3.1, which QGIS 3.10.3 and 3.12 use, isn't
>> available yet in Bionic even when using the ubuntugis PPA so even if I
>> want, I can only install 3.10.2 right now on my machine. Trying to install
>> 3.12 via the ubuntu or ubuntugis repo fails.
>>
>>
>> All the best,
>> Ben Hur
>>
>> On Tue, Feb 25, 2020, 07:25 J. M  wrote:
>>
>>> Hi Ismail,
>>>
>>> Well, I've tried everything I can think of, everything people have
>>> recommended and everything I've googled, but there seems to be no earthly
>>> way to get rid of the following error messages:
>>>
>>> sudo apt-get install qgis qgis-plugin-grass
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> Some packages could not be installed. This may mean that you have
>>> requested an impossible situation or if you are using the unstable
>>> distribution that some required packages have not yet been created
>>> or been moved out of Incoming.
>>> The following information may help to resolve the situation:
>>>
>>> The following packages have unmet dependencies.
>>>  qgis : Depends: python3-qgis (= 1:3.12.0+28bionic) but it is not going
>>> to be installed
>>> E: Unable to correct problems, you have held broken packages.
>>>
>>> I've tried this:
>>>
>>> sudo apt-get purge qgis
>>> sudo apt-get autoremove qgis
>>> sudo apt-get --purge remove qgis
>>> sudo apt-get update
>>>
>>>  but it returned the following:
>>>
>>> sudo apt-get update
>>>
>>>
>>> Hit:6 http://qgis.org/debian bionic InRelease
>>>
>>>   The following signatures couldn't be verified because the public key
>>> is not available: NO_PUBKEY 76F1A20FF987672F
>>> Hit:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
>>> bionic InRelease
>>> Err:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
>>> bionic InRelease
>>>   The following signatures couldn't be verified because the public key
>>> is not available: NO_PUBKEY 089EBE08314DF160
>>> Reading pack

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-25 Thread J. M
Hi Ben!

Thanks a lot for that, really helpful; I'll give it a go. It was actually
the ubuntugis unstable PPA which caused the current problem I'm having, so
I'm keen to avoid that PPA if I can. I'll try your steps again and let you
know what the outcome is.

Cheers,
Jimi.

On Tue, Feb 25, 2020 at 4:44 AM Ben Hur Pintor  wrote:

> Hi!
>
> First of all, make sure that you add the qgis.org repo public key
> via sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key
> 51F523511C7028C3. Make sure that the library versions in your computer
> (specially GDAL and PROJ) are the same libraries that QGIS is built against.
>
> The links in
> https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu 
> determine
> which versions of QGIS will be installed. You add these as sources in the
> Software Center or you can add them directly in your /etc/apt/sources.list
> file as instructed in
> https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu.
> If you want 3.12 (Latest Release), you can use/add the following in your
> /etc/apt/sources.list file https://qgis.org/ubuntu or
> https://qgis.org/ubuntugis (if with ubuntugis-unstable dependencies).
> If you want the LTR branch (3.10.3), simply use
> https://qgis.org/ubuntu-ltr or https://qgis.org/ubuntugis-ltr (if with
> ubuntugis-unstable dependencies) in your /etc/apt/sources.list file.
>
> Also, don't forget to remove/purge all previous QGIS or GRASS
> installations (e.g. sudo apt remove qgis grass qgis-plugin-grass) and do an
> update (sudo apt update) before trying to install QGIS again.
>
> I run Pop! OS 18.04 (based on Ubuntu 18.04). Unfortunately, the libraries
> in the main (universe) repo of Bionic are a bit outdated (GDAL 2.2.3, PROJ
> 4.9, etc.). The newer versions of QGIS use GDAL 3.0.X and PROJ 6.X. Using
> the ubuntugis-unstable (
> https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable) PPA
> remedies the problem of some outdated libraries. If you will use the
> ubuntugis-unstable libraries, don't forget to add the PPA to your sources
> as well. On another note, PROJ 6.3.1, which QGIS 3.10.3 and 3.12 use, isn't
> available yet in Bionic even when using the ubuntugis PPA so even if I
> want, I can only install 3.10.2 right now on my machine. Trying to install
> 3.12 via the ubuntu or ubuntugis repo fails.
>
>
> All the best,
> Ben Hur
>
> On Tue, Feb 25, 2020, 07:25 J. M  wrote:
>
>> Hi Ismail,
>>
>> Well, I've tried everything I can think of, everything people have
>> recommended and everything I've googled, but there seems to be no earthly
>> way to get rid of the following error messages:
>>
>> sudo apt-get install qgis qgis-plugin-grass
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies.
>>  qgis : Depends: python3-qgis (= 1:3.12.0+28bionic) but it is not going
>> to be installed
>> E: Unable to correct problems, you have held broken packages.
>>
>> I've tried this:
>>
>> sudo apt-get purge qgis
>> sudo apt-get autoremove qgis
>> sudo apt-get --purge remove qgis
>> sudo apt-get update
>>
>>  but it returned the following:
>>
>> sudo apt-get update
>>
>>
>> Hit:6 http://qgis.org/debian bionic InRelease
>>
>>   The following signatures couldn't be verified because the public key is
>> not available: NO_PUBKEY 76F1A20FF987672F
>> Hit:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
>> bionic InRelease
>> Err:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
>> bionic InRelease
>>   The following signatures couldn't be verified because the public key is
>> not available: NO_PUBKEY 089EBE08314DF160
>> Reading package lists... Done
>> W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease:
>> The following signatures couldn't be verified because the public key is not
>> available: NO_PUBKEY 76F1A20FF987672F
>> E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic
>> InRelease' is not signed.
>> N: Updating from such a repository can't be done securely, and is
>> therefore disabled by default.
>> N: See apt-secure(8) manpage for repository creation an

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-25 Thread J. M
Hi Ben,

No joy, I'm afraid. I think I did everything you recommended. I'm going to
run through it in case I missed something obvious:

   - I ran sudo apt remove qgis grass qgis-plugin-grass, then ran sudo
   apt-get update
   - The /etc/apt/sources file contains the correct info because I modified
   it for the last installation
   - I ran autoremove on QGIS and erased over a gigabyte of
   dependencies (which seemed like a *lot*..)
   - I ran sudo apt-key list to check if the ubuntugis-unstable PPA was
   still listed as trusted, and it didn't appear
   - I added the ubuntugis stable PPA as recommended on
   https://trac.osgeo.org/ubuntugis/wiki/UbuntuGISRepository, with sudo
   add-apt-repository ppa:ubuntugis/ppa, and it appeared to duplicate your
   command sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key
   51F523511C7028C3. Is that possible when they appear to reference two
   different PPA's?
   - I ran sudo apt-get install qgis qgis-plugin-grass and received the
   following error message, similar to before:

The following packages have unmet dependencies.
 qgis : Depends: gdal-abi-2-2-3
Depends: libqgis-analysis3.12.0 but it is not going to be installed
Depends: libqgis-app3.12.0 but it is not going to be installed
Depends: libqgis-core3.12.0 but it is not going to be installed
Depends: libqgis-gui3.12.0 but it is not going to be installed
Depends: python3-qgis (= 1:3.12.0+28bionic) but it is not going to
be installed
Depends: qgis-providers (= 1:3.12.0+28bionic) but it is not going
to be installed
 qgis-plugin-grass : Depends: qgis-provider-grass (= 1:3.12.0+28bionic) but
it is not going to be installed
 Depends: grass740
 Depends: libqgis-app3.12.0 but it is not going to be
installed
 Depends: libqgis-core3.12.0 but it is not going to be
installed
 Depends: libqgis-gui3.12.0 but it is not going to be
installed
 Depends: libqgisgrass7-3.12.0 but it is not going to
be installed
E: Unable to correct problems, you have held broken packages.

I must be missing something. Do I have to open the UI via terminal (sudo
nautilus) and manually remove every file which makes reference to QGIS and
ubuntugis-unstable? As formatting my machine isn't an option there must be
a simple way of completely removing the program and its dependencies..
right?!

I don't even know what Gdal is or does, because I can't even get started
learning QGIS because I'm finding it impossible to have a version running
for long enough to start with tutorials! Is it to allow you to overlay
raster info onto GIS projects or something? I googled it but the
explanation must have been written by a robot (no offence intended, to
robots I mean). Gdal was the reason I installed the ubuntugis-unstable PPA,
because Blender gave me the helpful error message: Please install gdal to
enable raster projection support. As my crystal ball was clouded up when I
read that I came here to bug you guys for help!


Thanks again to everyone who has had a go at helping me. Keep those ideas
coming!!
Cheers,
Jimi.

On Tue, Feb 25, 2020 at 11:39 PM J. M  wrote:

> Hi Ben!
>
> Thanks a lot for that, really helpful; I'll give it a go. It was actually
> the ubuntugis unstable PPA which caused the current problem I'm having, so
> I'm keen to avoid that PPA if I can. I'll try your steps again and let you
> know what the outcome is.
>
> Cheers,
> Jimi.
>
> On Tue, Feb 25, 2020 at 4:44 AM Ben Hur Pintor  wrote:
>
>> Hi!
>>
>> First of all, make sure that you add the qgis.org repo public key
>> via sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key
>> 51F523511C7028C3. Make sure that the library versions in your computer
>> (specially GDAL and PROJ) are the same libraries that QGIS is built against.
>>
>> The links in
>> https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu 
>> determine
>> which versions of QGIS will be installed. You add these as sources in the
>> Software Center or you can add them directly in your /etc/apt/sources.list
>> file as instructed in
>> https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu.
>> If you want 3.12 (Latest Release), you can use/add the following in your
>> /etc/apt/sources.list file https://qgis.org/ubuntu or
>> https://qgis.org/ubuntugis (if with ubuntugis-unstable dependencies).
>> If you want the LTR branch (3.10.3), simply use
>> https://qgis.org/ubuntu-ltr or https://qgis.org/ubuntugis-ltr (if with
>> ubuntugis-unstable dependencies) in your /etc/apt/sources.list file.
>>
>> Also, don't forget to remove/purge all previous QGIS or GRASS
>> installations (e.g. sudo apt remove qgis grass qgis-p

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-26 Thread J. M
Hi guys!

Well thanks for all that info! Ben, I completely failed to understand what
you explained before about your OS, but I get it now! I was happy with 3.10
anyway, so that's great. I'll have a go at removing ubuntugis-unstable and
I'll edit my source file accordingly. Incidentally, it might be a good idea
to explain that on the site because I've been redirected there many times
and always just gone somewhere else to get instructions about what to do.
For software engineers it's maybe logical, but for end users like me it
seemed like reference information, entirely unrelated to the actual
installation process.

Andre, thanks again! I'm not sure how to remove the ubuntugis files to be
honest, if purging QGIS doesn't work. I erased the GPG manually (sudo
nautilus) because I hadn't encountered an easy way, but then I ran
autoremove qgis and I thought that would take care of everything related to
it, including PPA's (the command removed stuff connected with FreeCAD, for
example, which has no connection whatsoever).
The key is for the whole ubuntugis project, regardless of the branch you
are using. Same goes for QGIS.
That makes sense, and explains the error message about it.

Okay, one last question:
And add "python3-qgis" to your install command.
I don't know enough about linux syntax to include this without dropping the
ball.
Maybe 'sudo apt-get install qgis qgis-plugin-grass python3-qgis'?
Should I start again and run autoremove qgis, etc, or can I attempt it from
where I am?

Thanks again!!
Jimi.

On Wed, Feb 26, 2020 at 10:03 AM Andre Joost 
wrote:

> Am 26.02.20 um 00:12 schrieb J. M:
>
> > - I ran sudo apt-key list to check if the ubuntugis-unstable PPA was
> > still listed as trusted, and it didn't appear
> > - I added the ubuntugis stable PPA as recommended on
> > https://trac.osgeo.org/ubuntugis/wiki/UbuntuGISRepository,
>
> That wiki is outdated, the qgis.org/ubuntugis packages are compiled
> against the ubuntugis *unstable* PPA, see
> <https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu>
>
> I guess you are better off without anything from ubuntugis at the
> moment. So take the qgis.org/ubuntu-ltr bionic packages to avoid the
> PROJ6 problems others mentioned.
>
> You should run "apt-cache policy libgdal20" to see that you have GDAL
> 2.2.3 and nothing newer. See
> <
> https://askubuntu.com/questions/92019/how-to-install-specific-ubuntu-packages-with-exact-version
> >
> to learn how to install a specific version of a package.
>
> And add "python3-qgis" to your install command.
>
> > with sudo
> > add-apt-repository ppa:ubuntugis/ppa, and it appeared to duplicate
> your
> > command sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key
> > 51F523511C7028C3. Is that possible when they appear to reference two
> > different PPA's?
>
> The key is for the whole ubuntugis project, regardless of the branch you
> are using. Same goes for QGIS.
>
> > - I ran sudo apt-get install qgis qgis-plugin-grass and received the
> > following error message, similar to before:
> >
> > The following packages have unmet dependencies.
> >   qgis : Depends: gdal-abi-2-2-3
>
> Seems to be a non-ubuntugis package, but You don't have the GDAL version
> 2.2.3 installed, but a newer one from ubuntugis. Try to get rid of that
> to remove all follow-up error messages.
>
> 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

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-26 Thread J. M
Okay great! Thanks a lot, I'll try that!

Cheers,
Jimi.

On Wed, Feb 26, 2020 at 1:03 PM Andre Joost 
wrote:

> Am 26.02.20 um 11:54 schrieb J. M:
>
> > Okay, one last question:
> > And add "python3-qgis" to your install command.
> > I don't know enough about linux syntax to include this without dropping
> the
> > ball.
> > Maybe 'sudo apt-get install qgis qgis-plugin-grass python3-qgis'?
>
> Yes, exactly.
> But before, make sure to have the right GDAL lib with
>
> apt-cache policy libgdal20
>
> Else you would not come further.
>
> 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

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-26 Thread J. M
Hiya Andre,

More syntax problems maybe, but I get this:
apt-cache policy libgdal20
libgdal20:
  Installed: (none)
  Candidate: 2.4.2+dfsg-1~bionic0
  Version table:
 2.4.2+dfsg-1~bionic0 500
500 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic/main amd64
Packages
 2.2.3+dfsg-2 500
500 http://es.archive.ubuntu.com/ubuntu bionic/universe amd64
Packages
jimi@jimi-System-Product-Name:~$ sudo apt-get install apt-cache policy
libgdal20[sudo] password for jimi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apt-cache
E: Unable to locate package policy

What commands do I need to get the right cache?
Cheers,
Jimi.

On Wed, Feb 26, 2020 at 1:34 PM J. M  wrote:

> Okay great! Thanks a lot, I'll try that!
>
> Cheers,
> Jimi.
>
> On Wed, Feb 26, 2020 at 1:03 PM Andre Joost 
> wrote:
>
>> Am 26.02.20 um 11:54 schrieb J. M:
>>
>> > Okay, one last question:
>> > And add "python3-qgis" to your install command.
>> > I don't know enough about linux syntax to include this without dropping
>> the
>> > ball.
>> > Maybe 'sudo apt-get install qgis qgis-plugin-grass python3-qgis'?
>>
>> Yes, exactly.
>> But before, make sure to have the right GDAL lib with
>>
>> apt-cache policy libgdal20
>>
>> Else you would not come further.
>>
>> 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

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-27 Thread J. M
Hi there guys,

I think I've done everything that people have suggested, including Andre's
last suggestion:
sudo apt-get install libgdal20=2.2.3+dfsg-2, which returned this, similar
to last time:

sudo apt-get install libgdal20=2.2.3+dfsg-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 libgdal20 : Depends: libogdi3.2 (>= 3.2.0) but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.

As I can't get beyond that point I have no idea what else to try, to be
honest. As Ben suggested I edited the etc file to include this:
deb https://qgis.org/ubuntu-ltr bionic main, because Ubuntu 18.04 LTS
doesn't yet support QGIS 3.12. If you can install QGIS and run it, then how
do you simply remove the entire program and all its dependencies so that
you can start from scratch? If I run purge X on any other program I think
my system removes it completely, though I'm not sure.

Fernando Moxo suggested the following, but I've already run sudo apt-get
autoremove qgis (as QGIS wasn't the last program I installed and I don't
want this process to randomly erase vital dependencies and leave me with
half an OS) and there are fewer unmet dependencies now than the first time,
but I don't know what 'installed prereq.' means, or 'Id those prereq'.
Sorry, I can't act on that line because I don't understand it.

sudo apt autoremove

Should uninstall all dangling installed prereq.   Id those prereq are
being kept due to some other package requiring them, or some remaining
from previous Qgis install it can take a bit more effort to fix.


I don't know how to erase individual dependencies, so without specific
commands I wouldn't know where to start. I ran autoremove and I thought it
took out everything, even dependencies unrelated to QGIS. Out of curiosity,
are the majority of QGIS users software developers as well? I've never
experienced this level of technical difficulty associated with the
installation of a piece of software on Linux before (I've been a dedicated
Ubuntu user since 12.04 LTS).

Could someone recommend where to start from scratch, and suggest what to do
step-by-step, so I'm not cluttering up the group email with the same
queries for ages? I had it working perfectly (albeit briefly) before I
accidentally installed the ubuntugis-unstable PPA, so I know it's not a
problem with my OS.
Many thanks again,
Jimi.



On Thu, Feb 27, 2020 at 1:10 PM Fernando M. Roxo da Motta 
wrote:

> On Wed, 26 Feb 2020 12:33:24 +0800, Ben Hur Pintor 
> wrote:
>
>
> > Hi!
> >
> > It looks like your machine is trying to install 3.12.
>
>   This kind of error usually indicates that 3.12 is already
> installed.  Prossibly a previous install brought in the 3.12 version as
> a pre-requirement.   If that is so, a command like:
>
> $ sudo apt autoremove
>
> Should uninstall all dangling installed prereq.   Id those prereq are
> being kept due to some other package requiring them, or some remaining
> from previous Qgis install it can take a bit more effort to fix.
>
>   Try to remove directly each of those dependencies.
>
>
>   HTH
>
> >
> > As I mentioned in the last part of my previous message, right now you
> > can't install QGIS 3.12 on Ubuntu 18.04 because 3.12 needs PROJ 6.3.1
> > which currently isn't available in Bionic -- via the main canonical
> > repo or even with the ubuntugis-unstable PPA. Therefore, I suggest
> > installing from the LTR branch and not the LR branch. When I use the
> > LTR branch with ubuntugis dependencies, I get QGIS 3 10.2 no problem.
> >
> > I run the same machine as you and actually faced the same problem
> > when I tried to install the Latest Release (3.12) on Bionic. Try
> > using the repos for the LTR (the ones with -ltr in the end). Maybe
> > that will help.
> >
> > Don't worry about it, we've all been there.
> >
> >
> > All the best,
> > Ben Hur
> >
> > On Wed, Feb 26, 2020, 07:12 J. M  wrote:
> >
> > > Hi Ben,
> > >
> > > No joy, I'm afraid. I think I did everything you recommended. I'm
> > > going to run through it in case I missed something obvious:
> > >
> > >- I ran sudo apt remove qgis grass qgis-plugin-grass, then ran
> > > sudo apt-get update
> > >- The /etc/apt/source

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-28 Thread J. M
Hi Ismail!

Thanks for your help; your instructions were very clear. I had another go
and it still doesn't work! Haha, I'll end up calling NASA or something..

Here's what I get:
sudo apt-get remove libgdal20
[sudo] password for jimi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libgdal20' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 57 not to upgrade.
jimi@jimi-System-Product-Name:~$ dpkg -l | grep gdal
ii  gdal-bin   3.0.2+dfsg-1~bionic2
amd64Geospatial Data Abstraction Library -
Utility programs
ii  gdal-data  3.0.2+dfsg-1~bionic2
all  Geospatial Data Abstraction Library - Data
files
ii  libgdal26  3.0.2+dfsg-1~bionic2
amd64Geospatial Data Abstraction Library
ii  python3-gdal   3.0.2+dfsg-1~bionic2
amd64Python 3 bindings to the Geospatial Data
Abstraction Library

The package I was trying to install was actually libgdal20, following
Andre's last suggestion:
sudo apt-get install libgdal20=2.2.3+dfsg-2

I'm still not clear about what the ubuntugis PPA is needed for, or what
gdal even is.. It probably seems like I'm emailing with every problem, but
each time I do it's after I've spent an hour googling things and trying
stuff. I'm really struggling to understand why QGIS is so dispersed, and
why I can't isolate everything and purge it for a clean reinstall..

Any further help would be greatly appreciated because I'm completely out of
ideas.
Cheers,
Jimi.

On Fri, Feb 28, 2020 at 4:57 PM Ismail Sunni  wrote:

> Hi Jimi,
>
> Since I have more or less the same problem, I did like this:
>
>
>1. Set to use the ubuntu repo in your APT:
>deb https://qgis.org/ubuntu bionic main
>deb-src https://qgis.org/ubuntu bionic main
>2. Try to install QGIS or any packages that you need.
>3. If you get the `The following packages have unmet dependencies.`
>problem, just remove the package. For example in your case `libgdal20`
>(sudo apt remove libgdal20).
>4. If the package is not found, try to find the package name, for
>example by using `dpkg -l | grep gdal`. Remove the packages.
>5. Try again to install your package (from step 2), see if the problem
>persists.
>
> In my case, I got this The following packages have unmet dependencies when
> I want to install QGIS, then QGIS requirement for building from source. I
> got missing saga-common, gdalabi, and libopencv-calib3d3.2.
>
> I did the steps above, and now it works fine.
>
> Basically, what I understand is, there is a problem in the package, so
> remove it, and the package manager will re-install it while you are
> installing QGIS. CMIIW.
>
> I hope it helps.
>
> Best regards.
>
>
> On Thu, Feb 27, 2020 at 11:58 PM J. M  wrote:
>
>> Hi there guys,
>>
>> I think I've done everything that people have suggested, including
>> Andre's last suggestion:
>> sudo apt-get install libgdal20=2.2.3+dfsg-2, which returned this, similar
>> to last time:
>>
>> sudo apt-get install libgdal20=2.2.3+dfsg-2
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies.
>>  libgdal20 : Depends: libogdi3.2 (>= 3.2.0) but it is not going to be
>> installed
>> E: Unable to correct problems, you have held broken packages.
>>
>> As I can't get beyond that point I have no idea what else to try, to be
>> honest. As Ben suggested I edited the etc file to include this:
>> deb https://qgis.org/ubuntu-ltr bionic main, because Ubuntu 18.04 LTS
>> doesn't yet support QGIS 3.12. If you can install QGIS and run it, then how
>> do you simply remove the entire program and all its dependencies so that
>> you can start from scratch? If I run purge X on any other program I
>> think my system removes it completely, though I'm not sure.
>>
>> Fernando Moxo suggested the following, but I've already run sudo apt-get
>> autoremove qgis (as QGIS wasn't the last program I installed and I don't
>> want this process to randomly erase vital dependencies and leave me

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-28 Thread J. M
Hi Andre,

Okay thanks once again... I'll have a go, though I'm not sure how to remove
them. Would it be 'sudo apt-get remove gdal-bin' or does it need 'sudo
apt-get remove gdal-bin 3.0.2+dfsg-1~bionic2'? I ask because I don't know
if gdal-bin is something generic used elsewhere and I have to denominate
that. As I don't really understand what those files are, I'm wary of
removing them without being sure of the syntax first. Can I be sure they
aren't needed for another program, for example Blender?

So once those four files are removed I can try sudo apt-get install
libgdal20=2.2.3+dfsg-2 again? And once I have libgdal20 installed then I
can run sudo apt-get install qgis qgis-plugin-grass python3-qgis? If I'm
missing anything else then please let me know..

Cheers,
Jimi.

On Fri, Feb 28, 2020 at 7:27 PM Andre Joost 
wrote:

> Am 28.02.20 um 18:29 schrieb J. M:
>
> > Here's what I get:
> > sudo apt-get remove libgdal20
> > [sudo] password for jimi:
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Package 'libgdal20' is not installed, so not removed
>
> That was expected, because apt-cache policy libgdal20 already told you
> that it was not installed.
>
> > jimi@jimi-System-Product-Name:~$ dpkg -l | grep gdal
> > ii  gdal-bin   3.0.2+dfsg-1~bionic2
> >  amd64Geospatial Data Abstraction Library -
> > Utility programs
> > ii  gdal-data  3.0.2+dfsg-1~bionic2
> >  all  Geospatial Data Abstraction Library -
> Data
> > files
> > ii  libgdal26  3.0.2+dfsg-1~bionic2
> >  amd64Geospatial Data Abstraction Library
> > ii  python3-gdal   3.0.2+dfsg-1~bionic2
> >  amd64Python 3 bindings to the Geospatial
> Data
>
>
> These are still GDAL 3.02 packages that you installed with the ubuntugis
> PPA. Get rid of those, otherwise you will not get further.
>
> >
> > I'm still not clear about what the ubuntugis PPA is needed for, or what
> > gdal even is..
>
> GDAL is more or less the heartbeat of QGIS. Almost every operation uses
> it. For some reason, you must use exactly the same GDAL version as the
> QGIS package is compiled against. For bionic (without ubuntugis), this
> is GDAL 2.2.3. The gdal-abi package is used to confirm that version.
>
> With the Ubuntugis PPA, you have installed a newer version of GDAL
> (3.0.2), and the packet manager does not downgrade it by itself (it does
> not know about th specific QGIS requirements).
>
>
> 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

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-03-01 Thread J. M
Success!! I erased the four offending repositories and the
installation went ahead fine. It installed the latest version (3.12?) which
I didn't expect, and it appears to work on my OS. I ran apt-cache policy
libgdal20 and it returned 2.2.3, so that's perfect. I'll have to enable it
somehow in Blender, but that's another problem.

My profound thanks to the team for helping me; you're incredible!

Cheers,
Jimi.

On Fri, Feb 28, 2020 at 9:38 PM Andre Joost 
wrote:

> Am 28.02.20 um 20:48 schrieb J. M:
> > Hi Andre,
> >
> > Okay thanks once again... I'll have a go, though I'm not sure how to
> remove
> > them. Would it be 'sudo apt-get remove gdal-bin' or does it need 'sudo
> > apt-get remove gdal-bin 3.0.2+dfsg-1~bionic2'?
>
>
> The first one should be ok.
>
> > I ask because I don't know
> > if gdal-bin is something generic used elsewhere and I have to denominate
> > that. As I don't really understand what those files are, I'm wary of
> > removing them without being sure of the syntax first. Can I be sure they
> > aren't needed for another program, for example Blender?
>
> You can install gdal-bin later from the main Ubuntu repo, which will be
> version 2.2.3. Blender should be happy with it. I doubt they support
> GDAL 3 yet.
>
>
> >
> > So once those four files are removed I can try sudo apt-get install
> > libgdal20=2.2.3+dfsg-2 again? And once I have libgdal20 installed then I
> > can run sudo apt-get install qgis qgis-plugin-grass python3-qgis? If I'm
> > missing anything else then please let me know..
>
> Run the apt-cache policy libgdal20 again. If it offers you version 2.2.3
> only, then QGIS sould install properly.
>
>
>
> 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] Wild African honeybee populations

2020-03-11 Thread J. M
Hi there team,

Quite recently a QGIS user posted a query about using the software to
record data about wild African honeybee populations, and I didn't store
their contact at the time. I would like to make contact with the person if
they are still in the list, because I have a question I'd like to ask them!

Cheers,
Jimi.
___
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] GPX data in QGIS.

2020-09-10 Thread J. M
Hi there,

I can successfully import .gpx files into QGIS, and they are visible and
can be clustered in new groups (waypoints, tracks and routes appear as
independent layers). The problem I'm having is that I can't seem to find
any way to access the data about the routes (distance, time, etc) which is
clearly visible in the app I used to create the tracks (the Spanish
Geographical Institute app, which I understand is heavily based on Orux
Maps). Does anyone have any ideas how to access this data (it's not in the
Properties tab)?

Also, what's the difference between a route and a track for QGIS? Is it
just the direction the track was completed in?

Many thanks,
Jimi.
___
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] GPX data in QGIS.

2020-09-11 Thread J. M
Hi Garth,

Thanks a lot for the very complete answer! I'll give it a go as soon as I
resolve an unrelated Ubuntu problem. I hadn't realised that GPX data wasn't
automatically visible in Properties, and that fields had to be created.

Kind regards,
Jimi.

On Fri, Sep 11, 2020 at 4:26 AM Garth Fletcher  wrote:

> On 10 Sep 2020 at 20:12, J. M  wrote:
> > I can successfully import .gpx files into QGIS, and they are visible and
> > can be clustered in new groups (waypoints, tracks and routes appear as
> > independent layers). The problem I'm having is that I can't seem to find
> > any way to access the data about the routes (distance, time, etc) which
> is
> > clearly visible in the app I used to create the tracks
>
> The GPX file contains a number of fields whose contents you can see /
> access in the layer's Attribute Table
>   right-click on layer and choose Open Attribute Table
>
> However, these are only the extra fields in the GPX records but
> NOT including the x,y coordinates (Long,Lat)
>
> To access the later, use the Field Calculator
>   select the layer
>   click on Open Field Calculator icon (Abaccus) in the menu bar
>  which is next to the Open Attribute Table icon in menu, or
>in Processing > GDAL > Vector Table > Field Calculator
>
> create new fields, called Lat and Long, as decimal numbers
> and enter the expression $X or $Y (see Geometry > for details)
> When you click OK, the new fields will be appended and filled in
> with the right values.
>
> You can then access them in the layer's Attribute Table.
>
> With those 2 extra fields you essentially have access to everything
> that was recorded in the GPX file.
>
> You can also use Field Calculator to add more fields and populate
> them with calculation results.
>
> As an aside, Field Calculator cannot create new fields in the GPX
> file; instead it creates them as temporary virtual fields.
>
> A better approach is to first save the data in a shape file
>   right-click on layer, choose Export > Save selected features
> then open that file instead of the original GPX.
> Field Calculator will add new fields to that format.
>
> Cordially,
> --
> Garth Fletcher
> ___
> 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] GPX data in QGIS.

2020-09-11 Thread J. M
Hi there Greg and Charles,

Many thanks for your help as well; I guessed it was something like this,
but there are many distinctions in GIS which are lost on a total novice
like me!

Kind regards,
Jimi.

On Thu, Sep 10, 2020 at 10:03 PM Greg Troxel  wrote:

>
> Charles Dixon-Paver  writes:
>
> > Routes are an ordered combination of points, which indicate the position
> > and direction, whilst tracks are a log of the receiver position over
> time.
>
> True.
>
> > In practice, if you were just tracking a hike through the forest, it's
> > probably not of great importance, however if you were doing field capture
> > of high fidelity data (e.g. a road network, with specific start and end
> > positions in a street, with the direction indicating traffic flow etc),
> you
> > would probably find the distinction has significantly more value. A
>
> That's not really how it ends up in practice usually.  A route is
> basically a plan for a navigation session, sort of "start here, then go
> here, then go there".  Routes are typically created as a planning
> operation, and then loaded onto a receiver (or you can create them on
> the device, but you are using it as a computer when you do).  Tracks are
> typically a record of observations, and thus represent a history of
> where the device was.
>
> One can transfer a track to a device, and can typically also say "route
> along this track".
>
> One thing to note about GPX is that there is a standard and then there
> are extensions.
>   https://www.topografix.com/GPX/1/1/gpx.xsd
> So it may be that the navigation program the OP is using stores
> information about distance and time.  GPX proper is just a list of
> waypoints.  From that one can of course compute distance, but not time.
>
> I am not sure if Jimi created "tracks" or "routes".  I would suggest
> reading the GPX file with a text editor to understand what files are in
> there.  If it is unreadable due to poor formatting choices (a belief
> that whitespace doesn't matter in gpx becuase it is for computers not
> humans :-( ), gpsbabel as a filter to read and write gpx may help.
>
___
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] GPX data in QGIS.

2020-11-01 Thread J. M
Hi again Garth,

Well I parked this problem and only just came back to it. I may have missed
something, but when I create the new fields you suggested in the Track they
contain no information. Is this a very advanced procedure? It seems like
something quite basic, but perhaps I've underestimated it (as I usually do
with QGIS!).

Kind regards,
Jimi.

On Fri, Sep 11, 2020 at 11:51 AM J. M  wrote:

> Hi Garth,
>
> Thanks a lot for the very complete answer! I'll give it a go as soon as I
> resolve an unrelated Ubuntu problem. I hadn't realised that GPX data wasn't
> automatically visible in Properties, and that fields had to be created.
>
> Kind regards,
> Jimi.
>
> On Fri, Sep 11, 2020 at 4:26 AM Garth Fletcher  wrote:
>
>> On 10 Sep 2020 at 20:12, J. M  wrote:
>> > I can successfully import .gpx files into QGIS, and they are visible and
>> > can be clustered in new groups (waypoints, tracks and routes appear as
>> > independent layers). The problem I'm having is that I can't seem to find
>> > any way to access the data about the routes (distance, time, etc) which
>> is
>> > clearly visible in the app I used to create the tracks
>>
>> The GPX file contains a number of fields whose contents you can see /
>> access in the layer's Attribute Table
>>   right-click on layer and choose Open Attribute Table
>>
>> However, these are only the extra fields in the GPX records but
>> NOT including the x,y coordinates (Long,Lat)
>>
>> To access the later, use the Field Calculator
>>   select the layer
>>   click on Open Field Calculator icon (Abaccus) in the menu bar
>>  which is next to the Open Attribute Table icon in menu, or
>>in Processing > GDAL > Vector Table > Field Calculator
>>
>> create new fields, called Lat and Long, as decimal numbers
>> and enter the expression $X or $Y (see Geometry > for details)
>> When you click OK, the new fields will be appended and filled in
>> with the right values.
>>
>> You can then access them in the layer's Attribute Table.
>>
>> With those 2 extra fields you essentially have access to everything
>> that was recorded in the GPX file.
>>
>> You can also use Field Calculator to add more fields and populate
>> them with calculation results.
>>
>> As an aside, Field Calculator cannot create new fields in the GPX
>> file; instead it creates them as temporary virtual fields.
>>
>> A better approach is to first save the data in a shape file
>>   right-click on layer, choose Export > Save selected features
>> then open that file instead of the original GPX.
>> Field Calculator will add new fields to that format.
>>
>> Cordially,
>> --
>> Garth Fletcher
>> ___
>> 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] GPX data in QGIS.

2020-11-03 Thread J. M
Hi there everyone,

Thanks again for all your suggestions and patience! I'll sit down and take
a look at it soon and report back on whether or not I can make it work.

Kind regards,
Jimi.

On Mon, Nov 2, 2020 at 3:03 PM Bernd Vogelgesang 
wrote:

>
> On 02.11.20 13:57, Fernando M. Roxo da Motta wrote:
> > On Sun, 1 Nov 2020 17:26:46 -0500, Garth Fletcher 
> > wrote:
> >
> >Just a side note.
> >
> >If I understand it correct, this procedure will store in attribute
> > table (as a temporary or permanent attribute) the coordinates as they
> > are at the time it is stored.   If a point is moved through edition that
> > value will not be updated automatically.  It will be necessary to store
> > the new value in the table with the described procedure.
>
> Yes and no: Since a while, it is possible to update values based on such
> a function after doing some configurations.
>
> First create your x and y fields and apply the $x and $y functions on
> them through the field calculator.
>
> When you now want them to automatically update on changes, go to
>
> Layer Properties -> Attributes Form -> Pick the field in question ->
> Section "Default Values" -> enter the function into the "Default value"
> and tick the "Apply default value on update"
>
> Done ;)
>
> >
> >> My experience is with .gpx files generated by a Garmin eTrex-20.
> >>
> >> When I use QGIS's Data Source Manager to open a and Add a .gxp file I
> >> see several different layers:
> >>Tracks
> >>Track Points
> >>Routes
> >>Route Points
> >>Waypoints
> >>
> >> The one you want is "Track Points" because it contains all the
> >> individual points which collectively make up the tracks. "Tracks"
> >> only contains link(s) to the various tracks that have been recorded -
> >> it usually only contains one item unless you have saved multiple
> >> tracks.
> >>
> >> You may also be interested in "Waypoints" if you've recorded specific
> >> waypoints on your GPS.
> >>
> >> So Add the layers of interest (Track Points and maybe Waypoints)
> >>
> >> Because a .gpx file is "input only", your first step needs to be to
> >> to right-click on the layer, select Export > Save Features As...
> >>
> >> This will let you save the layer in a form that can be edited. Keep
> >> this new layer (you can remove the original .gpx layer)
> >>
> >> The layer's Attribute Table contains fields for all sorts of
> >> attributes, but NOT including the location (Lat,Long) data which is
> >> stored separately.
> >>
> >> So to be able to make your own location based calculations you want to
> >> copy the point locations into new fields in the Attribute Table.
> >>
> >> With the layer selected, select the Field Calculator (Abaccus icon in
> >> toolbar)
> >>check Create a new field
> >>enter a name, e.g., "Latid"
> >>set Output field type to Decimal number (real)
> >>set Output field length to 10, Precision to 6
> >>type "$y" in the Expression window below
> >>  {$y is the location's Y axis, i.e., its latitude}
> >>click OK
> >> the first time it may warn you that the layer is not in edit mode and
> >> than proceding will turn on edit mode - this is fine
> >>
> >> Now repeat for a 2nd field, using a different field name and
> >> expression "Longid" and $x
> >>
> >> Now when you open the layer's Attribute Table you will see 2 new
> >> fields at the right which contain the point's Latid and Longid
> >> values...
> >>
> >> Save the layer if you want to keep these additions.
> >>
> >>
> >> On 11/1/20 2:17 PM, J. M wrote:
> >>> Hi again Garth,
> >>>
> >>> Well I parked this problem and only just came back to it. I may
> >>> have missed something, but when I create the new fields you
> >>> suggested in the Track they contain no information. Is this a very
> >>> advanced procedure? It seems like something quite basic, but
> >>> perhaps I've underestimated it (as I usually do with QGIS!).
> >>>
> >>> Kind regards,
> >>> Jimi.
> >>>
> >>> On Fri, Sep 11, 2020 at 11:51 AM J. M  >>> <mailto:jimimc...@gmail.com>> wrote: