Re: [Qgis-user] Changes in Python versions on QGIS 3.18

2021-03-26 Per discussione Andre Joost

Am 25.03.21 um 02:03 schrieb Nyall Dawson:

On Thu, 25 Mar 2021 at 10:41, Pedro Camargo
 wrote:


Hello,

I am not sure this is the appropriate mailing list to send this,
but here it goes.

I have noticed that QGIS 3.18 for Windows has shipped with Python
3.9, after having updated to 3.8 just a couple of versions ago.


I'm curious -- what's the pain in a Python update? They usually have
very little harmful impact on python code.



The pain in this case is that QGIS will not run on Windows 7 computers, 
because Python 3.9 does not support that OS, while 3.8 did.


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


Re: [Qgis-user] QGIS 3.16 Installation on Linux Mint

2020-12-02 Per discussione Andre Joost

Hello Mike,

Am 02.12.20 um 13:22 schrieb Mike Flannigan:

I suspect there is a good reason why Linux Mint (LM) 19.3
cannot be called bionic instead of tricia.  So first question
is how do I cross reference names and numbers (i.e. Ubuntu
bionic = 18.04).  I did some looking.  Is LXR needed for that?
I also went into 'Release' and 'InRelease' on that website, but
could not cross reference bionic to 18.04.

Second question is how do I cross reference between Ubuntu and LM?
i.e. LM 19.3 tricia is based on Ubuntu 18.04 bionic.



Just have a look at the wikipedia article on Linux mint versions:
<https://en.wikipedia.org/wiki/Linux_Mint_version_history>

You see that LM names are independent from ubuntu names. All Linux Mint 
19.x Versions are based on Ubuntu 18.04, and all Linux Mint 20.x 
versions will be based on Ubuntu 20.04. So with your Linux Mint 19.3 you 
can take the QGIS packages for bionic as long as they are supported.


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


Re: [Qgis-user] open street map data in QGIS 3.12

2020-06-30 Per discussione Andre Joost

Am 29.06.20 um 20:44 schrieb Andre Ulrich:

Dear community,

I have to create a shape file containing all supermarkets in cologne.
Therefore I want to use data from open street maps. I have already
installed the (experimental) plugin "QuickOSM" for enabling queries on osm
data directly in QGIS.
For the query I have to pass a key and a value. According to
https://wiki.openstreetmap.org/wiki/Key:building
there should be a value "supermarket" belonging to the key "building".
In the QuickOSM-window I can choose the key "building" - fine. But when it
comes to the value, I can't choose "supermarket" - it's not even listed
(and I can't type it too). There are other values like "commercial",
"industrial" or "retail", which might also fit. But a query using these
values yields way too many results. I really only want to have supermarkets
like rewe or penny or lidl or aldi or something like those.


The first entry in the dropdown list for key as well as for value is 
empty. There you can enter any text you want.


For building=supermarket, you will get only 3 areas and 1 point.
a better choice is shop=supermarker, delivering 159 areas and 235 points.



I also have downloaded a shape containing all buildings in
"Regierungsbezirk Köln" from
http://download.geofabrik.de/europe/germany/nordrhein-westfalen.html
as shp.zip.
There are 2.5M objects in this shape. I have tried to filter them, using
the attribute tabel -> select by expression. Everytime I try to filter
these data my computer ends up crashing.


These datasets are really huge. You should not try to load them in QGIS 
directly. ogr2ogr on the command line would be a solution that could 
handle it. Keep in mind that QGIS needs quite some memory for the GUI 
itself.


A better way is to download the osm.pbf raw data file, and filter it 
with a command line tool like osmosis or osmfilter.


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

Re: [Qgis-user] new Ubuntu-20.04 still not up to date

2020-04-24 Per discussione Andre Joost

Am 24.04.20 um 03:27 schrieb Dave Kimble:


At qgis.org I see that you released qgis-3.12 on 17 April 2020, less
than a week before Ubuntu-20.04 was due to be released.

At https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu , I
cannot understand what you mean by "To have newer versions, you have to
add alternative software repositories, by adding one of the deb-lines
below to your /etc/apt/sources.list file."  There are no deb lines
below. There are 15 URLs.


The release of QGIS 3.12 was too late for the build process of Ubuntu 
20.04, so you can only have 3.10.4 from the main ubuntu repo.


In order to add the qgis.org repo as an additional source, follow the 
steps at the end of the 
<https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu> 
chapter (before the Fedora section begins):


deb https://qgis.org/ubuntu focal main
deb-src https://qgis.org/ubuntu focal main

Make sure to add the qgis key as well. In a terminal:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 
51F523511C7028C3



HTH,
Andre Joost


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

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

2020-02-28 Per discussione Andre Joost

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

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

2020-02-28 Per discussione Andre Joost

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

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

2020-02-26 Per discussione Andre Joost

Am 26.02.20 um 14:55 schrieb 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


Still referring to ubuntugis?


Packages
  2.2.3+dfsg-2 500
 500 http://es.archive.ubuntu.com/ubuntu bionic/universe amd64


That should be the right one!


Packages
jimi@jimi-System-Product-Name:~$ sudo apt-get install apt-cache policy


No, thats wrong. From
<https://askubuntu.com/questions/92019/how-to-install-specific-ubuntu-packages-with-exact-version>

it should be:
sudo apt-get install libgdal20=2.2.3+dfsg-2




What commands do I need to get the right cache?


Usually, "sudo apt-get update" should clear the cache. Maybe you need to 
restart after editing the sources list to get it loaded.


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

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

2020-02-26 Per discussione Andre Joost

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

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

2020-02-26 Per discussione Andre Joost

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

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

2020-02-19 Per discussione Andre Joost

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

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

2020-02-18 Per discussione Andre Joost

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

Re: [Qgis-user] Installing QGIS- 3.4.x Madeira LTR for Ubuntu xenial

2019-11-20 Per discussione Andre Joost

Am 20.11.19 um 11:13 schrieb Mike Flannigan:


I have your exact same problem, except I tried to
install QGIS 3.10 after uninstalling my QGIS 2.18.
I am on Linux Mint 19.2.

When I go to the directory: /usr/share/gdal
I have a folder "2.2"

My sources.list file located here:
/etc/apt/sources.list
has this inside it:

#deb cdrom:[Linux Mint 19.2 _Tina_ - Release amd64 20190729]/ bionic
contrib main non-free
deb https://qgis.org/ubuntu/ unstable main
deb-src https://qgis.org/ubuntu/ unstable main


The output of the 2 install commands is shown below.

The problem is that I try to install QGIS 3.10 and I
wind up with QGIS 2.18.



The problem is that you have not added the QGIS key to your keyring. 
Hence the whole qgis.org repo is left out, and you get QGIS2 from the 
main Ubuntu repo.


Try
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 
51F523511C7028C3


in one line, and it should work.

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

Re: [Qgis-user] install problem on ubuntu 18.04

2019-10-06 Per discussione Andre Joost

Am 06.10.19 um 16:27 schrieb Darrel Maddy:

I have just built a new machine and tried to install qgis . I am
getting the following error message

libpng error: application is running with png.c from libpng-1.2.56
libpng warning: application is compiled with png.h from
libpng-1.6.21

checking the installed library it is reporting as 1.6.34 (the latest
in the repository)

As I am not a frequent linux user I do not know how to fix this,
nothing I have tried has worked.  Can anyone suggest how I should
proceed?



Most probably you have compiled GDAL or something other from source.
In that case, you have to install libpng-dev before self-compiling.

See
<https://gis.stackexchange.com/questions/291191/libpng-problems-for-qgis>
<https://gis.stackexchange.com/questions/313294/cant-install-support-for-ecw-in-qgis-3-6-3-4-on-ubuntu-18-04>
<https://gis.stackexchange.com/questions/331338/getting-libpng-error-for-qgis-on-ubuntu-19-04>

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

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

2019-09-26 Per discussione Andre Joost

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

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

2019-09-25 Per discussione Andre Joost

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

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

2019-09-25 Per discussione Andre Joost

Am 25.09.19 um 15:59 schrieb 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!



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.


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

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

2019-09-25 Per discussione Andre Joost

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

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

2019-09-24 Per discussione Andre Joost



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

Hi Jorge,

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


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

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

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


HTH,
Andre Joost

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

Re: [Qgis-user] qgis.org site

2019-09-03 Per discussione Andre Joost

Am 03.09.19 um 06:34 schrieb Tõnis Kärdi:



Browsing to https://qgis.org/ubuntugis-nightly-release returns a HTTP
525 error (SSL handshake failed)

Should I report this as an issue on GH?



Qgis.org had some overload trouble lately, and should be getting slowly 
better now.


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

Re: [Qgis-user] problems reprojecting in equal earth

2019-08-21 Per discussione Andre Joost

Am 19.08.19 um 18:26 schrieb Nicolas Cadieux:



Question: How so we take care of the nasty polygons that appear when we
add the "+lon_0=136" parameter?  See the zip.



See my answer at

<https://gis.stackexchange.com/questions/70411/displaying-world-country-shapefiles-centered-on-pacific-ocean-using-robinson-or>

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

Re: [Qgis-user] Problem running on Ubuntu Cosmic

2019-05-29 Per discussione Andre Joost

Am 29.05.19 um 13:39 schrieb Charlie Davies:



{19-05-29 12:21}[]CharlieThink:~ charlie% sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (18.1-5).
0 to upgrade, 0 to newly install, 0 to remove and 21 not to upgrade.


You should get rid of the 21 packages that are held back. Did you 
upgrade sip using pip?


Cosmic has version 4.19.12 of python3-sip, and you should stick to that.

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

Re: [Qgis-user] Install QGIS 3.x on Ubuntu16.04

2019-04-23 Per discussione Andre Joost

Hi,

you get stuck because qgis 3.4.6 from qgis.org is built against GRASS 
7.6.0 from the ubuntugis-unstable ppa, but that ppa has upgraded to 
Grass 7.6.1 in the meantime.


This should be resolved by the next QGIS point release.

Alternatively, you can remove the qgis.org stuff from your sources list, 
purge and autoremove the 3.4.4 packages, and install QGIS 3.4.6 from the 
ubuntugis-unstable ppa only.


HTH,
Andre Joost

Am 23.04.19 um 05:13 schrieb Zhang Qun:

Hi
I know Ubuntu16.04 is a bit old for QGIS now but since our software is all
built on Ubuntu16.04 so I tried to install QGIS 3.x on it. Below is my
tries but with no luck. Any help?

*1. using https://qgis.org/ubuntugis <https://qgis.org/ubuntugis>
repository*
$ sudo apt install qgis python3-qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-qgis

$ sudo apt install qgis python-qgis qgis-plugin-grass
The following packages have unmet dependencies:
  qgis-plugin-grass : Depends: +grass760 but it is not installable
E: Unable to correct problems, you have held broken packages.

*2. using http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
<http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu>*
$ sudo apt install qgis python3-qgis qgis-plugin-grass
Setting up qgis-providers (3.4.6+dfsg-1~xenial1) ...
/usr/lib/qgis/crssync:
/usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version
information available (required by /usr/lib/libqgis_core.so.3.4.6)
/usr/lib/qgis/crssync:
/usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version
information available (required by /usr/lib/libqgis_core.so.3.4.6)
/usr/lib/qgis/crssync:
/usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version
information available (required by /usr/lib/libqgis_core.so.3.4.6)
/usr/lib/qgis/crssync: relocation error: /usr/lib/libqgis_core.so.3.4.6:
symbol clCreateCommandQueueWithProperties, version OPENCL_2.0 not defined
in file libOpenCL.so.1 with link time reference
dpkg: error processing package qgis-providers (--configure):
  subprocess installed post-installation script returned error exit status
127

$ sudo apt install qgis python-qgis qgis-plugin-grass
The following packages have unmet dependencies:
  python-qgis : Depends: python-qgis-common (= 2.18.28+dfsg-1~xenial1) but
it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Best regards,
Zhang Qun



___
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] [Ubuntu] QGIS package broken on Ubuntu Bionic with UbuntuGIS PPA

2019-03-05 Per discussione Andre Joost

Am 05.03.19 um 07:19 schrieb Jürgen E. Fischer:



The qgis.org packages in the non-nightly repo are built on release and packages
and are not automatically rebuilt when dependencies changed - see the
note on

https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu

that also lists a couple of options to deal with this.




Another option is to disable the ubuntugis ppa immidiately after a QGIS 
point release until QGIS calls for newer versions from it.


Unfortunately, you can't go back to GDAL 2.3 once it is updated on 
ubuntugis unstable. Same goes for GRASS.


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

Re: [Qgis-user] Error when using poligonize (raster to vector)

2018-12-28 Per discussione Andre Joost

Am 28.12.18 um 15:58 schrieb Reginald:

Hi,

I have a heatmap mask tif file that I want to polygonize.
I use qgis 3.4.2 on Windows 7.
Every time I run the processing tool I get the message:
gdal_polygonize.bat is not recognised as an internal or external command
Seems like something about the path is missing?
I can't find gdal_polygonize in C:\OSGeo4W64\bin.


It should be there (.bat and .py). Maybe your GDAL installation is broken.

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

Re: [Qgis-user] Couldn't load SIP module. Python support will be disabled.

2018-12-22 Per discussione Andre Joost

Am 21.12.18 um 14:29 schrieb Giacomo Fontanelli:> Hi Andre
>
> thank you very much
>
> I don't understand, now I have sip 4.9.12.
>
> Do you suggest me to install the python sip 4.19.13 because it 
provides sip

> API 12.5 ??
>

No, you should have API 12.5 if you have python-sip v4.9.12

Try apt-cache policy sip-api* to see if it is listed.

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

Re: [Qgis-user] Couldn't load SIP module. Python support will be disabled.

2018-12-21 Per discussione Andre Joost

Am 21.12.18 um 11:08 schrieb Giacomo Fontanelli:

Hi forum

I just installed QGIS 3.4 in Lubuntu 18.10 64 bit using repositories.

When I lunch the application I immediately get an error message

Couldn't load SIP module.
Python support will be disabled.


Traceback (most recent call last):
   File "", line 1, in
   File "/usr/lib/python3/dist-packages/qgis/__init__.py", line 80, in
 import qgis.gui
   File "/usr/lib/python3/dist-packages/qgis/gui/__init__.py", line 27, in
 from qgis._gui import *
RuntimeError: the sip module implements API v12.0 to v12.4 but the
qgis._gui module requires API v12.5



This might be caused by the virtual package sip-py3api-12.5 which should 
be provided by python3-sip (4.19.12+dfsg-1) [universe] using the Ubuntu 
cosmic repo.


If you have python-sip (4.19.13+dfsg-1) from the debian sid repo, it 
provides only virtual sip-api-12.4 and that is not what QGIS is built 
against.


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

Re: [Qgis-user] CRS problem for OVR file

2018-12-18 Per discussione Andre Joost

Am 18.12.18 um 15:33 schrieb Antongeo76:



1 - a shapefile is composed of at least 3 files (*.shp; *.dbf; *.shx)
without one of these the file will never works and never will open in a GIS;



There are shapefile repair tools around that can recreate the .shx file.
A .dbf is not mandatory, you will just see no attribute table without it.

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

Re: [Qgis-user] CRS problem for OVR file

2018-12-18 Per discussione Andre Joost

Taimur,

both files lack any CRS information. For Shapefiles, this should be in 
the .prj file. Looking at the extent, it seems to be latlon degrees, 
placing it on a nature reserve in Central Oman (sorry I can't read the 
Arabic label on Openstreetmap, but bing imagery has AL Wusta around there).


BTW if you share shapefiles, add the .dbf/.prj/.shx files too.

The raster seems to be unreferenced. If you have a XML file containing 
metadata, it might contain the necessary CRS information. The .ovr alone 
is not enough.


Am 18.12.18 um 15:00 schrieb Taimur al said:

Hi all,

I have been trying to sort this issue im facing at the moment. I have
2 files, a Shp file and a OVR file (done using ArcGis). I used the
same CRS for both of them including the CRS on the canvas, but it
seems that they are not projecting in the correct place.

I have attached the Shp file and sent the OVR file in my next email
as the file is too large (WeTransfer.com). I prefer using Qgis 2.18

Can anyone help i would really appreciate it ,

Thank you and regards,

Taimur



___ 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] Installing either qgis 2.X and qgis 3.X

2018-12-18 Per discussione Andre Joost

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

Re: [Qgis-user] Getting QGIS 3.4 to install on Debian 9 (Stretch).

2018-12-03 Per discussione Andre Joost

Am 03.12.18 um 03:08 schrieb Patrick Dunford:

2.14 is the version supplied by the Debian distro's own repositories for
stretch. You need to make sure you are using the Qgis repositories to
access current versions of Qgis.

List the deb statements that refer to the Qgis repositories you are
using (either /etc/apt/sources.list or any .list files in
/etc/apt/sources.list.d)

For example on my computer I added these lines to the end of
/etc/apt/sources.list:

deb https://qgis.org/debian/ stretch main
deb-src https://qgis.org/debian/ stretch main



You might need to add the QGIS key as well. Otherwise debian does not 
trust the qgis repo and takes its own qgis version:

https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
"In case of keyserver errors add the qgis.org repository public key to 
your apt keyring, type:"


Anyway, "sudo apt-cache policy qgis" should tell you what is available 
for you.


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

Re: [Qgis-user] upgrading 2.12 to 3.4

2018-12-03 Per discussione Andre Joost

Am 03.12.18 um 08:38 schrieb Patrick Dunford:



You should at least:

apt remove qgis python-qgis qgis-plugin-grass

apt autoremove

apt update

apt install qgis

then see what messages you get.


or type "sudo apt-cache policy qgis".

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

Re: [Qgis-user] [ubuntu] Error when starting QGIS

2018-11-22 Per discussione Andre Joost

Am 22.11.18 um 11:45 schrieb Martin Weis:

Am 22.11.18 um 09:47 schrieb psantana:

I installed via apt-get the latest version of QGIS following this
documentation:
https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu

qgis=1:3.4.1+28bionic
ubuntu version: 18.04

When starting to start the app I get this exception:

$ qgis
/usr/bin/qgis.bin: relocation error:
/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5: symbol
_ZTI20QOpenGLShaderProgram version Qt_5 not defined in file libQt5Gui.so.5
with link time referenc>
I have installed these packages: qgis python-qgis qgis-plugin-grass

Do you guys know where is the problem?


Not exactly, but did you add the ubuntu-gis non-ltr ppa?

Below is my qgis.list with all entries to quickly change between LTR and
3.4 versions by switching
deb https://qgis.org/ubuntugis xenial main
vs.
deb https://qgis.org/ubuntugis-ltr xenial main

You need also to change xenial to bionic everywhere.



No. Not yet.

Ubuntugis can be used only for xenial. The Ubuntugis ppa has currently 
no bionic package for gdal, so there is no bionic package in 
https://qgis.org/ubuntugis/. You need to stick to the 
https://qgis.org/ubuntu/ repo.


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

Re: [Qgis-user] Off topic Monteverdi 3.x

2018-11-08 Per discussione Andre Joost

Am 08.11.18 um 05:23 schrieb Eddison Araya:

Hello! Does anyone know where to download the Monteverdi 3.x Software?

In the following link it is indicated that a new version 3.x comes out: *
https://www.orfeo-toolbox.org/orfeo-toolbox-5-2-1-and-monteverdi-3-0-1-are-out/
<https://www.orfeo-toolbox.org/orfeo-toolbox-5-2-1-and-monteverdi-3-0-1-are-out/>*

The most I have found are the following links, but I only find the
Monteverdi 2.x.

Do you know where to download Monteverdi 3.x?



Did you visit https://www.orfeo-toolbox.org/download/ ?

It seems that osgeo4w does not package current otb and monteverdi 
builds, but the binaries in the given link work.


Monteverdi version numbers are now in sync with otb, and Windows 
binaries contain both.


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

Re: [Qgis-user] how does QGIS generate the EPSG from a Shapefile?

2018-10-25 Per discussione Andre Joost

Am 25.10.18 um 16:00 schrieb ralfwessels:

Hi Rodrigo,

Only if the shapefiles contain a prj-file (with the right informations about
the coordinate system) QGIS opens it automatically correct.



Not necessarily with the correct EPSG code. If there are several EPSG 
codes with (almost) similar parameters, QGIS takes the first it finds.


Especially EPSG:3857 is a candidate for false detection.

If the shapefile was created with QGIS, it has a .qpj file with the EPSG 
code number stored inside. If the shapefile was created with some other 
software, QGIS has to guess.


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

Re: [Qgis-user] Cannot downgrade plugin

2018-10-10 Per discussione Andre Joost

Am 10.10.18 um 14:40 schrieb Tyler Veinot:

I am using GISwater, a QGIS plugin for water and sewer networks, and I
decided to try the 3.1 development version and decided to roll back to 2.1.
The rollback for the software and database worked fine but when I try to
install the 2.1 plugin qgis keeps installing the 3.1 plugin. The 2 plugins
have 2 different repositories and even when I delete the 3.1 repo qgis
still installs the 3.1 plugin giving me a warning that my version is higher
than the repos. Downgrade wont work either. How can I get rid of whatever
is holding qgis to that plugin?
Tyler

3.1 Repo https://download.giswater.org/plugin/3.1/giswater.xml
2.1 Repo https://download.giswater.org/plugin/giswater.xml



The last link should be 
https://download.giswater.org/plugin/2.1/giswater.xml


As far as I can see, it is a zip file which has to be expanded in the 
right folder of your C:/users/username/.qgis2/python/plugins folder.


Make sure you don't have the 3.1 version there anymore.

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

Re: [Qgis-user] Problem updating QGIS under debian stretch.

2018-09-20 Per discussione Andre Joost

Am 20.09.18 um 12:23 schrieb Torbjorn Wictorin:

Hello,

I have QGIS (1:3.3.0+git20180912+d7fb5f) under Debian stretch (stable).
It is installed from
deb http://qgis.org/debian-nightly stretch main

When I to apt dist-upgrade, apt suggests removing qgis.

qgis depends on qgis-common (= 1:3.3.0+git20180918+d99d506+14stretch) but
this depends on qml-module-qtcharts. It seems to be no packet
qml-module-qtcharts under stretch. It is, however, in Buster (testing) and Sid
(unstable).

I guess that qgis.org/debian-nightly:stretch needs a
qml-module-qtcharts, or, maybe, qgis-common should not refer to it (?).



See 
https://lists.osgeo.org/pipermail/qgis-developer/2018-September/054547.html


and wait for the next nightly.

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

Re: [Qgis-user] How to create a website to display a QGIS project

2018-08-29 Per discussione Andre Joost

Am 29.08.18 um 11:53 schrieb Pascale Le Hel:

Thank you Andre for your response ! How is it easy to use the
Openlayers build, as I am a first user and not a developer? Do you
think it takes long to create and would I need some programming
skills ? Many thanks, Pascale



Please answer to the list, for the benefit of all readers.

For the qgis2web plugin, you need no programming skills, just try it out.

If you want to have the output modified, you can ask here or at 
gis.stackexchange.


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

Re: [Qgis-user] How to create a website to display a QGIS project

2018-08-29 Per discussione Andre Joost

Hi Pascale,

Am 29.08.18 um 10:10 schrieb Pascale Le Hel:

Hello, I have never used QGIS so far, but I am wondering if I can use
it to then create a webGIS (exporting the layers created in QGIS to
display them on a web platform). I saw this plugin 'QGIS2web': does
it create a web GIS to display the data online or do I need to use a
(free) website builders like Wix to create a WebGIS?


I just did my first WebGIS page with qgis2web. You can visit it at 
http://karte.nrwbahnarchiv.bplaced.net/


I used the Openlayers build, because it has some better symbolizing than 
the leaflet one. I added some features like URL parameters and WMS 
basemaps (instead of WMS layers) myself. The vector layer data is stored 
as geojson files.


You surely need a web hoster (I use a free account at bplaced), but no 
online database or server management is required. An ftp access is the 
only thing you need.


You can even add your own tiles if you render them on your PC and uplaod 
them to the usual folder structure on your webspace.


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

Re: [Qgis-user] Keep both qgis2.18 and qgis3.0.2 on Debian machine?

2018-08-06 Per discussione Andre Joost

Am 06.08.18 um 09:05 schrieb Agustin Lobo:

Is it possible (and advised) to keep coexisting both qgis2.18 and
qgis3 on the same Debian testing machine?
How? I understand that if I just use Synaptic
to upgrade, qgis2.18 will be removed.


You can only have both if you put one in a virtual machine. With shared 
folders you can still use the same data files.


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

Re: [Qgis-user] Problem with qgis.org/debian repo

2018-08-06 Per discussione Andre Joost

Am 06.08.18 um 09:04 schrieb Agustin Lobo:

On a Debian testing (buster) machine, I have the following problem to
install qgis3
(only qgis2 available in standard Debian repos afaik)

After including
deb https://qgis.org/debian buster main
deb-src https:://qgis.org/debian buster main


There is surely one : too much in the last line, but I don't know if 
that's what apt complains about.


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

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

2018-07-17 Per discussione Andre Joost

Am 17.07.18 um 03:58 schrieb Patrick Dunford:


1. The repositories labelled "debian" are for both Debian and Ubuntu -
you specify the release name in the deb statement which supports release
names for both distros.


Not very intuitive for new users :-(



2. You need to check error messages from the apt command if you get an
error when installing from an https repository. For example you may need
to install the package apt-transport-https to enable apt to work with
https repositorities. This is not an issue with the repository, it is an
issue with apt. The error message in this case is pretty descriptive as
to what is needed.



If apt does not name the encountered problems, try aptitude. You might 
have to install that first.


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

Re: [Qgis-user] Georeferencing a vector in dxf with no data

2018-07-11 Per discussione Andre Joost

Am 11.07.18 um 11:42 schrieb daniel pinto:

I have a dxf with a vector that represents a protection area around a city,
and i alsk have the gc points in utm... is it possivel to georeference the
vector like the georeferencer does with jpgs to add to the project???



Maybe not (yet) in QGIS, but GDAL ogr2ogr can handle -gcp to convert 
from ungeoref_x/y to georef_x/y:


http://www.gdal.org/ogr2ogr.html

Just try it out on the OSGEO4W shell command line.

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

Re: [Qgis-user] Saving a CRS EPSG 4326 project as CRS EPSG 3857

2018-07-08 Per discussione Andre Joost

Hi Patrick,

Am 07.07.18 um 06:52 schrieb Patrick Dunford:



However at the moment there is a problem with the coordinates that are
displayed at the bottom of the map canvas window. The coordinates being
displayed are EPSG:4326 coordinates, not the ones for EPSG:3857 that I
have changed the project properties into.


In the Project Properties, have a look in the Gerenral tab. You can set 
the coordinate display either todegrees or map units. For EPSG:4326 it 
was the same, for EPSG:3857 it is different.




Furthermore I have looked in the project's source file and found it
still references EPSG:4326 within the file. Specifically the section
containing this reference. This section is near the bottom of the
project file.


   
 
 
   
 
 
 false
 
 
   EPSG:4326
   1
   3452
   +proj=longlat +datum=WGS84
+no_defs
 



It might be necessary to re-add the WMS to your project using the new 
project CRS, or the WMS does not offer EPSG:3857.


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

Re: [Qgis-user] Plugins repository unavailable for 2.18?

2018-05-26 Per discussione Andre Joost

Am 26.05.18 um 10:36 schrieb Richard Duivenvoorde:

On 26-05-18 09:21, Phil Wyatt wrote:

I did  fresh installs of 2.18 and 3.0 on a new computer today and both
have the repository listed as
https://plugins.qgis.org/plugins/plugins.xml  - both work fine for me
and show the correct plugins for each version. Maybe it’s just the extra
?qgis=2.18 is the bit that has been changed?


Nope, never changed. Unless confirmed somewhere else, I consider this
noise :-)



The 2.18 repo throws an error if you put it in a browser due to an error 
in the description of the Indicatrix mapper plugin.


But it seems to work within QGIS.

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

Re: [Qgis-user] QGIS 3 clipping raster with a polygon - problem

2018-05-24 Per discussione Andre Joost

Am 24.05.18 um 15:25 schrieb David Addy:

Hi Nyall,
Thanks very much for looking at this.
The two versions are as follows:

 From QGIS 2.18.16 I get:
gdalwarp -q -cutline "D:/My Pictures/QGIS Projects/Payne
calibration/payne_clipper.shp" -tr 0.639640252898 0.639640252898 -of GTiff
"D:/My Pictures/QGIS Projects/Payne calibration/payne_modified.tif" "D:/My
Pictures/QGIS Projects/Payne calibration/p_clipped_Q2A.tif"

 From QGIS 3.0.2 I get :
gdalwarp -ot Float32 -of GTiff -cutline path_to_data_file -crop_to_cutline
-dstnodata 0.0 "D:\\My Pictures\\QGIS Projects\\Payne
calibration\\payne_modified.tif"
C:/Users/DJAddy/AppData/Local/Temp/processing_fd479b6503d44fbcb53887e62e4cf315/f36463c35cc34f29b240d30ad811d6fd/OUTPUT.tif



You can put these commands into .bat files and run them in the OSGEO4W 
shell. You might get error messages you don't see inside QGIS.


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

Re: [Qgis-user] Problem georeferencing images in UTM

2018-05-19 Per discussione Andre Joost

Am 18.05.18 um 22:30 schrieb Nicolas Cadieux:

Hi,

NAD27 does touch the northern part of South America but you are correct
in saying that it does not extend in Brazil.


Note that +datum=NAD27 redirects to the US/Canadian grid shift files 
which do not even cover Central America.


See 
https://gis.stackexchange.com/questions/124322/reprojecting-between-nad27-and-wgs-84-part-iii 
for a visualization.


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

Re: [Qgis-user] no python console in QGIS 3 Ubuntu 17.10

2018-04-15 Per discussione Andre Joost

Am 15.04.18 um 09:07 schrieb Richard Duivenvoorde:



Feel free to do it! But do not underestimate the complexity of all
the different setups, exclusions, possibilities etc etc... The
different setups are there for example because one has latest
versions of software, and another one only the stable versions etc
etc.

If you can get your head around it, AND do a human write-up that
would be great. Note that this page has gone over a lot of iterations
already:



I think it would be better to let the computer tell the user what he 
**can** have. Like the OSGEO4W installer. I added a comment on the 
Github page https://github.com/qgis/QGIS-Website/issues/509.


So the user would not add certain repos depending on his OS, but just an 
installer that evalutes the needed repos, ppa's and keys.


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

Re: [Qgis-user] Ubuntu 14.04 debian-ltr install fails with "gnutls_handshake() failed: Handshake failed"

2018-04-10 Per discussione Andre Joost

Am 09.04.18 um 20:00 schrieb co...@froggatt.com:

Hi.  I am trying to install QGis for the first time on Ubuntu Trusty
14.04. I am getting the following error when running apt-get update,
"gnutls_handshake() failed: Handshake failed" (see console log
below) I have followed instructions from
https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu and
added following entries to /etc/apt/sources.list deb
https://qgis.org/debian-ltr trusty main deb-src
https://qgis.org/debian-ltr trusty main


$sudo apt-get update... Ign https://packagecloud.io jessie/main
Translation-en_GB Ign https://packagecloud.io jessie/main
Translation-en Ign https://qgis.org trusty InRelease Ign
https://qgis.org trusty Release.gpg Ign https://qgis.org trusty
Release Err https://qgis.org trusty/main Sources gnutls_handshake()
failed: Handshake failed Err https://qgis.org trusty/main amd64
Packages gnutls_handshake() failed: Handshake failed Err
https://qgis.org trusty/main i386 Packages gnutls_handshake() failed:
Handshake failed Ign https://qgis.org trusty/main Translation-en_GB
Ign https://qgis.org trusty/main Translation-en W: Failed to fetch
https://qgis.org/debian-ltr/dists/trusty/main/source/Sources
gnutls_handshake() failed: Handshake failed


Looks like an SSL problem.

Make sure to have all updates from the main ubuntu repo installed before 
trying to install QGIS.


And maybe update from trusty to xenial.

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

Re: [Qgis-user] qgis,bat starts with 2.18 instead 3.0

2018-04-06 Per discussione Andre Joost

Am 06.04.18 um 11:51 schrieb Patrick Dunford:

If you expect to double click a project file and Qgis opens, then only
one version of Qgis can be registered for .qgs file extension at a time.


True, but you can switch that at any time:

https://gis.stackexchange.com/questions/273742/set-qgis-2-18-as-default-on-win-with-both-2-18-and-3-0/273764#273764

You can create links to the variuos .reg files on your desktop and 
switch to 3.0 and back with one click.





I am sure this is the same on most OSs.



On Linux, you can't even install several versions in the same OS 
(without using a virtual box guest system).


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

Re: [Qgis-user] Snapping not working properly

2018-03-07 Per discussione Andre Joost

Am 07.03.18 um 13:53 schrieb Jonathan Webb:

Hello,
QGIS  2.18.6 on Linux Mint 18.1

Snapping doesn't seem to be taking any notice of the settings in the
dialogue box:

It is only snapping to one layer - this is set to "0 map units" and is
not selected as a snapping layer.



0 map units is almost nothing, therefore it will not snap.

Try 10 pixel and select the layer, and it will work as expected.

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

Re: [Qgis-user] QGIS 2.18.X and QGIS3

2018-03-07 Per discussione Andre Joost

Am 07.03.18 um 15:51 schrieb Tyler Veinot:

Anyone having issues with Python after installing the new QGIS3? My OSGeo4w
shell only sees the Python27 install and my windows cmd only sees the
python36 install. When I type python in OSGeo4W I get 2.7.X and a
readout of where it is installed and such, the usual. When I type Python in
my windows cmd I get the program could not start because python36.dll is
missing from your computer. Using the 64bit OSGeo4W package, btw.
When in QGIS3 if I put in print(sys.version) in the python codeblock I get
a readout saying I am in Python 3.6. QGIS 2.18.X LTR seems to be using
Python 2.7.XXX
My question is, is this normal? Is the python packaged with QGIS3 somehow
(locked) because it is an early release and not 100% ready? or do I need to
do something to switch from one Python to another that I am not doing?


If you type set in the OSGEO4W shell, you see the PYTHONHOME variable 
set to C:\OSGEO4W\apps\Python27. So you run Python.exe from Python27.


Just type py3_env inside the shell, and the variable is reset to the 
Python36 folder. So python.exe is now started from there.


In a simple Windows terminal python will not run in either case, because 
the environment is only set correctly when starting the OSGEO4w shell.


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

Re: [Qgis-user] Pseudo Mercator(OSM) @ EPSG:4326 bug?

2018-03-05 Per discussione Andre Joost

Am 05.03.18 um 09:38 schrieb Idan Miara:

  Hi,

I might have found a bug related to transformation of layer CRS from EPSG:3857
(Pseudo Mercator) to EPSG:4325 (WGS84 Geo).
I'm attaching a few images to demonstrate the issue.

Steps to reproduce:
I've load OSM in QGIS 2.18.16 (or 3.0,same results)
via Tile Server (XYZ):
https://a.tile.openstreetmap.org/{z}/{x}/{y}.png

Then set the CRS to EPSG:4326 (WGS84 Geo)

I've also loaded a global bounds vector layer (EPSG:4326)



Does the vector layer contain the north or south pole? EPSG:3857 does 
not like that (it would be in infinity). The same might happen if you 
request tiles beyond 85°N/S.


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

Re: [Qgis-user] GRASS plugin in QGIS

2018-02-22 Per discussione Andre Joost

Am 22.02.18 um 16:41 schrieb Siwei He:

Hi Andre,

Thank you for your information. Could you please tell me how to
downgrade GRASS to 7.2. I have tried to install GRASS722, but it is said
that no available package candidate. I also find the repository for
GRASS 7.2 'sudo add-apt-repository ppa:ubuntugis/ubuntugis-stable', but
I cannot add it to my repository.



The best advice is not to update GRASS unless a new point release 
version of QGIS has been compiled.


ubuntugis stable has GRASS 7.2.2 for Trusty , see 
https://launchpad.net/~ubuntugis/+archive/ubuntu/ppa/


If you have already installed a newer version, you have to remove and 
purge the downloaded packages, then run sudo apt-cache policy GRASS to 
see what is available for you.


Or take QGIS 2.14 and GRASS 7.4 from ubuntugis unstable by disabling 
qgis.org.


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

Re: [Qgis-user] GRASS plugin in QGIS

2018-02-22 Per discussione Andre Joost

Am 22.02.18 um 05:57 schrieb Siwei:

Hi All,

I found that my GRASS plugin in QGIS is not available. I cannot find the
GRASS plugin under the 'Manage and Install Plugins ...'. Do you have any
suggestion on how to install it? My OS is Linux Mint 17, QGIS is
2.18.16, and GRASS is 7.4.



QGIS 2.18.16 is not (yet) compiled to run with GRASS 7.4.

If you can downgrade GRASS to 7.2, the plugin might work.

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

Re: [Qgis-user] "handshake failed"

2018-02-18 Per discussione Andre Joost

Am 17.02.18 um 21:00 schrieb Denis White:

I'm getting the message "handshake failed" with these repository entries:

deb https://qgis.org/debian trusty main
deb-src https://qgis.org/debian trusty main





Thanks for any help,



Looks like an SSL problem. Installation on mint 18.2 worked for me (some 
time ago though).


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

Re: [Qgis-user] which version?

2018-01-27 Per discussione Andre Joost

Am 27.01.18 um 00:40 schrieb Dave Stevens:

I've got Mint 18.03 on my new laptop and want to install qgis to try it
out. Which download should I use? x86_64 kernel 4.13.0-32 generic



You can try QGIS 2.18.15 :

https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu

Just add "deb https://qgis.org/debian xenial main" to your sources,and 
import the key as described on the site:


sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 
CAEB3DC3BDF7FB45


If you are more advanced, you can try the ubuntugis version, which will 
bring you GDAL 2.x. The nightly version also needs ubuntugis, but is not 
very stable at the moment.


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

Re: [Qgis-user] Using custom projections/transformations from a PROJ.4 init-file

2018-01-12 Per discussione Andre Joost

Am 12.01.2018 um 11:24 schrieb Kristian Evers:

Hi,

I am trying to define my own "custom projection" by using a PROJ.4
init-file. The reason I want to do that is that I only want to
maintain the projections/transformations that I need  in one place
instead of many. I find the process a bit frustrating since at first
glance it seems to be working, but then when I try to save it and
close the custom projection dialog I am told that the definition is
invalid. As it can be seen on the screenshot below, when I enter the
PROJ.4 parameters - in this case
"+init=C:\dev\NordicTransformations\resources\DK:UTM32N" - the test
works fine but when I try to save it, I am presented with the message
below. Since the test works the problem is not that the file can't be
found - it is something else.

I experience the same behavior in both QGIS2 and QGIS3. Is this the
intended behavior? Is it by design that I am not able to use
init-files or is this simply a bug? Is there a known workaround?

[cid:image001.png@01D38B96.E25BF930]

There is no errors in the projection setup in the init-file, which
the working test transformation proves. The init file in question can
be seen here:
https://github.com/NordicGeodesy/NordicTransformations/blob/master/resources/DK.
I am aware that I can just add the definition of the CRS directly, or
simply use epsg:25832. That is not the point. I have other more
esoteric transformations in the same file that is more complicated to
manage in QGIS itself.

I appreciate any advice and guidance. If this indeed is a bug I will
gladly help fix it.


QGIS (via GDAL) needs a working inverse projection to be defined. Many 
exotic projections defined in PROJ.4 fail therefore.


I guess the +proj=pipeline definitions spoil that requirement. I'm not 
even sure if those work in command-line GDAL.


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

Re: [Qgis-user] sip-api-11.2 and qtbase-abi-5-5-1 prevent installing qgis 2.99 nightly on kde neon / ubuntu 16.04

2017-12-31 Per discussione Andre Joost

Am 31.12.2017 um 15:55 schrieb Jason Paul Joines:



 I did downgrade python-sip to version 4.17+dfsg-1build1 from
the main Ubuntu repositories.  I still get the same error at qgis
install about sip-api-11.2 having no installation candidate.

 Downgrading libqt5core5a would require downgrading my entire
desktop.  I'm not willing to do that.

 Perhaps I could rebuild both libqt5core5a and python-sip so
that they will both claim to provide the missing virtual packages even
in their current versions.




You could try building fake packages as described in 
https://gis.stackexchange.com/questions/216780/cannot-install-qgis-2-18-from-repository-on-debian-stretch-package-gdal-abi-2/233830#233830


(with no warranty from my side)

HTH,
André 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

Re: [Qgis-user] sip-api-11.2 and qtbase-abi-5-5-1 prevent installing qgis 2.99 nightly on kde neon / ubuntu 16.04

2017-12-30 Per discussione Andre Joost

Am 31.12.2017 um 02:19 schrieb Jason Paul Joines:


#

 I also have a newer version of python-sip, which is supposed to
provide sip-api-11.2:

# dpkg -l python-sip
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version
Architecture   Description
+++-==-==-==-=

ii  python-sip 4.19.2+dfsg-1+16.04+xenial+bui
amd64  Python/C++ bindings generator runtime
library


I guess the newer version spoils your installation. My Xenial 
installation is build against python-sip 4.17 from the main ubuntu repo, 
and works fine.


It might be that python-sip 4.19.2 includes a different version of 
sip-api, which is of no use for you.


Try to downgrade python-sip, and libqt5core5a as well, which comes as 
5.5.1 from the main repo for me.


If KDE Neon does not provide it, try to force the main ubuntu repo version.

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

Re: [Qgis-user] QGIS doesn’t search for shp vector layers

2017-12-05 Per discussione Andre Joost

Am 05.12.2017 um 06:05 schrieb Sarah:

In the past, when I went to open a vector layer, QGISautomatically
found shape files. Then I changed the option to MapInfo to opensome
MapInfo files. Now the browse dialogue doesn’t give me an option to
find .shpfiles. If I navigate to a folder including shape files, the
open vector browse boxshows it as empty. I can manually find the
shape files by typing *.shp into thedialogue box (open vector\browse)
and then it shows them, but next time I go toopen another vector
layer it reverts to the last file format I set (MapInfo)and I have to
keep typing in *.shp to get it to hunt for shape files. Thedialogue
box doesn’t have an option to search for all file formats nor
anoption to go back to searching for ESRI shape files. How can I make
it go backto the default behaviour where it automatically found .shp
files without mehaving to type in *.shp every time I want to find a
shape file? I am using QGIS2.18.2.



From the top menu, select Layer -> Add Layer -> Add Vector Layer, then 
click on Browse.


At the bottom of the form, you should have an input box labelled file 
name, and right to it a filter dropdown box. The long list starts with 
"All files (*.*)", "ESRI Shapefiles" some rows below, and ends with 
"X-Plane/Flightgear". Unfortunately, there is no vertical scroll bar (at 
least on Windows). You need a mouse wheel to see the filetypes not 
visible. Without a mouse wheel you have to use cursor up and down to see 
the rest of the list.


Once you have selected "ESRI Shapefile", it will be remembered for the 
next use of that form. Same as you have chosen Mapinfo.


HTH,
André 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

Re: [Qgis-user] ubuntugis: Broken after update to 2.18.14

2017-11-25 Per discussione Andre Joost

Am 24.11.2017 um 23:55 schrieb Bernd Vogelgesang:

Am 24.11.2017, 20:11 Uhr, schrieb Angelos Tzotsos :


Hi,

We updated GDAL in UbuntuGIS yesterday so QGIS packages need to rebuild.

Cheers,
Angelos



Hi Angelo,
is there any chance that you could synchronize your efforts a little bit?

It's really strange that shortly after the new QGIS point release, the
dependencies get changed.
If this would happen just once in a while, I wouldn't complain at all.
But this feels more like coordinated chaos ;)



My workaround is Ubuntu artful in a virtual box, which installs 
qgis-nightly without complaints.


HTH,
André 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

Re: [Qgis-user] Greek characters in attribute table

2017-11-05 Per discussione Andre Joost

Am 05.11.2017 um 17:12 schrieb Tilemachos Moymoyris:

Greetings from Greece,I would like to ask a very common question
about greek and attribute table. I run win10 32bit and Qgis 2.18.14.
When i download shapefiles from geodata.gov.gr i am not able to view
names in attribute table in greek. I get only questionmarks. I have
tried changing the encoding when opening the file and also i have
tried to open the dbf file and change the encoding there. I cannot
view neither in the dbf file the correct characters.



In the layers properties, you have to change the encoding from "System" 
or "utf-8" to "Greek" or "ISO-8859-7".


HTH,
André 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

Re: [Qgis-user] NAD27 to NAD83

2017-10-28 Per discussione Andre Joost

Am 27.10.2017 um 21:25 schrieb Tyler Veinot:

 We determined that
it is because PROJ4 assumes gridshifts are always from X datum to WGS84,
but NAD83 uses GRS80 so my question is, is there a way around this?
Should I use a NAD27 to WGS84 gridshift and let QGIS reporject it to NAD83
CSRS? Or is QGIS running on the notion that the 2 are coincidental?


All NAD83 CRS inside QGIS have +towgs84=0,0,0,0,0,0,0 , so NAD83 and 
WGS84 are treated as identical. You have to build a custom CRS if you 
want to apply a NAD83 shift from WGS84.


HTH,
André 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

Re: [Qgis-user] NTV2 Grid Shits

2017-10-25 Per discussione Andre Joost

Am 24.10.2017 um 22:42 schrieb stevejking:

Tyler,
  NAD27 and ATS77 don't seem to share the same ellipsoid.
spatialreference.org lists ATS77 as
+proj=sterea +lat_0=47.25 +lon_0=-63 +k=0.12 +x_0=70 +y_0=40
+a=6378135 +b=6356750.304921594 +units=m +no_defs

It's missing a +towgs84= or +nadgrids= BUT Notice the ellipsoid a and b
parameters do not match the NAD27 clarke66 ellipsoid. So a nadgrids shift
file for NAD27, will not work for ATS77.



See 
https://knowledge.safe.com/articles/815/datum-and-grid-shift-for-canadian-provinces-new-br.html 
and 
https://knowledge.safe.com/articles/789/where-to-source-canadian-grid-shift-files-not-incl.html


HTH,
André 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

Re: [Qgis-user] NTV2 Grid Shits

2017-10-20 Per discussione Andre Joost

Am 20.10.2017 um 14:31 schrieb Tyler Veinot:

Anyone knowledge in using grid shift files (gsb) with QGIS?
I have a local CRS NAD27 Double Stereographic Imperial that I need to
transform to NAD83 CSRS 2010 Epoch. I have the CRS properly defined using
the provincial description


Can you add your custom CRS? Maybe you have +datum=nad27 which uses the 
main nadcon transformation file. use +ellps=clrk66 
+nadgrids=/path/to/your/file


 but QGIS using its Clark 1866 to GRS80

transformation puts the points a little off from the NTV2 coordinate
transformation software we have. I have the GSB used (even though it says
ATS77 the provincial geomatics guys tell me it shits NAD27 and ATS77 into
CSRS 2010 NAD83). I followed some directions on putting the file in a
specific folder and restarted QGIS set the settings to always ask for grid
shift file for transformations yet I do not see the one I put in there in
my list to pick from.


Can you explain where that setting should be?



I also tried to install a plugin for NTV2 transformations but cannot
activate it. When I go to Activate Additional Providers in my Processing
Toolbox where NTv2 Datum Transformations resides I get the "Specified Path
does not exist: C:\PROGA~1\QGIS~1.18\bin" error that I have not yet managed
to resolve. To my understanding has something to do with GRASS plugins and
past versions of QGIS.


You can workaround that GRASS error by creating that folder, or changing 
the folder entry for GRASS 7 to an existing folder.
But to use your grid in the plugin, you would need some python code 
around it, like the other grids have in 
C:\Users\\.qgis2\python\plugins\ntv2_transformations

Without that processing would not know about your grid.

HTH,
André 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

Re: [Qgis-user] GRASS plugin

2017-10-12 Per discussione Andre Joost

Am 12.10.2017 um 05:53 schrieb Siwei He:

Since I am running Linux mint, it is Ubuntu 16.04 or older. Is that
possible to have a solution on this issue.



Either remove QGIS completely and switch from ubuntugis to the QGIS 
debian repo, or wait until QGIS 2.18.14 is released later this month.


HTH,
André 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

Re: [Qgis-user] All attribute info GONE!

2017-10-05 Per discussione Andre Joost

On 2017-10-05 07:35, Merryn Delaney wrote: Hello, Thank you for the

prompt reply. These are the files that she deleted.. .cpg .
(blank) .prj .qpj .empty .shx

How is it possible that she deleted all files and that the /dbf are
completely gone??


The .shx file is essential to combine geometry and attribute table data.

If the .dbf has been moved or overwritten, it would not land in the 
Windows bin.


There are shapefile recovery tools linked in 
http://support.esri.com/en/technical-article/07161 which can recover 
the geometry at least.


If that fails, you would have to rely on backups (which you should make 
frequently on important data).


HTH,
André 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

Re: [Qgis-user] GRASS support lost (again) on Ubuntu/Mint

2017-09-28 Per discussione Andre Joost

Am 27.09.2017 um 19:21 schrieb Alex M:



Ah that makes sense, if qgis.org builds against ubuntugis, then GRASS
updates will always cause this, since a rebuild of qgis.org is not
triggered.



The same applies to GDAl (and maybe PROJ if the planned improvements 
come on the way).


>
> Seems like some logistics could be worked out.
>

As a end-user-friendly solution, it would be great if ubuntugis could 
leave a copy of the last build on the server. This could be limited to 
the most-critical packages.


This works good in OSGEO4W in case any package causes unwanted corruption.

Greetings,
André 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

Re: [Qgis-user] ubuntugis-nightly: No providers for GRASS and SAGA in Processing?

2017-09-28 Per discussione Andre Joost

Am 27.09.2017 um 17:14 schrieb Bernd Vogelgesang:

Hi,
just installed the development version on Ubuntu xenial from
ubuntugis-nightly repository.
In processing, there are only the qgis algos, but no grass nor saga. In
the settings, there is nothing shown about them.
Do I miss sth, or are the other providers not included yet?



Do you get any error messages in the log panel?

I have QGIS 2.18.13 and broken GRASS 7.2.1 installed, the GRASS plugin 
is missing, but my processing contains GRASS 6+7 algos.


So no direct influence with the other GRASS problem.

It might be worth a try using a VM with a more recent Ubuntu distro and 
QGIS nightly (without ubuntugis), and keep QGIS 2.18 in the host OS 
(with or without ubuntugis).


Greetings,
André 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

Re: [Qgis-user] GRASS support lost (again) on Ubuntu/Mint

2017-09-27 Per discussione Andre Joost

Am 27.09.2017 um 18:57 schrieb Alex M:


My recommendation is that you do not upgrade QGIS as soon as the update
shows up but wait a day or two. Make sure the corresponding GRASS update
is available.



In this case, QGIS 2.18.13 worked for just one day, then GRASS got 
updated and broke the qgis plugin. If you'd refused the GRASS update, it 
would still work. There is nothing that the ubuntugis maintainers could 
do for it now.


So lets hope that QGIS 2.18.14  may live longer.

Greetings,
André 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

Re: [Qgis-user] GRASS support lost (again) on Ubuntu/Mint

2017-09-27 Per discussione Andre Joost

Am 27.09.2017 um 11:19 schrieb Patrick Dunford:

There is also a problem with a missing key for the ubuntugis
repositories (089EBE08314DF160). There are no instructions provided on
where the key can be obtained.




If you talkabout the ubuntugis ppa, you can read the instructions on
https://launchpad.net/~ubuntugis/+archive/ubuntu/ppa/

by clicking on "Technical details about this ppa", than "What is this?"

The way to get the key for QGIS repos (ubuntugis and debian) is 
described here:


https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu

following "Alternatively you can download ".

HTH,
André 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

Re: [Qgis-user] GRASS support lost (again) on Ubuntu/Mint

2017-09-27 Per discussione Andre Joost

Am 26.09.2017 um 21:04 schrieb Patrick Dunford:



If you can actually state where abouts in the Ubuntugis repository the
actual packages that will make 2.18.13 work on Ubuntu 16.04 are because
they are not in the regular Ubuntugis repository.


GRASS 7.2.1 for xenial is now in the Ubuntugis (stable) PPA:

https://launchpad.net/~ubuntugis/+archive/ubuntu/ppa/

Unfortunately, you need libgdal-grass as well, but this is built on GDAL 
2.1.3, but QGIS is built on GDAL 2.2.1.


If you force the older GDAL, QGIS will get removed, so the situation is 
dead-locked for now.


You may wait to let the devs fix it, or switch to the QGIS debian repo 
(returning to GDAL 1.11.3).


HTH,
André 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

Re: [Qgis-user] GRASS support lost (again) on Ubuntu/Mint

2017-09-26 Per discussione Andre Joost

Am 26.09.2017 um 15:30 schrieb Patrick Dunford:


The issue with support for Xenial is not directly a Qgis responsibility.
It is relying on (a) the lack of support from the Ubuntu official
repositories and (b) the lack of timely updating of the third party
Ubuntugis repository. Neither of those is under the control of Qgis.


For that reason, QGIS has a debian repo that works without any ubuntugis 
stuff. But you will not have GDAL 2.x on Xenial, and only GDAL 2.1 on zesty.





The only versions of Qgis that require Ubuntugis are those built for
Xenial and earlier versions of Ubuntu. It is not required for later
versions of Ubuntu as the required packages are included in those
distros standard repositories.


Ubuntugis only supports Ubuntu LTS versions: currently precise, trusty 
and Xenial. They provide up-to-date GDAL and other packages that don't 
get updated on the main Ubuntu repo for variuos reasons. Newer versions 
of Ubuntu have newer versions of GIS packages.





So if you have an issue that is caused by Ubuntugis then one possible
solution is to have a distro that is based with a later version of
Ubuntu than Xenial. Linux Mint 18.x is based on Xenial. When Mint was
first launched they used to be up to date with releases based on up to
date Ubuntus, now they are falling so far behind that the latest Mint,
18.x, is based on Xenial.


Linux Mint usually takes every ubuntu LTS version, and applies their 
stuff on that.




Since Xenial, Ubuntu has released Yakkety,
Zesty and is about to release Artful.


These are non-LTS, with only half-year support. Linux Mint has released 
18.1 and 18.2 in the meantime, so no "falling behind".





I have verified that Qgis 2.18.13 runs without any problems with this
GRASS plugin on Ubuntu 17.04 and Debian 9.1. None of these require
Ubuntugis and I have not used it in the list of repositories for
installing the software from.


But you are at GRASS 7.2.0 and GDAL 2.1.2. These are "falling behind" 
the current sources of those packages. Ubuntugis is designed to offer 
the latest GIS builds for Ubuntu LTS versions.





To solve your problem you have basically three choices


1. Install a suitable version of [a]Ubuntu or Debian on your PC


2. Install a desktop hypervisor like VirtualBox and build a virtual
machine for a suitable version of [a]Ubuntu or Debian to run Qgis in


3. Wait until Ubuntugis works.


Ubuntugis **works**. It has GRASS 7.2.2 since 2017-09-19.

QGIS 2.18.13 was released 2017-09-18, At the time, GDAL 7.2.1 was the 
current GRASS version in the ubuntugis unstable ppa.


At the moment, you can get GRASS 7.2.1 from Ubuntugis **stable**, but 
you need to downgrade GDAL to 2.1.3 too.






I don't see particularly a problem with recommending either 1 or 2 as
options, just because Ubuntu is supporting Xenial as an LTS doesn't mean
everything available is guaranteed to work on it.


That's the expected behaviour of a LTS.


The fact you have to
use ubuntigis is because the standard Ubuntu repositories don't contain
the required packages. There are other issues with the Xenial packages
for Qgis, including an older version of Qt on that platform that causes
rounding issues when displaying floating point numbers.


Feel free to contact the developers or report a bug if you are still
concerned.


Done: https://issues.qgis.org/issues/17202


You may also wish to contact the ubuntugis maintainers.


No need for that, Ubuntugis packages work at the moment.

Greetings,
André 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

Re: [Qgis-user] GRASS support lost (again) on Ubuntu/Mint

2017-09-26 Per discussione Andre Joost

Am 26.09.2017 um 14:50 schrieb Micha Silver:


Not sure I follow you. From the QGIS download page the recommended repo for
ubuntu *is ubuntugis* and has been for ages, if I'm not mistaken. That's where
all the recent packages are.


Not quite:There is one toolchain with Ubuntugis and one without (debian):

https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu





I don't think it's reasonable to say that Xenial - only 1.5 years old - is not
going to be supported.


Xenial is the current Ubuntu LTS, and will be til next year.

Greetings,
André 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

Re: [Qgis-user] Installing QGIS lastest release in UBUNTU 14.04

2017-09-19 Per discussione Andre Joost

Am 19.09.2017 um 12:32 schrieb antonio scotti:

Hi,
I am trying to install QGIS (hopefully the latest release) in a UBUNTU 14.04 64 
bit machine
I wrote the following lines into the sources.list file:deb 
http://qgis.org/debian trusty partner
deb http://qgis.org/ubuntugis trusty partner
deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/ubuntugis/ppa/ubuntu trusty main
But when I ask the Ubuntu software centre to install QGIS I receive an error 
message saying:
"Package dependencies cannot be resolved.
You can see all dependencies that need to be sorted out in the attached 
pictures.
Since I am not very familiar with ubuntu It would great if someone could help 
me sorting out these dependencies
Best regards


Semms you got stuck with the gdal-abi package. You can try the solution 
given at 
https://gis.stackexchange.com/questions/218528/qgis-depends-on-gdal-abi-2-1-1-not-installable


You may try the ubuntugis unstable ppa, instead of the ubuntugis 
(stable) ppa.


I suggest to install in a terminal, not with the Ubuntu software center. 
You need to update your packages list first, then install the dependent 
GDAL packages.


BTW why "trusty partner"?

HTH,
André 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

Re: [Qgis-user] Debian/Ubuntu Install of 2.18 and 2.99 Together?

2017-08-31 Per discussione Andre Joost

Am 31.08.2017 um 04:49 schrieb Kory Roberts:

Is there a recommended way of concurrently installing both 2.18 and 2.99
on Debian/Ubuntu that isn't overly complicated (getting into and out
of)?  I have the latest release of 2.18 installed using the repository
http://qgis.org/ubuntugis.  I'd like to preview the upcoming version,
but when I added the repository http://qgis.org/ubuntugis-nightly, it
looked like the update manager was going to upgrade QGIS.  What I really
wanted was to install them both.  Thanks.

A virtual box with any Ubuntu guest OS might be the easiest solution. 
With shared folders, you can access the same datasources.


HTH,
André 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

Re: [Qgis-user] Anybody knows how to download OSM Turn Restrictions?

2017-08-31 Per discussione Andre Joost

Am 31.08.2017 um 07:14 schrieb Clifford Snow:

Overpass can grab turn restrictions. Read the wiki[1] for information on
how turn restrictions are tagged.

For example, this query [1] grabs all turn restrictions in my county. Once
the query has run download a geojson for loading into QGIS

[out:json][timeout:25];
// fetch area “skagit county” to search in
{{geocodeArea:skagit county}}->.searchArea;
// gather results
(
   // query part for: “type=restriction and restriction=*”

   relation["type"="restriction"]["restriction"](area.searchArea);
);
// print results
out body;

;

out skel qt;



I tried QuickOSM with

 relation["type"="restriction"]["restriction"]({{bbox}});> ;out;

which returns the ways with their tags, but not the relation tags.

The geojson result from Overpass turbo works better, but it is still a 
lot of coding necessary to get a road sign at the right pace and 
orientation from that. Maybe it is easier to use the raw XML format.


Greetings,
André 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

Re: [Qgis-user] Anybody knows how to download OSM Turn Restrictions?

2017-08-30 Per discussione Andre Joost

Am 30.08.2017 um 11:09 schrieb DelazJ:

Hi,
I think that the OpenStreetMap native tool in QGIS offers a way to
filter an osm layer based on tags (you'll first need to download the
whole data from OSM and use the "Export Topology..." tool ). See
http://docs.qgis.org/2.18/en/docs/user_manual/managing_data_source/opening_data.html#importing-openstreetmap-vectors.



I doubt that this will work. From the relation of type restriction, you 
need the relation tags and the "role" tags for the ways and nodes to 
model a turn restriction.

See http://wiki.openstreetmap.org/wiki/Relation:restriction

The OSM importer tool, only builds points, lines and polygones, dropping 
the restriction relations completely.


QuickOSM (via Overpass) is able to laod the relation, but just models 
lines and points without the role information.


Add vector layer is able to import "other relations", but without geometry.

Even osm2pgsql does not import the turn restriction relations (like it 
does for routes).


Greetings,
André 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

Re: [Qgis-user] How to move 600 raster files -32000000m to x-direktion

2017-08-24 Per discussione Andre Joost

Am 22.08.2017 um 20:31 schrieb Andre Joost:



Source CRS should be EPSG:25832 for zone 32N
+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs

and EPSG:5652 as target CRS:
ETRS89 / UTM zone 32N (N-zE)
+proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=3250 +y_0=0
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs



UUps, should be the other way round:
Source: EPSG:5652
Target: EPSG:25832

HTH,
André 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

Re: [Qgis-user] How to move 600 raster files -32000000m to x-direktion

2017-08-22 Per discussione Andre Joost

Am 22.08.2017 um 11:22 schrieb Richard McDonnell:

Hi,
This should be achievable using Warp, which can be found under *Raster,
Projections, Warp*.
Set your source SRS to EPSG: 25833, and your destination to EPSG: 4258



No, EPSG:4258 is in degrees.

Source CRS should be EPSG:25832 for zone 32N
+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs

and EPSG:5652 as target CRS:
ETRS89 / UTM zone 32N (N-zE)
+proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=3250 +y_0=0 
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs


HTH,
André 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

Re: [Qgis-user] Transform not solvable

2017-08-17 Per discussione Andre Joost

Am 16.08.2017 um 23:53 schrieb Charles Barrows:

Could the transform
program be confused because the locations are now in a random order in the
GCP table, or could it be something else?



I don't think so. It might be a matter of the Transformation type you 
have chosen.


HTH,
André 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

Re: [Qgis-user] GRASS issue 2.18.10

2017-08-10 Per discussione Andre Joost

Am 10.08.2017 um 11:41 schrieb Lester Anderson:

Hi all,

Cannot get GRASS working in 2.18.10, it shows in the processing
toolbox but get a message like (using r.slope.aspect):

Missing dependency. This algorithm cannot be run.



You may be stuck in this bug: https://issues.qgis.org/issues/16777

Updating to QGIS 2.18.11 might help.

HTH,
André 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

Re: [Qgis-user] GDAL 2.2.0 install and QGIS removed

2017-08-08 Per discussione Andre Joost

Am 07.08.2017 um 20:37 schrieb Micha Silver:



On 08/07/2017 02:12 PM, Andre Joost wrote:

Am 07.08.2017 um 08:53 schrieb Micha Silver:

Thanks, Andre
So we'll wait for the next point release?




You might as well try some of the workarounds in ticket
https://issues.qgis.org/issues/16386



That worked, thanks Andre:
I purged all the qgis and grass packages, changed the sources.list file to use
*only* the qgis.org/debian repo, then I got qgis 2.18.11 and grass 7.0.3. And
the grass plugin appears in qgis.

Until new, coordinated ubuntugis packages come out...



You have been too impatient, the qgis.org/ubuntugis packages have been 
adjusted and recompiled yesterday. QGIS 2.18.11 with GDAL 2.2.1 now 
works for me on Linux Mint 18.1.


Thanks to Juergen for the night work!

Greetings,
André 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

Re: [Qgis-user] Georeferencing in 2.18

2017-08-07 Per discussione Andre Joost

Am 08.08.2017 um 06:25 schrieb Lene Fischer:

Hi,
I´m trying to georeferenced an orthophoto in 2.18.9. Windows 7

After digitizing the points in the georef--> Set the settings-->Run the georef 
- I get long red lines which mark the error.
The lines are long the error gives dY and dX values more than 100. I have seen 
this bug in previous versions.
Can anyone confirm this error before I fill a Bug report.



Without further details this is hard to recover.

Screenshots from the georeferencer settings dialogue and the GCP table 
might help to investigate. If you open a ticket, please include both.


Greetings,
André 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

Re: [Qgis-user] GDAL 2.2.0 install and QGIS removed

2017-08-06 Per discussione Andre Joost

Am 06.08.2017 um 21:13 schrieb Micha Silver:

Today's routine update on Mint 18 got gdal 2.2.0 but removed QGIS!



See
https://issues.qgis.org/issues/16977

Unfortunately, Ubuntugis-only does not work either:

https://issues.qgis.org/issues/16975

The only workaround is to drop ubuntugis ppa and switch to 
qgis.org/debian xenial main, or update your OS to ubuntu 17.04.


HTH,
André 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

Re: [Qgis-user] ogr2ogr - how to use -s_srs, -t_srs and -a_srs

2017-08-06 Per discussione Andre Joost

Am 06.08.2017 um 11:07 schrieb Erik Josefsson:



It seems I need an interpreter of the output from ogrinfo that can
translate that rather complex output into a simple EPSG-code.


gdalsrsinfo has an easier output, but will not reveal EPSG codes either.

One reason is because  many EPSG codes share basically the same 
projection parameters. As an example, EPSG:4258 (ETRS89) and EPSG:4619 
(SWEREF99) are identical. QGIS makes an educated guess, but still does 
not know which one you want.


The other way is easy to implement: gdalsrsinfo EPSG:4619 has a unique 
output of


PROJ.4 : '+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs '

OGC WKT :
GEOGCS["SWEREF99",
DATUM["SWEREF99",
SPHEROID["GRS 1980",6378137,298.257222101,
AUTHORITY["EPSG","7019"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6619"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4619"]]

It even adds the EPSG code as last line to the WKT definition (which 
ESRI software does not do).


HTH,
André 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

Re: [Qgis-user] ogr2ogr - how to use -s_srs, -t_srs and -a_srs

2017-08-06 Per discussione Andre Joost

Am 06.08.2017 um 10:34 schrieb Erik Josefsson:


Here's the loop where it happens (please note that I expect ogr2ogr to
read and write to the same shpfile):


I don't think this is possible. It is safe to write to a temp file, wait 
for ogr2ogr to finish, then overwrite the input file with the output 
file using OS commands.


HTH,
André 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

Re: [Qgis-user] ogr2ogr - how to use -s_srs, -t_srs and -a_srs

2017-08-05 Per discussione Andre Joost

Am 06.08.2017 um 02:22 schrieb Erik Josefsson:

Hello,

I have a handful of zip archives containing original shapefiles with
different coordinate reference systems (e.g. SGER:3008 and SGER:3021).

I want to extract and convert them all to SGER:3006 and thought that
ogr2ogr would do the job, but I don't find intelligible instructions on
how to use the srs-parameters: -s_srs, -t_srs and -a_srs.


You can either use -s_srs and -t_srs to reproject from one CRS to 
another, or use -a_srs to assign a CRS if the source data has no CRS 
information (like CSV), or has a wrong CRS (it is misplaced compared to 
other data).


If the source data has a .prj file, the CRS information is stored inside 
that. But beware that EPSG codes and datum shifts (+towgs84) are not 
stored in .prj files. GDAL will try to auto-guess the EPSG code,but 
sometimes fails. In that case, no datum shift will be applied. From your 
example, EPSG:3021 must have a datum shift to WGS84, while the others 
are based on ellipsoids with no shift to the WGS84 definition. So it is 
safe to use -s_srs EPSG:3021 (together with -t_srs) for that data.




Do I have to know the coordinate reference system of each original shape
file to use ogr2ogr successfully? If so, how do I retrieve that information?



ogrinfo will report the CRS of every vector file supported by GDAL.


Or should I just override the original coordinate reference system like
this?

ogr2ogr -f 'ESRI Shapefile' -s_srs EPSG:3006 -t_srs EPSG:3006 -a_srs
EPSG:3006 A.shp B.shp


That will be wrong in most cases.

HTH,
André 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

Re: [Qgis-user] features visible in attribute table but not identifiable

2017-07-28 Per discussione Andre Joost

Am 28.07.2017 um 14:49 schrieb Reginald Carlier:

Hi,

I am using QGIS 2.18.11.
When editing a shapefile I noticed a specific error.
Some features I added where not styled after adding but did show up in the 
attribute table.
When I zoom to the selected feature in the attribute table the parcel shows up.
When I try to identify them with the identify tool the features are missing.
Anyone has an explanation or similar experience?



It might help to run "Check vailidity" from the vector menu. Features 
with invalid geometry might not get rendered, but are in the attribute 
table.


HTH,
André 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

Re: [Qgis-user] Lines oriented on compass degrees

2017-07-22 Per discussione Andre Joost

Am 22.07.2017 um 17:58 schrieb Jan Becket:

I record points for archaeological sites in Hawai'i and could make
use of maps that allow me to draw orientation reference lines on,
say, the equinox path, or maybe the solstice path. Is there a QGIS
feature or plugin that would allow me to create a layer that contains
a correctly-oriented compass relative to my maps?


Maybe 
https://ieqgis.wordpress.com/2014/08/04/nautical-charts-in-qgis-the-compass-rose/ 
is something too complicated for you.


The Azimuth and Distance plugin might be a lightweight solution.

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

Re: [Qgis-user] Windows Grass 7 processing not working into Qgis

2017-07-11 Per discussione Andre Joost

Hi Giuseppe,

Am 11.07.2017 um 15:50 schrieb giuseppe musumeci:

Dear list.

I installed Qgis 2.18.10 on my windows 10 Pc
I used Osgeo4w64

I noticed that GRASS 7 algorithms into processing are not working:

Missing dependency. This algorithm cannot be run :-(

Sembra che GRASS GIS 7 non sia installato e configurato correttamente nel
tuo sistema. Installare GRASS GIS 7 prima di eseguire gli algoritmi.


Path to msys and grass7 folders are correctly set up


Any suggestion?




This is a known bug: https://issues.qgis.org/issues/16777

For me, me OSGEO4W setup worked, for others not.

Switching back to QGIS 2.18.9 works in any case.

HTH,
André 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

Re: [Qgis-user] SAGA not shown in Processing Toolbox in version 2.18.10

2017-07-11 Per discussione Andre Joost

Am 11.07.2017 um 09:40 schrieb magerlin:

Am I (and  other user)

the only ones experiencing that SAGA in Qgis 2.18.10 has disappeared from
the Processing Toolbox?

It is still available under Providers in the Processing Options even though
here the usual line with the Path to the exe file is missing too (which
might be the reason SAGA not showing up in the toolbox?):



SAGA is installed and I can run SAGA alone started as a program by itself.



Which SAGA version?

Greetings,
André 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

Re: [Qgis-user] QGis 2.18.9 on fedora : where is GRASS ??

2017-07-11 Per discussione Andre Joost

Hi Thierry,

Am 11.07.2017 um 07:46 schrieb Thierry GONON:

Hi all, I'm working on fedora 23 with the latest QGis (2.18.9).
I also have a regular install of GRASS (7.0.4) on this computer. I actually 
need to work with GRASS in QGis, but can't find any GRASS button... anywhere ! 
I have access to the grass command in the toolbox, but can't find any tool in 
the classical way. Do you know why ??



Do you have the GRASS plugin enabled in the Plugin Manager? Or is it 
missing in the plugin list?


Greetings,
André 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

Re: [Qgis-user] Unsupported data source

2017-06-16 Per discussione Andre Joost

Am 16.06.2017 um 18:46 schrieb Andrew Brooks:

Hi

I'm getting the error "Unsupported data source" when trying to load a
raster layer.
The console windows show no more information about what it doesn't like
about the file :-(
Photoshop and other image viewers are happy to display the images.

The files have all been created by GDAL (via a vrt) so I'm a bit stuck; how
do I find the problem?

gdalinfo reports
Driver: GTiff/GeoTIFF
Files: k-42-141.utm.tif


I guess the driver stumbles over the two points in the filename, not 
knowing the extension should be tif or utm.tif.


Try to substitute the first point. If gdalinfo works, the QGIS importer 
should too.


HTH,
André 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

Re: [Qgis-user] unexpected CRS behavior (GRASS)

2017-06-10 Per discussione Andre Joost

Am 11.06.2017 um 01:35 schrieb Tobias Wendorff:

Hi there!

I'm experiencing an unexpected behavior. Before filing a bug, could
anyone please test this?

I'm using v2.18.9-10, but I also had this problem on normal stable;
additionally, I'm using GRASS 7.2.1.

I've drawn a random linestring across Germany in EPSG:25832 (UTM32N):
LineString (452926.428 5430258.436, 474353.217 5556034.254,
651518.642 5480403.767, 768696.380 5642150.589,
716125.982 5713907.693, 797502.108 5831380.482).

Let's try the GRASS tool "v.split.vert". I've set the numbers of
vertices to "2" and I'm outputting the result to temporary layer.

The temp layer suddenly gets a custom CRS: USER:10 and OTF
gets activated. The CRS is equal to UTM32N, but I guess, this
behavior isn't correct...



If you save the Linestring to a shapefile with EPSG:32632, it runs 
correctly.


It seems that GRASS gets confused over the similar WKT definitions .

HTH,
André 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

Re: [Qgis-user] Ubuntu 16.04 dependency problem (qgis-2.18.9 and python-sip)

2017-06-06 Per discussione Andre Joost

Am 06.06.2017 um 11:06 schrieb SaekBinko:

Hello,

I updated my OS, and my system now has dependency problem. I think the
problem is with python-sip package. python-sip was updated (to python-sip
(4.19.2+dfsg-1+16.04+xenial+build3) and python3-sip
(4.19.2+dfsg-1+16.04+xenial+build3)), and QGIS (2.18.9) has been removed
automatically...

When I want to install qgis terminal shows me, that I need to install
python-qgis. So, when I want to install python-qgis, terminal tells me, that
I need to install python-qscintilla2 and sip-api-11.2. And this is the end
of my journey, because sip-api is virtual package of python-sip, which has
been updated.



I wonder where you got that python-sip from. The main ubuntu repo has 
4.17, and that works with the latest QGIS builds for me.


Try apt-cache policy python-sip to see which versions are available for 
you. I see version 4.19.2 only in Debian experimental.


HTH,
André 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

Re: [Qgis-user] QGIS crash - SOS

2017-05-07 Per discussione Andre Joost
It Looks like Python support has been dropped after the crash. It might 
be necessary to re-install Python or QGIS, depending on your OS.


HTH,
André Joost

Am 06.05.2017 um 20:33 schrieb Velizar Strumberger:

I am in the middle of a project and my QGIS 2.18.1 crashed when I try to
start it. In the task manager I notice several applications qgis.db that
were running. I had to hard reset my PC.  When I started QGIS once again I
noticed that in the Menu Toolbar: Processing and  WEB were missing. The
Vector and Raster menus were almost empty. For Vector only Open Street Map
remained and for Rater the Raster Calculator and Align Raster. I
uninstalled QGIS, deleted .qgis2, cleaned my registry (CCleaner) and
installed QGIS 2.18.7. The result was the same: no Vector or Raster
functions except the mentioned. However I did notice that the Decoration I
used before QGIS crash remained active (Scale Bar and Arrow).
What am I doing wrong. Please 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] Problems with QGIS 2.18.5 install

2017-04-07 Per discussione Andre Joost

Am 07.04.2017 um 03:55 schrieb Emilio Bruno:

Hello ,

  At the present moment I can not install QGIS 2.18.5 on Ubuntu 16.04
due to gdal-abi-2-1-3  missing library from official repositories.
When will this problem  be solved  ?
The previous versions are not available to install.
Please help !



Can you try in a terminal: apt-cache policy qgis

it should return 2.18.5+24xenial-ubuntugis-1

There was a bug related to the gdal-abi package in the first release, 
see http://hub.qgis.org/issues/16386. It should be fixed by now, so 
please download the packages again. Maybe you need sudo apt-get update 
and upgrade as well.


HTH,
André 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

Re: [Qgis-user] Custom CRS - adding a rotation

2017-04-06 Per discussione Andre Joost

Am 05.04.2017 um 20:46 schrieb Brock Riedell:

I have some downloaded geologic map shapefiles that were digitized
incorrectly in UTM space, and they render a few hundred meters away from
their proper locations on georeferenced U.S. topo maps as well as on
Google, Bing, and ESRI online base map data. This is too much for datum
shift; the NAD27 to NAD83 transformation should offset coordinates about
90 m.  I have determined that the correction involves a counterclockwise
rotation of ~1.4 degrees and not a simple translation. I have reviewed
the PROJ.4 documentation about using the 7-parameter 'towgs84' options
to add the rotation.  I have not been able to get this working by trial
and error; the data plot out 150-200 km away from where they should be.
Questions:

(1) Do I need to input the rotation value as both Rx and Ry?
(2)The documentation says rotations are input as seconds of arc rather
than degrees, correct?
(3) How does the scaling parameter in towgs84 interact with the scale
factor k_0?


The towgs84 parameters are really ment for small rotations only. If you 
have big rotations, think of using a custom oblique mercator transformation.


You can find an example at 
http://gis.stackexchange.com/questions/83861/using-customized-coordinate-system-in-arcgis-desktop


HTH,
André 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

Re: [Qgis-user] qgis 2.18.3 not installing on win 10

2017-02-27 Per discussione Andre Joost

Am 26.02.2017 um 23:01 schrieb Michael.Dodd:

I tried uninstalling and installing again using the stand alone installer.  
This gave the same error so I uninstalled it.


Then I tried the OSGEO4W installer but it did not install exactly where I asked 
it to, instead it made its own directory on Y (Y:\osgeo_download). It did start 
up once but after that it failed to start and instead gave the same error about 
missing .dll's even though they were present.  I think I had a problem similar 
to this several qgis versions ago but it was then resolved, now the issue seems 
to be back.


This is the \QGIS 2.18\bin\qgis.bat file:


@echo off
call "%~dp0\o4w_env.bat"
@echo off
path %OSGEO4W_ROOT%\apps\qgis\bin;%PATH%
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/qgis
set GDAL_FILENAME_IS_UTF8=YES
rem Set VSI cache to be used as buffer, see #6448
set VSI_CACHE=TRUE
set VSI_CACHE_SIZE=100
set 
QT_PLUGIN_PATH=%OSGEO4W_ROOT%\apps\qgis\qtplugins;%OSGEO4W_ROOT%\apps\qt4\plugins
start "QGIS" /B "%OSGEO4W_ROOT%"\bin\qgis-bin.exe %*

and this is the directory where the relevant .dll's are 
Y:\osgeo_download\apps\qgis\bin
but it says they are missing even though they are present in this directory.



Try to exchange every %OSGEO4W_ROOT% with Y:\osgeo_download, in the 
o4w_env.bat file as well. QGIS_PREFIX_PATH should be set to 
Y:\osgeo_download\apps\qgis


BTW if you have the QGIS shortcuts in the start menu, you can open the 
QGIS folder in the start menu with rightclick -> open, and copy the 
shortcuts from there to your desktop.


HTH,
André 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

  1   2   3   4   5   6   >