Re: [Qgis-user] QGIS 3 and Pyhton 3 trouble

2021-11-16 Thread Peter Petrik
Hi on macOS (official installer) we use the python bundled inside the
QGIS.app. Unfortunately Mac El Capitan 10.11.6  is not supported, and the
python support starts at macOS 10.13.x

Kind regards,
Peter

On Tue, Nov 16, 2021 at 10:44 AM Joachim  wrote:

> Hello,
>
> Open a terminal and give the following command:
>
> $>which python
>
> What’s the output?
>
> -J
>
>
> On Nov 16, 2021, at 1:30 AM, bdr...@gmx.de wrote:
>
> Hello,
>
>
>
> i have trouble with installing QGIS 3.0.
>
>
> I have a Mac El Capitan 10.11.6 and I like to use QGIS 3.0.
>
> I installed Python 3.6.for that but when I try to install QGIS 3.0 it says
> that Python 3.6 is required. So I´m not able to install QGIS. I don´t
> understadn the problem because i already installed Python 3.6.
>
>
> Could anybody help?
>
>
> After installing Python 3.6 do I have to do anything further with that?
> Maybe I missed a command or someting?
>
>
> Thank you
>
>
> Carolin
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QGIS 3 and Pyhton 3 trouble

2021-11-16 Thread bdrive
Hello,

 

 

i have trouble with installing QGIS 3.0.

 

I have a Mac El Capitan 10.11.6 and I like to use QGIS 3.0.

I installed Python 3.6.for that but when I try to install QGIS 3.0 it says that Python 3.6 is required. So I´m not able to install QGIS. I don´t understadn the problem because i already installed Python 3.6.

 

Could anybody help?

 

After installing Python 3.6 do I have to do anything further with that? Maybe I missed a command or someting?

 

Thank you

 

Carolin

 
___
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 single line/point layers from hand-written co-ordinates

2021-04-19 Thread Kirk Schmidt

Hi John:

Yes, life is too short to waste time.  I would add the lat/long into a 
spreadsheet or simple ascii text file.  This way, you can double check 
your entries and once you are ready, you can bring them into QGIS as a 
*.txt or *.csv file.


A simple text format would be :

1,45.3741, -62.1548

where 1 is the point id and the next is the longitude and latitude.  
These values are separated by a comma, however a semi colon or tab would 
work as well.  You can also reverse the lat/long if it is easier for you.


Instructions on how to import the file and convert it to a spatila layer 
are found at: (I know, another tutorial)


https://www.qgistutorials.com/en/docs/3/importing_spreadsheets_csv.html

If your coordinates are in degrees/minutes, you can use them as well.  
Reach out to me and I can give you the correct syntax if you need it.


Kirk Schmidt

On 4/19/2021 11:36 AM, John Moyle wrote:
I am a retired Chartered Engineer, Physician and Anaesthetist!. In 
retirement I have completed a PhD "The Maintenance of the Victorian 
Submarine Telegraph Cable System".  I want to correlate N Atlantic 
cable interruptions with geological events of that era. I have found a 
raster-file of the sea bed and a shape file of the tectonic plate 
boundaries. Fantastic! Now I want to make separate point or line 
layers for each interruption, volcano, earthquake and landslide.  I 
have all the data in lat/long, hand written in a notebook whilst 
searching the archives at the National Maritime Museum.
My problem is that all QGIS-3 courses take  many hours turning one 
into a town and country planner before the simple layers I want to 
make!  At 75, life is too short. I want to input the co-ordinates, by 
hand, layer by layer. Can anyone give me step by step instructions please.

Thank you
John Moyle



___
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


--
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
RR # 1
Thorburn, NS
B0K 1W0
Tel (902) 922.3607
Email: k...@nortekresources.com
Web: www.nortekresources.com

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


Re: [Qgis-user] QGIS-3 single line/point layers from hand-written co-ordinates

2021-04-19 Thread info

  
  
Hi John,
Happy retirement...
Simply create a text file with extension .csv and formatted as
  below, for example:
First line should be something like the following:
  Longitude,Latitude,point,attribute_1,attribute_2
replace "attribute_x" with proper name

Then on each following line enter your hand written coordinate:
  -23.123, 33.123, 1, volcano, volcano_name
  ...
When done save and import into QGIS using:
  Layer -> Add Layer... -> Add Delimited Text Layer...
Make sure to correctly fill the Geometry Definition section.
  Normally, Lat & Lon should already be defined correctly. But
  you have to define "Geometry CRS"
  Hopefully all your points are in the same CRS? Otherwise, create
  on csv file per CRS. Assuming you know in which coordinate system
  your points are!

Then you can symbolise the points using one of the attribute
  columns.
Hope this helps.
Regards,
  Benoit de Cabissole



On 19/04/2021 16:36, John Moyle wrote:


  
  
I
am a retired Chartered Engineer, Physician and
Anaesthetist!. In retirement I have completed a PhD "The
Maintenance of the Victorian Submarine Telegraph Cable
System".  I want to correlate N Atlantic cable interruptions
with geological events of that era. I have found a
raster-file of the sea bed and a shape file of the tectonic
plate boundaries. Fantastic! Now I want to make separate
point or line layers for each interruption, volcano,
earthquake and landslide.  I have all the data in
lat/long, hand written in a notebook whilst searching the
archives at the National Maritime Museum.
  My
problem is that all QGIS-3 courses take  many hours turning
one into a town and country planner before the simple layers
I want to make!  At 75, life is too short. I want to input
the co-ordinates, by hand, layer by layer. Can anyone give
me step by step instructions please.
  Thank
you

John Moyle


  

  
  

  

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


  

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


[Qgis-user] QGIS-3 single line/point layers from hand-written co-ordinates

2021-04-19 Thread John Moyle
I am a retired Chartered Engineer, Physician and Anaesthetist!. In
retirement I have completed a PhD "The Maintenance of the Victorian
Submarine Telegraph Cable System".  I want to correlate N Atlantic cable
interruptions with geological events of that era. I have found a
raster-file of the sea bed and a shape file of the tectonic plate
boundaries. Fantastic! Now I want to make separate point or line layers for
each interruption, volcano, earthquake and landslide.  I have all the data
in lat/long, hand written in a notebook whilst searching the archives at
the National Maritime Museum.
My problem is that all QGIS-3 courses take  many hours turning one into a
town and country planner before the simple layers I want to make!  At 75,
life is too short. I want to input the co-ordinates, by hand, layer by
layer. Can anyone give me step by step instructions please.
Thank you
John Moyle
___
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.xx not starting

2020-12-23 Thread K R Mayani
Thanks for the guidance from users, Nicolas Cadieux  and Ujaval Gandhi.
I have tried with disabled QuickHeal first, but no success. Then doing some
other that was uninstalling the antivirus software. then QGIS was started.
(As I have licensed version of QHeal, I wanted to have it on my system). So
here is what I have done finally and till now QGIS starts and performs. I
hope you can suggest below steps to others who have this issue if you came
into contact with them.
-> Uninstalled Qheal first. Restarted the system.
->  Installed QGIS with windows defender "off" and real time scan "off".
QGIS was able to start.
-> After installation, In the win-defender there is a option of "exclude
folder", there I had selected the QGIS installed directory folder.
-> Then, as I have mentioned licensed QHeal, I again installed Qheal and
again I have added some exe's of QGIS,Python,QT, .
-> After that, by taking god's name, I have started QGIS. and VOILA. It is
now functioning.

Lastly, I want to thank you for valuable suggestions and from that I was
able to start my QGIS v3.10, the stable one.

Thanks for the help.

On Mon, Dec 21, 2020 at 9:19 PM Nicolas Cadieux 
wrote:

> Hi,
>
> I would start with the suggestion below.  Then, I would update all the
> drivers and try to see what other software is normally auto loaded at
> startup to see what could be interfering with QGIS (like a anti malware).
> Concerning Quickheal, it may have blocked something at the installation so
> I would uninstall it (or disable it completely) and uninstall  QGIS.
> Reboot, then reinstall QGIS.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 21 déc. 2020 à 00:35, Ujaval Gandhi  a
> écrit :
>
> 
> One of the original suggestions was to disable / uninstall your anti-virus
> and try launching qgis. Did you try that? From your description it looks
> like Quickheal might be interfering with qgis. Qgis has other dependencies
> on python, qt etc so merely allowing qgis may not be enough.
>
> Ujaval Gandhi
> Spatial Thoughts
>
> On Mon, Dec 21, 2020, 9:41 AM K R Mayani 
> wrote:
>
>> As one suggestion came from other source, I have tried opening QGIS with
>> firewall off. So I tried to add .exes of python, qgis ltr, qgis in allowed
>> program in QuickHeal, as its installed and managed firewall, but did not
>> start.
>> So that strike me another idea. And I started the program in safe boot
>> mode with network  in windows 10. Surprisingly the program ran normally
>> without crashing.
>> So can anyone give me any idea, what went wrong in normal boot mode?
>> Because in safe boot, OS does not allow to connect through wifi and I, had
>> to, mostly work with wifi.
>>
>> On Tue, Dec 8, 2020, 7:32 PM Nicolas Cadieux 
>> wrote:
>>
>>> Hi,
>>>
>>> Just a bunch of ideas...
>>> Did you have a working version before or is this a first time QGIS
>>> installation?  You have 2 choices of installers on Windows, I would try
>>> with the second installer after removing the first version.  Reboot the
>>> computer after the installation.  Try Disabling your antivirus or adware
>>> software you could have when installing or starting QGIS, make sure your
>>> Windows and drivers are up to date.  Do you have a second version of Python
>>> on your computer, or a software like ESRI that as it’s own version of
>>> Python? Perhaps there is a conflict between your QGIS python and the
>>> default python distribution?  If this is not a new install, would you have
>>> a problématique python plugin  in the plugin directory? Perhaps try
>>> removing those...  Would you have weird character in your user directory
>>> like spaces or accents like “é”?
>>>
>>> Nicolas Cadieux
>>> https://gitlab.com/njacadieux
>>>
>>> Le 8 déc. 2020 à 07:07, K R Mayani  a
>>> écrit :
>>>
>>> 
>>> Hi,
>>> I am using QGIS 3.14.1 on my Laptop. I am having trouble with the
>>> software about its starting. After setting up python screen, it does not
>>> starts. I have also tried "run as administrator" but still the problem
>>> persists. With v3.10 and v3.14.1, the same problem is there. I have
>>> installed software again with "Run as Administrator" but the issue is not
>>> solved.
>>> .NET 4.8 already installed.
>>> osbuild: 19042.630
>>> OS: Windows 10, home
>>> Processor:AMDRyzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
>>> RAM: 8.00 GB
>>> crash: https://pastebin.com/5Tk75LTu
>>> Which version should support my system rig?
>>> Please help me with my trouble. Or suggest to me the steps.
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>

Re: [Qgis-user] QGIS 3.xx not starting

2020-12-21 Thread Nicolas Cadieux
Hi,

I would start with the suggestion below.  Then, I would update all the drivers 
and try to see what other software is normally auto loaded at startup to see 
what could be interfering with QGIS (like a anti malware).  Concerning 
Quickheal, it may have blocked something at the installation so I would 
uninstall it (or disable it completely) and uninstall  QGIS. Reboot, then 
reinstall QGIS.

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 21 déc. 2020 à 00:35, Ujaval Gandhi  a écrit :
> 
> 
> One of the original suggestions was to disable / uninstall your anti-virus 
> and try launching qgis. Did you try that? From your description it looks like 
> Quickheal might be interfering with qgis. Qgis has other dependencies on 
> python, qt etc so merely allowing qgis may not be enough.  
> 
> Ujaval Gandhi 
> Spatial Thoughts
> 
>> On Mon, Dec 21, 2020, 9:41 AM K R Mayani  wrote:
>> As one suggestion came from other source, I have tried opening QGIS with 
>> firewall off. So I tried to add .exes of python, qgis ltr, qgis in allowed 
>> program in QuickHeal, as its installed and managed firewall, but did not 
>> start.
>> So that strike me another idea. And I started the program in safe boot mode 
>> with network  in windows 10. Surprisingly the program ran normally without 
>> crashing. 
>> So can anyone give me any idea, what went wrong in normal boot mode? Because 
>> in safe boot, OS does not allow to connect through wifi and I, had to, 
>> mostly work with wifi. 
>> 
>>> On Tue, Dec 8, 2020, 7:32 PM Nicolas Cadieux  
>>> wrote:
>>> Hi,
>>> 
>>> Just a bunch of ideas...
>>> Did you have a working version before or is this a first time QGIS 
>>> installation?  You have 2 choices of installers on Windows, I would try 
>>> with the second installer after removing the first version.  Reboot the 
>>> computer after the installation.  Try Disabling your antivirus or adware 
>>> software you could have when installing or starting QGIS, make sure your 
>>> Windows and drivers are up to date.  Do you have a second version of Python 
>>> on your computer, or a software like ESRI that as it’s own version of 
>>> Python? Perhaps there is a conflict between your QGIS python and the 
>>> default python distribution?  If this is not a new install, would you have 
>>> a problématique python plugin  in the plugin directory? Perhaps try 
>>> removing those...  Would you have weird character in your user directory 
>>> like spaces or accents like “é”? 
>>> 
>>> Nicolas Cadieux
>>> https://gitlab.com/njacadieux
>>> 
> Le 8 déc. 2020 à 07:07, K R Mayani  a écrit :
> 
 
 Hi,
 I am using QGIS 3.14.1 on my Laptop. I am having trouble with the software 
 about its starting. After setting up python screen, it does not starts. I 
 have also tried "run as administrator" but still the problem persists. 
 With v3.10 and v3.14.1, the same problem is there. I have installed 
 software again with "Run as Administrator" but the issue is not solved.
 .NET 4.8 already installed.
 osbuild: 19042.630
 OS: Windows 10, home
 Processor:AMDRyzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
 RAM: 8.00 GB
 crash: https://pastebin.com/5Tk75LTu
 Which version should support my system rig?
 Please help me with my trouble. Or suggest to me the steps.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
 Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 3.xx not starting

2020-12-20 Thread Ujaval Gandhi
One of the original suggestions was to disable / uninstall your anti-virus
and try launching qgis. Did you try that? From your description it looks
like Quickheal might be interfering with qgis. Qgis has other dependencies
on python, qt etc so merely allowing qgis may not be enough.

Ujaval Gandhi
Spatial Thoughts

On Mon, Dec 21, 2020, 9:41 AM K R Mayani 
wrote:

> As one suggestion came from other source, I have tried opening QGIS with
> firewall off. So I tried to add .exes of python, qgis ltr, qgis in allowed
> program in QuickHeal, as its installed and managed firewall, but did not
> start.
> So that strike me another idea. And I started the program in safe boot
> mode with network  in windows 10. Surprisingly the program ran normally
> without crashing.
> So can anyone give me any idea, what went wrong in normal boot mode?
> Because in safe boot, OS does not allow to connect through wifi and I, had
> to, mostly work with wifi.
>
> On Tue, Dec 8, 2020, 7:32 PM Nicolas Cadieux 
> wrote:
>
>> Hi,
>>
>> Just a bunch of ideas...
>> Did you have a working version before or is this a first time QGIS
>> installation?  You have 2 choices of installers on Windows, I would try
>> with the second installer after removing the first version.  Reboot the
>> computer after the installation.  Try Disabling your antivirus or adware
>> software you could have when installing or starting QGIS, make sure your
>> Windows and drivers are up to date.  Do you have a second version of Python
>> on your computer, or a software like ESRI that as it’s own version of
>> Python? Perhaps there is a conflict between your QGIS python and the
>> default python distribution?  If this is not a new install, would you have
>> a problématique python plugin  in the plugin directory? Perhaps try
>> removing those...  Would you have weird character in your user directory
>> like spaces or accents like “é”?
>>
>> Nicolas Cadieux
>> https://gitlab.com/njacadieux
>>
>> Le 8 déc. 2020 à 07:07, K R Mayani  a
>> écrit :
>>
>> 
>> Hi,
>> I am using QGIS 3.14.1 on my Laptop. I am having trouble with the
>> software about its starting. After setting up python screen, it does not
>> starts. I have also tried "run as administrator" but still the problem
>> persists. With v3.10 and v3.14.1, the same problem is there. I have
>> installed software again with "Run as Administrator" but the issue is not
>> solved.
>> .NET 4.8 already installed.
>> osbuild: 19042.630
>> OS: Windows 10, home
>> Processor:AMDRyzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
>> RAM: 8.00 GB
>> crash: https://pastebin.com/5Tk75LTu
>> Which version should support my system rig?
>> Please help me with my trouble. Or suggest to me the steps.
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 3.xx not starting

2020-12-20 Thread K R Mayani
As one suggestion came from other source, I have tried opening QGIS with
firewall off. So I tried to add .exes of python, qgis ltr, qgis in allowed
program in QuickHeal, as its installed and managed firewall, but did not
start.
So that strike me another idea. And I started the program in safe boot mode
with network  in windows 10. Surprisingly the program ran normally without
crashing.
So can anyone give me any idea, what went wrong in normal boot mode?
Because in safe boot, OS does not allow to connect through wifi and I, had
to, mostly work with wifi.

On Tue, Dec 8, 2020, 7:32 PM Nicolas Cadieux 
wrote:

> Hi,
>
> Just a bunch of ideas...
> Did you have a working version before or is this a first time QGIS
> installation?  You have 2 choices of installers on Windows, I would try
> with the second installer after removing the first version.  Reboot the
> computer after the installation.  Try Disabling your antivirus or adware
> software you could have when installing or starting QGIS, make sure your
> Windows and drivers are up to date.  Do you have a second version of Python
> on your computer, or a software like ESRI that as it’s own version of
> Python? Perhaps there is a conflict between your QGIS python and the
> default python distribution?  If this is not a new install, would you have
> a problématique python plugin  in the plugin directory? Perhaps try
> removing those...  Would you have weird character in your user directory
> like spaces or accents like “é”?
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 8 déc. 2020 à 07:07, K R Mayani  a écrit :
>
> 
> Hi,
> I am using QGIS 3.14.1 on my Laptop. I am having trouble with the software
> about its starting. After setting up python screen, it does not starts. I
> have also tried "run as administrator" but still the problem persists. With
> v3.10 and v3.14.1, the same problem is there. I have installed software
> again with "Run as Administrator" but the issue is not solved.
> .NET 4.8 already installed.
> osbuild: 19042.630
> OS: Windows 10, home
> Processor:AMDRyzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
> RAM: 8.00 GB
> crash: https://pastebin.com/5Tk75LTu
> Which version should support my system rig?
> Please help me with my trouble. Or suggest to me the steps.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 3.xx not starting

2020-12-08 Thread K R Mayani
Thanks, I'll check them out.

On Tue, Dec 8, 2020, 7:32 PM Nicolas Cadieux 
wrote:

> Hi,
>
> Just a bunch of ideas...
> Did you have a working version before or is this a first time QGIS
> installation?  You have 2 choices of installers on Windows, I would try
> with the second installer after removing the first version.  Reboot the
> computer after the installation.  Try Disabling your antivirus or adware
> software you could have when installing or starting QGIS, make sure your
> Windows and drivers are up to date.  Do you have a second version of Python
> on your computer, or a software like ESRI that as it’s own version of
> Python? Perhaps there is a conflict between your QGIS python and the
> default python distribution?  If this is not a new install, would you have
> a problématique python plugin  in the plugin directory? Perhaps try
> removing those...  Would you have weird character in your user directory
> like spaces or accents like “é”?
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 8 déc. 2020 à 07:07, K R Mayani  a écrit :
>
> 
> Hi,
> I am using QGIS 3.14.1 on my Laptop. I am having trouble with the software
> about its starting. After setting up python screen, it does not starts. I
> have also tried "run as administrator" but still the problem persists. With
> v3.10 and v3.14.1, the same problem is there. I have installed software
> again with "Run as Administrator" but the issue is not solved.
> .NET 4.8 already installed.
> osbuild: 19042.630
> OS: Windows 10, home
> Processor:AMDRyzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
> RAM: 8.00 GB
> crash: https://pastebin.com/5Tk75LTu
> Which version should support my system rig?
> Please help me with my trouble. Or suggest to me the steps.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 3.xx not starting

2020-12-08 Thread Nicolas Cadieux
Hi,

Just a bunch of ideas...
Did you have a working version before or is this a first time QGIS 
installation?  You have 2 choices of installers on Windows, I would try with 
the second installer after removing the first version.  Reboot the computer 
after the installation.  Try Disabling your antivirus or adware software you 
could have when installing or starting QGIS, make sure your Windows and drivers 
are up to date.  Do you have a second version of Python on your computer, or a 
software like ESRI that as it’s own version of Python? Perhaps there is a 
conflict between your QGIS python and the default python distribution?  If this 
is not a new install, would you have a problématique python plugin  in the 
plugin directory? Perhaps try removing those...  Would you have weird character 
in your user directory like spaces or accents like “é”? 

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 8 déc. 2020 à 07:07, K R Mayani  a écrit :
> 
> 
> Hi,
> I am using QGIS 3.14.1 on my Laptop. I am having trouble with the software 
> about its starting. After setting up python screen, it does not starts. I 
> have also tried "run as administrator" but still the problem persists. With 
> v3.10 and v3.14.1, the same problem is there. I have installed software again 
> with "Run as Administrator" but the issue is not solved.
> .NET 4.8 already installed.
> osbuild: 19042.630
> OS: Windows 10, home
> Processor:AMDRyzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
> RAM: 8.00 GB
> crash: https://pastebin.com/5Tk75LTu
> Which version should support my system rig?
> Please help me with my trouble. Or suggest to me the steps.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QGIS 3.xx not starting

2020-12-08 Thread K R Mayani
Hi,
I am using QGIS 3.14.1 on my Laptop. I am having trouble with the software
about its starting. After setting up python screen, it does not starts. I
have also tried "run as administrator" but still the problem persists. With
v3.10 and v3.14.1, the same problem is there. I have installed software
again with "Run as Administrator" but the issue is not solved.
.NET 4.8 already installed.
osbuild: 19042.630
OS: Windows 10, home
Processor:AMDRyzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
RAM: 8.00 GB
crash: https://pastebin.com/5Tk75LTu
Which version should support my system rig?
Please help me with my trouble. Or suggest to me the steps.
___
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 - Joins

2019-10-18 Thread Karl Magnus Jönsson
Hi!
It could work editing views if you set up some triggers or rules for editing 
the view. 

Karl-Magnus 

-Ursprungligt meddelande-
Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För 
burghardt.scho...@stadt.wolfsburg.de
Skickat: den 18 oktober 2019 12:09
Till: b.j.kob...@utwente.nl; qgis-user@lists.osgeo.org
Ämne: Re: [Qgis-user] QGIS 3 - Joins

Hi Barend,

you're right, I know this way and use it a lot as well. Unfortunately I have to 
edit features in this layer and that doesn't work with views.

Burghardt

> -Ursprüngliche Nachricht-
> Von: b.j.kob...@utwente.nl [mailto:b.j.kob...@utwente.nl]
> Gesendet: Freitag, 18. Oktober 2019 11:53
> An: Scholle, Burghardt (15-3 GIS); qgis-user@lists.osgeo.org
> Betreff: Re: [Qgis-user] QGIS 3 - Joins
> 
> Another way would be to leave the joining up to Postgres, i.e. create a VIEW
> with the Join and load that view as a layer in QGIS...
> --
> Barend Köbben
> 
> On 18/10/2019, 10:16, "Qgis-user on behalf of
> burghardt.scho...@stadt.wolfsburg.de"  on behalf of burghardt.scho...@stadt.wolfsburg.de> wrote:
> 
> Dear list,
> 
> I have a postgres layer that is connected to other postgres lookup tables 
> via
> joins. QGIS does not take these joins into account when copying a layer (to
> another project) or when creating style or layer files. This is really 
> annoying if
> you have to rebuild the joins by hand over and over again. Am I doing
> something wrong? In the dialog window "Edit Vector Join" I see no further
> ways. I only activated the option "Cache join layer in virtual memory".
> 
> Any hint is appreciated, thanks.
> I'm using QGIS LTR 3.4.12
> 
> Regards
> Burghardt
> 
> ***
> 
> Stadt Wolfsburg
> Geschäftsbereich IT - 15-3 GIS
> Rathaus E, Zi. E 313, Porschestraße 47A, D-38440 Wolfsburg
> Tel +49 5361 28-2531
> Fax +49 5361 28-1765
> mailto:burghardt.scho...@stadt.wolfsburg.de
> 
> 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

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

Re: [Qgis-user] QGIS 3 - Joins

2019-10-18 Thread Burghardt.Scholle
Hi Karl-Magnus,

thank you for the hint. I'll give it a try again - next week :-).

Burghardt

> -Ursprüngliche Nachricht-
> Von: Karl Magnus Jönsson [mailto:karl-magnus.jons...@kristianstad.se]
> Gesendet: Freitag, 18. Oktober 2019 12:56
> An: Scholle, Burghardt (15-3 GIS); b.j.kob...@utwente.nl; qgis-
> u...@lists.osgeo.org
> Betreff: SV: [Qgis-user] QGIS 3 - Joins
> 
> Hi!
> It could work editing views if you set up some triggers or rules for editing 
> the
> view.
> 
> Karl-Magnus
> 
> -Ursprungligt meddelande-
> Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För
> burghardt.scho...@stadt.wolfsburg.de
> Skickat: den 18 oktober 2019 12:09
> Till: b.j.kob...@utwente.nl; qgis-user@lists.osgeo.org
> Ämne: Re: [Qgis-user] QGIS 3 - Joins
> 
> Hi Barend,
> 
> you're right, I know this way and use it a lot as well. Unfortunately I have 
> to
> edit features in this layer and that doesn't work with views.
> 
> Burghardt
> 
> > -Ursprüngliche Nachricht-
> > Von: b.j.kob...@utwente.nl [mailto:b.j.kob...@utwente.nl]
> > Gesendet: Freitag, 18. Oktober 2019 11:53
> > An: Scholle, Burghardt (15-3 GIS); qgis-user@lists.osgeo.org
> > Betreff: Re: [Qgis-user] QGIS 3 - Joins
> >
> > Another way would be to leave the joining up to Postgres, i.e. create
> > a VIEW with the Join and load that view as a layer in QGIS...
> > --
> > Barend Köbben
> >
> > On 18/10/2019, 10:16, "Qgis-user on behalf of
> > burghardt.scho...@stadt.wolfsburg.de"
> >  > on behalf of burghardt.scho...@stadt.wolfsburg.de> wrote:
> >
> > Dear list,
> >
> > I have a postgres layer that is connected to other postgres lookup
> > tables via joins. QGIS does not take these joins into account when
> > copying a layer (to another project) or when creating style or layer
> > files. This is really annoying if you have to rebuild the joins by
> > hand over and over again. Am I doing something wrong? In the dialog
> > window "Edit Vector Join" I see no further ways. I only activated the option
> "Cache join layer in virtual memory".
> >
> > Any hint is appreciated, thanks.
> > I'm using QGIS LTR 3.4.12
> >
> > Regards
> > Burghardt
> >
> > ***
> >
> > Stadt Wolfsburg
> > Geschäftsbereich IT - 15-3 GIS
> > Rathaus E, Zi. E 313, Porschestraße 47A, D-38440 Wolfsburg
> > Tel +49 5361 28-2531
> > Fax +49 5361 28-1765
> > mailto:burghardt.scho...@stadt.wolfsburg.de
> >
> >
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 - Joins

2019-10-18 Thread Burghardt.Scholle
Hi Barend,

you're right, I know this way and use it a lot as well. Unfortunately I have to 
edit features in this layer and that doesn't work with views.

Burghardt

> -Ursprüngliche Nachricht-
> Von: b.j.kob...@utwente.nl [mailto:b.j.kob...@utwente.nl]
> Gesendet: Freitag, 18. Oktober 2019 11:53
> An: Scholle, Burghardt (15-3 GIS); qgis-user@lists.osgeo.org
> Betreff: Re: [Qgis-user] QGIS 3 - Joins
> 
> Another way would be to leave the joining up to Postgres, i.e. create a VIEW
> with the Join and load that view as a layer in QGIS...
> --
> Barend Köbben
> 
> On 18/10/2019, 10:16, "Qgis-user on behalf of
> burghardt.scho...@stadt.wolfsburg.de"  on behalf of burghardt.scho...@stadt.wolfsburg.de> wrote:
> 
> Dear list,
> 
> I have a postgres layer that is connected to other postgres lookup tables 
> via
> joins. QGIS does not take these joins into account when copying a layer (to
> another project) or when creating style or layer files. This is really 
> annoying if
> you have to rebuild the joins by hand over and over again. Am I doing
> something wrong? In the dialog window "Edit Vector Join" I see no further
> ways. I only activated the option "Cache join layer in virtual memory".
> 
> Any hint is appreciated, thanks.
> I'm using QGIS LTR 3.4.12
> 
> Regards
> Burghardt
> 
> ***
> 
> Stadt Wolfsburg
> Geschäftsbereich IT - 15-3 GIS
> Rathaus E, Zi. E 313, Porschestraße 47A, D-38440 Wolfsburg
> Tel +49 5361 28-2531
> Fax +49 5361 28-1765
> mailto:burghardt.scho...@stadt.wolfsburg.de
> 
> 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

___
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 - Joins

2019-10-18 Thread b.j.kob...@utwente.nl
Another way would be to leave the joining up to Postgres, i.e. create a VIEW 
with the Join and load that view as a layer in QGIS...
-- 
Barend Köbben

On 18/10/2019, 10:16, "Qgis-user on behalf of 
burghardt.scho...@stadt.wolfsburg.de"  wrote:

Dear list,

I have a postgres layer that is connected to other postgres lookup tables 
via joins. QGIS does not take these joins into account when copying a layer (to 
another project) or when creating style or layer files. This is really annoying 
if you have to rebuild the joins by hand over and over again. Am I doing 
something wrong? In the dialog window "Edit Vector Join" I see no further ways. 
I only activated the option "Cache join layer in virtual memory". 

Any hint is appreciated, thanks. 
I'm using QGIS LTR 3.4.12

Regards
Burghardt

***

Stadt Wolfsburg
Geschäftsbereich IT - 15-3 GIS
Rathaus E, Zi. E 313, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de



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

___
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 - Joins

2019-10-18 Thread Burghardt.Scholle
Hi Alessandro,

good news, thanks for your reply and to your customer.

Regards
Burghardt

Von: Alessandro Pasotti [mailto:apaso...@gmail.com]
Gesendet: Freitag, 18. Oktober 2019 10:27
An: Scholle, Burghardt (15-3 GIS)
Cc: qgis-user
Betreff: Re: [Qgis-user] QGIS 3 - Joins



On Fri, Oct 18, 2019 at 10:15 AM 
mailto:burghardt.scho...@stadt.wolfsburg.de>>
 wrote:
Dear list,

I have a postgres layer that is connected to other postgres lookup tables via 
joins. QGIS does not take these joins into account when copying a layer (to 
another project) or when creating style or layer files. This is really annoying 
if you have to rebuild the joins by hand over and over again. Am I doing 
something wrong? In the dialog window "Edit Vector Join" I see no further ways. 
I only activated the option "Cache join layer in virtual memory".

Hi,

It's a known issue, the root cause is that the relations/joins are stored by 
QGIS using the layer ID (which is unique) so the relations are lost in case of 
layer copy or save/load from a style file, the good new is that I've got a 
customer that has committed some budget to fix this problem and I'll start to 
work on that soon.

The solution would imply storing some more information about the layers that 
compose a relation so that we can at try to reconstruct the relation by 
searching for "similar" layers in the existing project before giving up with a 
broken relation/join.

The same issue applies to the value-relation widget.

--
Alessandro Pasotti
w3:   www.itopen.it<http://www.itopen.it>
___
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 - Joins

2019-10-18 Thread Alessandro Pasotti
On Fri, Oct 18, 2019 at 10:15 AM 
wrote:

> Dear list,
>
> I have a postgres layer that is connected to other postgres lookup tables
> via joins. QGIS does not take these joins into account when copying a layer
> (to another project) or when creating style or layer files. This is really
> annoying if you have to rebuild the joins by hand over and over again. Am I
> doing something wrong? In the dialog window "Edit Vector Join" I see no
> further ways. I only activated the option "Cache join layer in virtual
> memory".
>

Hi,

It's a known issue, the root cause is that the relations/joins are stored
by QGIS using the layer ID (which is unique) so the relations are lost in
case of layer copy or save/load from a style file, the good new is that
I've got a customer that has committed some budget to fix this problem and
I'll start to work on that soon.

The solution would imply storing some more information about the layers
that compose a relation so that we can at try to reconstruct the relation
by searching for "similar" layers in the existing project before giving up
with a broken relation/join.

The same issue applies to the value-relation widget.

-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 3 - Joins

2019-10-18 Thread Burghardt.Scholle
Dear list,

I have a postgres layer that is connected to other postgres lookup tables via 
joins. QGIS does not take these joins into account when copying a layer (to 
another project) or when creating style or layer files. This is really annoying 
if you have to rebuild the joins by hand over and over again. Am I doing 
something wrong? In the dialog window "Edit Vector Join" I see no further ways. 
I only activated the option "Cache join layer in virtual memory". 

Any hint is appreciated, thanks. 
I'm using QGIS LTR 3.4.12

Regards
Burghardt

***

Stadt Wolfsburg
Geschäftsbereich IT - 15-3 GIS
Rathaus E, Zi. E 313, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de



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

Re: [Qgis-user] QGIS 3 copy style form from one attribute table to another (both no geometry) does not seem to work

2019-09-19 Thread Janneke van Dijk
Thanks for confirming, Matthias (and bummer - I was hoping I had 
overlooked something :-) ). Will open a ticket.

Janneke

On 18/09/2019 16:38, Matthias Kuhn wrote:

Hi Janneke,

Sounds very much like a bug to me (or a very desirable feature, 
depending on the point of view). Can you open a ticket for that?


Thanks a lot

Matthias

On 9/18/19 3:00 PM, Janneke van Dijk wrote:

Dear List,
The work around seems to be to save the style as .qml and then load 
it for the other layer. I would still like to know if it is expected 
that copy style does not work in this case or that this is a bug.

thanks,
Janneke

On 18/09/2019 15:56, Janneke van Dijk wrote:

Dear List,

I have prepared a drag and drop designer form with several 
containers, and I would like to use the same form for another table 
with the same structure. Both tables do not contain geometry and are 
layers in two different geopackage files. I thought it should be 
possible to click Style>copy>all on the layer containing the correct 
form, then Style>paste>all on the layer where I would like to have 
the drag and drop form. When I do it, nothing seems to happen - the 
form remains 'autogenerate' with all attributes listed.


Should this work? Should I do something else? File a bug report? Is 
there a work around?


Thanks for thinking along,

Janneke




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


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



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

Re: [Qgis-user] QGIS 3 copy style form from one attribute table to another (both no geometry) does not seem to work

2019-09-18 Thread Matthias Kuhn

Hi Janneke,

Sounds very much like a bug to me (or a very desirable feature, 
depending on the point of view). Can you open a ticket for that?


Thanks a lot

Matthias

On 9/18/19 3:00 PM, Janneke van Dijk wrote:

Dear List,
The work around seems to be to save the style as .qml and then load it 
for the other layer. I would still like to know if it is expected that 
copy style does not work in this case or that this is a bug.

thanks,
Janneke

On 18/09/2019 15:56, Janneke van Dijk wrote:

Dear List,

I have prepared a drag and drop designer form with several 
containers, and I would like to use the same form for another table 
with the same structure. Both tables do not contain geometry and are 
layers in two different geopackage files. I thought it should be 
possible to click Style>copy>all on the layer containing the correct 
form, then Style>paste>all on the layer where I would like to have 
the drag and drop form. When I do it, nothing seems to happen - the 
form remains 'autogenerate' with all attributes listed.


Should this work? Should I do something else? File a bug report? Is 
there a work around?


Thanks for thinking along,

Janneke




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


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

Re: [Qgis-user] QGIS 3 copy style form from one attribute table to another (both no geometry) does not seem to work

2019-09-18 Thread Janneke van Dijk

Dear List,
The work around seems to be to save the style as .qml and then load it 
for the other layer. I would still like to know if it is expected that 
copy style does not work in this case or that this is a bug.

thanks,
Janneke

On 18/09/2019 15:56, Janneke van Dijk wrote:

Dear List,

I have prepared a drag and drop designer form with several containers, 
and I would like to use the same form for another table with the same 
structure. Both tables do not contain geometry and are layers in two 
different geopackage files. I thought it should be possible to click 
Style>copy>all on the layer containing the correct form, then 
Style>paste>all on the layer where I would like to have the drag and 
drop form. When I do it, nothing seems to happen - the form remains 
'autogenerate' with all attributes listed.


Should this work? Should I do something else? File a bug report? Is 
there a work around?


Thanks for thinking along,

Janneke




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

[Qgis-user] QGIS 3 copy style form from one attribute table to another (both no geometry) does not seem to work

2019-09-18 Thread Janneke van Dijk

Dear List,

I have prepared a drag and drop designer form with several containers, 
and I would like to use the same form for another table with the same 
structure. Both tables do not contain geometry and are layers in two 
different geopackage files. I thought it should be possible to click 
Style>copy>all on the layer containing the correct form, then 
Style>paste>all on the layer where I would like to have the drag and 
drop form. When I do it, nothing seems to happen - the form remains 
'autogenerate' with all attributes listed.


Should this work? Should I do something else? File a bug report? Is 
there a work around?


Thanks for thinking along,

Janneke

___
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.X on Chromebook

2019-05-02 Thread Luca Manganelli
Il giorno mar 30 apr 2019 alle ore 22:12 Michael Jabot <
michael.ja...@fredonia.edu> ha scritto:
> I am trying to help a set of teachers that would like to run QGIS on
Chromebooks. We were able to install 2.14 but would like to be able to run
3.X.
>
> The installation runs from the Linux terminal.
>
> Has anyone had any luck doing this?

You could try to install Docker on Chromebook and then qgis 3 from
dockerhub:

https://hub.docker.com/r/camptocamp/qgis-server   (see "Running qgis
client")
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 3.X on Chromebook

2019-04-30 Thread Michael Jabot
I am trying to help a set of teachers that would like to run QGIS on
Chromebooks. We were able to install 2.14 but would like to be able to run
3.X.

The installation runs from the Linux terminal.

Has anyone had any luck doing this?

Thank you in advance for any help you can offer.

Mike Jabot
-- 

**
Michael Jabot, Ph.D.
Professor, Science Education
US Partner - GLOBE Program
NASA Earth Ambassador
Director, Institute for Research in Science Teaching
State University of New York at Fredonia
E250 Thompson Hall
Fredonia, NY  14063
716.320-0189 (Google Voice)
ja...@fredonia.edu

**
___
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 Frozen

2019-03-06 Thread Randal Hale
Start QGIS and go to Settings -> User Profiles -> New Profiles. QGIS may 
not freeze with a new one. I don't know if that answers your questions 
but it is something to test that maybe sheds some light on things.


It will reset your plugins for the new profile - which would lead me to 
believe something in your plugins is crashing QGISpossibly something 
in your profile is causing it to crash.


Good Luck!

Randy

On 3/6/19 7:15 AM, Martin Bittens wrote:


Hello Colleagues,

here an update about problems with the plugin manager (as described in 
my previous email):


By incidence I discovered that my internet connection via the wifi 
router changed from 2.4GHz to 5GHz. That means I did the download and 
installation of the QGIS updates using the 5GHz connection (without 
any problems). Starting QGIS and trying to open the plugin manger led 
to a frozen QGIS, as already mentioned. Just because I didn't get any 
idea how to solve the problem I switched the internet connection back 
to 2.4GHZ (remembering that in the past I always used this connection 
and didn't get any problems with the plugin manager).


The result: In QGIS 3.7.0 and 3.6.0 the plugin manager is working, in 
QGIS 3.4.5 I got this:



The 'Copy Report' button is greyed out, creation of a report does not 
work.



Can anybody give an explanation what is going on with QGIS?

I do not understand:

1.) why the use of the plugin manager is depending on the type of the 
internet connection (2.4GHz/5GHz) and


2.) why QGIS 3.4.5 is crashing anyway independent if I am using a 
2.4GHz or a 5GHz connection?



Thank you for your help.


Martin



Am 3/5/2019 um 12:24 PM schrieb Martin Bittens:

Hello Colleagues,

After I made the latest update I don´t get access to the plugin 
manager. Clicking on 'Plugins - Manage and Install Plugins...' QGIS 
stops to work. No error message appears, and to close QGIS I need to 
use the windows task manager. Currently, there are 3 QGIS versions on 
my computer:


QGIS 3.4.5

QGIS 3.6.0

QGIS 3.7.0

The result is always the same. QGIS is frozen.

I am working with Windows 10.

Does anybody know what is the reason for that error?

Thank your for your help.



Martin




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
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


 
	Virus-free. www.avast.com 
 



<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

___
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


--
--
Randal Hale
rjh...@northrivergeographic.com
https://www.northrivergeographic.com
(423)653-3611

___
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 Frozen

2019-03-06 Thread Martin Bittens

Hello Colleagues,

here an update about problems with the plugin manager (as described in 
my previous email):


By incidence I discovered that my internet connection via the wifi 
router changed from 2.4GHz to 5GHz. That means I did the download and 
installation of the QGIS updates using the 5GHz connection (without any 
problems). Starting QGIS and trying to open the plugin manger led to a 
frozen QGIS, as already mentioned. Just because I didn't get any idea 
how to solve the problem I switched the internet connection back to 
2.4GHZ (remembering that in the past I always used this connection and 
didn't get any problems with the plugin manager).


The result: In QGIS 3.7.0 and 3.6.0 the plugin manager is working, in 
QGIS 3.4.5 I got this:



The 'Copy Report' button is greyed out, creation of a report does not work.


Can anybody give an explanation what is going on with QGIS?

I do not understand:

1.) why the use of the plugin manager is depending on the type of the 
internet connection (2.4GHz/5GHz) and


2.) why QGIS 3.4.5 is crashing anyway independent if I am using a 2.4GHz 
or a 5GHz connection?



Thank you for your help.


Martin



Am 3/5/2019 um 12:24 PM schrieb Martin Bittens:

Hello Colleagues,

After I made the latest update I don´t get access to the plugin 
manager. Clicking on 'Plugins - Manage and Install Plugins...' QGIS 
stops to work. No error message appears, and to close QGIS I need to 
use the windows task manager. Currently, there are 3 QGIS versions on 
my computer:


QGIS 3.4.5

QGIS 3.6.0

QGIS 3.7.0

The result is always the same. QGIS is frozen.

I am working with Windows 10.

Does anybody know what is the reason for that error?

Thank your for your help.



Martin




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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

[Qgis-user] QGIS 3 Frozen

2019-03-05 Thread Martin Bittens

Hello Colleagues,

After I made the latest update I don´t get access to the plugin manager. 
Clicking on 'Plugins - Manage and Install Plugins...' QGIS stops to 
work. No error message appears, and to close QGIS I need to use the 
windows task manager. Currently, there are 3 QGIS versions on my computer:


QGIS 3.4.5

QGIS 3.6.0

QGIS 3.7.0

The result is always the same. QGIS is frozen.

I am working with Windows 10.

Does anybody know what is the reason for that error?

Thank your for your help.



Martin




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
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 - Postgres Authentication Issue

2019-01-14 Thread Luigi Pirelli
can you describe better the use case? I suppose you can't share project and
db connection, so you need to give us steps to replicate the issue starting
from a clean qgis profile.

remember that side effects can be introduced by plugins that are not using
correctly the qgis authentication infrastructure (if you use it). How do
you use the authentication? saving pwd int he project or in the qgis auth
infrastructure that need use of a master password?

Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
*
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**


On Thu, 10 Jan 2019 at 12:01, Ungerboeck, Erhard 
wrote:

> Hello,
>
>
>
> we are using QGIS  with a Postgres database where each different user (in
> total about 20 ) each have their own login credentials. Since we changed
> from QGIS 2.18 to QGIS 3 when opening a project QGIS always asks for the
> login data twice. I didn’t change anything in the database / server. This
> is rather annoying, any ideas how I can change that or can find further
> information / help?
>
>
>
> Best regards,
>
> Erhard
>
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 3 - Postgres Authentication Issue

2019-01-10 Thread Ungerboeck, Erhard
Hello,

we are using QGIS  with a Postgres database where each different user (in total 
about 20 ) each have their own login credentials. Since we changed from QGIS 
2.18 to QGIS 3 when opening a project QGIS always asks for the login data 
twice. I didn't change anything in the database / server. This is rather 
annoying, any ideas how I can change that or can find further information / 
help?

Best regards,
Erhard


___
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 - Deactivate "boxes" around labels

2019-01-10 Thread Nyall Dawson
On Thu., 10 Jan. 2019, 18:13 Anna Hujber  Hey community,
>
> I use 3.4.3-Madeira on a Ubuntu 18.04.1 LTS.
>
> I was modifying labels on a map when several rectangles appeared around
> and next to the labels. I ignored them first cuz I was busy working on
> making a label appear again I had hidden before and thought the display of
> boxes belonged to one of the labeling tools I was working with. When I had
> arranged my issue, I intended to deactivate the rectangles that had
> appeared around all labels of all layers, assuming that I had somehow
> somewhere clicked on a special view option. However, until now I was not
> able to figure out what those boxes are, how I had made them appear in
> first place and how to get rid of them again.
>
> They also show up in the print layout and on the exported pdf. When I
> click on "new map view", though, they are not shown in the new view.
> Deactivating labels and reactivating them did not change anything.
> Moreover, it is something that applies to all layers, so modifying a
> specific layer's label options should not bring any solution.
>
>From the label setting for one of your layers, look for the little button
in the top right which has a blue/yellow four arrow symbol. Click that, and
then uncheck "draw label candidates"

Nyall

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

[Qgis-user] QGIS 3 - Deactivate "boxes" around labels

2019-01-10 Thread Anna Hujber

Hey community,

I use 3.4.3-Madeira on a Ubuntu 18.04.1 LTS.

I was modifying labels on a map when several rectangles appeared around 
and next to the labels. I ignored them first cuz I was busy working on 
making a label appear again I had hidden before and thought the display 
of boxes belonged to one of the labeling tools I was working with. When 
I had arranged my issue, I intended to deactivate the rectangles that 
had appeared around all labels of all layers, assuming that I had 
somehow somewhere clicked on a special view option. However, until now I 
was not able to figure out what those boxes are, how I had made them 
appear in first place and how to get rid of them again.


They also show up in the print layout and on the exported pdf. When I 
click on "new map view", though, they are not shown in the new view. 
Deactivating labels and reactivating them did not change anything. 
Moreover, it is something that applies to all layers, so modifying a 
specific layer's label options should not bring any solution.


Thank you,

Anna

___
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 Interface Customisation

2019-01-03 Thread Andreas Neumann

Hi Paul,

Glad it helped.

The locator toolbar has a lot of hidden gems and it can be extended with 
your own plugins, e.g. with local gazeteers, queries of your local data 
sources, etc. There are already some locator plugins available in the 
QGIS plugin repo.


Greetings,

Andreas

Am 03.01.19 um 15:22 schrieb Paul Wittle:


Hi,

Brilliant, that does work perfectly!

Of course it wouldn’t if you really did want to restrict access to 
that functionality but in my case I’m just trying to prevent the users 
being confused so it works perfectly for me.


Cheers,

Paul

*From:*Qgis-user  *On Behalf Of 
*Andreas Neumann

*Sent:* 03 January 2019 13:38
*To:* qgis-user@lists.osgeo.org
*Subject:* Re: [Qgis-user] QGIS 3 Interface Customisation

Hi Paul,

Have you tried accessing the Options from the "Locator toolbar" in the 
bottom left? Just type in "General" or "System" and open it from the 
Locator toolbar.


Perhaps that would still work if the "Settings" menu is disabled? I 
haven't tried it though - so not sure if it would work.


Greetings,
Andreas

Am 03.01.19 um 13:21 schrieb Luigi Pirelli:

IMHO a good feature request


Luigi Pirelli


**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange:
http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
*

https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg

**

On Thu, 3 Jan 2019 at 12:41, Paul Wittle mailto:p.wit...@dorsetcc.gov.uk>> wrote:

Hello,

I’m trying to create a cut down profile for QGIS 3 to deploy
as a viewer for low end users. I don’t want to display the
settings menu but I do want to be able to access it via
keyboard shortcuts so I setup keyboard shortcuts for “Options”
as an example. Unfortunately the keyboard shortcut doesn’t
appear to work if the settings menu is set to false using the
interface customisation.

Is this behaviour what you would expect and if so, would it be
worth a feature request to change it?

As I see it you really have three options:

  * Display
  * Hide
  * Hide and disable

The current versions seems to only have the option to display
or disable the options but I’m trying to change the menu not
disable functionality.

Best Regards,

Paul Wittle

GIS Developer

Insight, Intelligence & Performance

County Hall

Dorchester

Dorset. DT1 1XJ

Tel: 01305 228473

E mail: p.wit...@dorsetcc.gov.uk
<mailto:p.wit...@dorsetcc.gov.uk>

"This e-mail is intended for the named addressee(s) only and
may contain information about individuals or other sensitive
information and should be handled accordingly. Unless you are
the named addressee (or authorised to receive it for the
addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this email in error, kindly
disregard the content of the message and notify the sender
immediately. Please be aware that all email may be subject to
recording and/or monitoring in accordance with relevant
legislation."

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



___

Qgis-user mailing list

Qgis-user@lists.osgeo.org  <mailto:Qgis-user@lists.osgeo.org>

List info:https://lists.osgeo.org/mailman/listinfo/qgis-user

Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user

"This e-mail is intended for the named addressee(s) only and may 
contain information about individuals or other sensitive information 
and should be handled accordingly. Unless you are the named addressee 
(or authorised to receive it for the addressee) you may not copy or 
use it, or disclose it to anyone else. If you have received this email 
in error, kindly disregard the content of the message and notify the 
sender immediately. Please be aware that all email may be subject to 
recording and/or monitoring in accordance with relevant legislation." 
___

Re: [Qgis-user] QGIS 3 Interface Customisation

2019-01-03 Thread Paul Wittle
Hi,

Brilliant, that does work perfectly!

Of course it wouldn’t if you really did want to restrict access to that 
functionality but in my case I’m just trying to prevent the users being 
confused so it works perfectly for me.

Cheers,
Paul

From: Qgis-user  On Behalf Of Andreas Neumann
Sent: 03 January 2019 13:38
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] QGIS 3 Interface Customisation


Hi Paul,

Have you tried accessing the Options from the "Locator toolbar" in the bottom 
left? Just type in "General" or "System" and open it from the Locator toolbar.

Perhaps that would still work if the "Settings" menu is disabled? I haven't 
tried it though - so not sure if it would work.

Greetings,
Andreas
Am 03.01.19 um 13:21 schrieb Luigi Pirelli:
IMHO a good feature request

Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* 
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**


On Thu, 3 Jan 2019 at 12:41, Paul Wittle 
mailto:p.wit...@dorsetcc.gov.uk>> wrote:
Hello,

I’m trying to create a cut down profile for QGIS 3 to deploy as a viewer for 
low end users. I don’t want to display the settings menu but I do want to be 
able to access it via keyboard shortcuts so I setup keyboard shortcuts for 
“Options” as an example. Unfortunately the keyboard shortcut doesn’t appear to 
work if the settings menu is set to false using the interface customisation.

Is this behaviour what you would expect and if so, would it be worth a feature 
request to change it?

As I see it you really have three options:

  *   Display
  *   Hide
  *   Hide and disable

The current versions seems to only have the option to display or disable the 
options but I’m trying to change the menu not disable functionality.

Best Regards,

Paul Wittle
GIS Developer
Insight, Intelligence & Performance

County Hall
Dorchester
Dorset. DT1 1XJ
Tel: 01305 228473
E mail: p.wit...@dorsetcc.gov.uk<mailto:p.wit...@dorsetcc.gov.uk>

"This e-mail is intended for the named addressee(s) only and may contain 
information about individuals or other sensitive information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this email in error, kindly disregard the 
content of the message and notify the sender immediately. Please be aware that 
all email may be subject to recording and/or monitoring in accordance with 
relevant legislation."
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org<mailto: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<mailto:Qgis-user@lists.osgeo.org>

List info: https://lists.osgeo.org/mailman/listinfo/qgis-user

Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

"This e-mail is intended for the named addressee(s) only and may contain 
information about individuals or other sensitive information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this email in error, kindly disregard the 
content of the message and notify the sender immediately. Please be aware that 
all email may be subject to recording and/or monitoring in accordance with 
relevant legislation."
___
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 Interface Customisation

2019-01-03 Thread Andreas Neumann

Hi Paul,

Have you tried accessing the Options from the "Locator toolbar" in the 
bottom left? Just type in "General" or "System" and open it from the 
Locator toolbar.


Perhaps that would still work if the "Settings" menu is disabled? I 
haven't tried it though - so not sure if it would work.


Greetings,
Andreas

Am 03.01.19 um 13:21 schrieb Luigi Pirelli:

IMHO a good feature request

Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* 
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition

* Hire me: http://goo.gl/BYRQKg
**


On Thu, 3 Jan 2019 at 12:41, Paul Wittle > wrote:


Hello,

I’m trying to create a cut down profile for QGIS 3 to deploy as a
viewer for low end users. I don’t want to display the settings
menu but I do want to be able to access it via keyboard shortcuts
so I setup keyboard shortcuts for “Options” as an example.
Unfortunately the keyboard shortcut doesn’t appear to work if the
settings menu is set to false using the interface customisation.

Is this behaviour what you would expect and if so, would it be
worth a feature request to change it?

As I see it you really have three options:

  * Display
  * Hide
  * Hide and disable

The current versions seems to only have the option to display or
disable the options but I’m trying to change the menu not disable
functionality.

Best Regards,

Paul Wittle

GIS Developer

Insight, Intelligence & Performance

County Hall

Dorchester

Dorset. DT1 1XJ

Tel: 01305 228473

E mail: p.wit...@dorsetcc.gov.uk 

"This e-mail is intended for the named addressee(s) only and may
contain information about individuals or other sensitive
information and should be handled accordingly. Unless you are the
named addressee (or authorised to receive it for the addressee)
you may not copy or use it, or disclose it to anyone else. If you
have received this email in error, kindly disregard the content of
the message and notify the sender immediately. Please be aware
that all email may be subject to recording and/or monitoring in
accordance with relevant legislation."
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org 
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

Re: [Qgis-user] QGIS 3 Interface Customisation

2019-01-03 Thread Luigi Pirelli
IMHO a good feature request

Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
*
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**


On Thu, 3 Jan 2019 at 12:41, Paul Wittle  wrote:

> Hello,
>
>
>
> I’m trying to create a cut down profile for QGIS 3 to deploy as a viewer
> for low end users. I don’t want to display the settings menu but I do want
> to be able to access it via keyboard shortcuts so I setup keyboard
> shortcuts for “Options” as an example. Unfortunately the keyboard shortcut
> doesn’t appear to work if the settings menu is set to false using the
> interface customisation.
>
>
>
> Is this behaviour what you would expect and if so, would it be worth a
> feature request to change it?
>
>
>
> As I see it you really have three options:
>
>- Display
>- Hide
>- Hide and disable
>
>
>
> The current versions seems to only have the option to display or disable
> the options but I’m trying to change the menu not disable functionality.
>
>
>
> Best Regards,
>
>
>
> Paul Wittle
>
> GIS Developer
>
> Insight, Intelligence & Performance
>
>
>
> County Hall
>
> Dorchester
>
> Dorset. DT1 1XJ
>
> Tel: 01305 228473
>
> E mail: p.wit...@dorsetcc.gov.uk
>
>
> "This e-mail is intended for the named addressee(s) only and may contain
> information about individuals or other sensitive information and should be
> handled accordingly. Unless you are the named addressee (or authorised to
> receive it for the addressee) you may not copy or use it, or disclose it to
> anyone else. If you have received this email in error, kindly disregard the
> content of the message and notify the sender immediately. Please be aware
> that all email may be subject to recording and/or monitoring in accordance
> with relevant legislation."
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 3 Interface Customisation

2019-01-03 Thread Paul Wittle
Hello,

I'm trying to create a cut down profile for QGIS 3 to deploy as a viewer for 
low end users. I don't want to display the settings menu but I do want to be 
able to access it via keyboard shortcuts so I setup keyboard shortcuts for 
"Options" as an example. Unfortunately the keyboard shortcut doesn't appear to 
work if the settings menu is set to false using the interface customisation.

Is this behaviour what you would expect and if so, would it be worth a feature 
request to change it?

As I see it you really have three options:

  *   Display
  *   Hide
  *   Hide and disable

The current versions seems to only have the option to display or disable the 
options but I'm trying to change the menu not disable functionality.

Best Regards,

Paul Wittle
GIS Developer
Insight, Intelligence & Performance

County Hall
Dorchester
Dorset. DT1 1XJ
Tel: 01305 228473
E mail: p.wit...@dorsetcc.gov.uk

"This e-mail is intended for the named addressee(s) only and may contain 
information about individuals or other sensitive information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this email in error, kindly disregard the 
content of the message and notify the sender immediately. Please be aware that 
all email may be subject to recording and/or monitoring in accordance with 
relevant legislation."
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 3 quit unexpectedly ... when i close it - MacOS 10.13.6 High Sierra

2018-09-21 Thread Manolo Terranova
"QGIS 3 quit unexpectedly" ... when i close it.
OS: MacOS 10.13.6 High Sierra

Why?

Any fix?

Thanks,
Manolo
___
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 Standalone Python Script

2018-08-13 Thread DT
Just had another standalone path issue.  Not sure if this is a Shapely bug,
QGIS packaging bug, or maybe not a bug at all, just a path issue.  Again,
versions:
OSX, version 10.13.6
Python 3.6.6
QGIS 3.2.1

In python, I tried:

`from shapely.geos import geos_version`

and got the following error:

Traceback (most recent call last):
  File "", line 1, in 
  File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/shapely/geos.py",
line 111, in 
_lgeos = load_dll('geos_c', fallbacks=alt_paths)
  File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/shapely/geos.py",
line 56, in load_dll
libname, fallbacks or []))
OSError: Could not find lib geos_c or load any of its variants
['/Library/Frameworks/GEOS.framework/Versions/Current/GEOS',
'/opt/local/lib/libgeos_c.dylib'].

Shapely and the GEOS framework were installed by the QGIS 3.2.1 install.
After further digging, it turns out that
`/Library/Frameworks/GEOS.framework/Versions/Current` is a symbolic link to
version `3`, but there is no version `3`, just a version `3B`.  The fix was
to export the DYLD_LIBRARY_PATH in the shell or add it directly into the
script (or alternatively I could have changed the symbolic link):

shell - `export
DYLD_LIBRARY_PATH=/Library/Frameworks/GEOS.framework/Versions/3B/unix/lib`
script - `os.environ['DYLD_LIBRARY_PATH'] =
'/Library/Frameworks/GEOS.framework/Versions/3B/unix/lib'`

DT

On Mon, Aug 6, 2018 at 2:47 PM, DT  wrote:

> Thanks William!  All is working now.
>
> Chris - here's what is working for me:
> https://gist.github.com/dmofot/94345126db10660053ccfb0d76a1e32a
>
> and I'm just passing the layers (full path) into the script.  For example,
> /Users//Documents/
>
> DT
>
>
___
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 on CentOS

2018-08-07 Thread Matthias Kuhn
Hi Valentin,

I meant in the first line, I would consider switching to another
distribution if you want to use QGIS 3. In this sense yes, if you are
bound to this CentOS distribution I would recommend to stick to 2.18 or
look for a way to run QGIS in a virtualized environment.

Best regards

Matthias


On 08/07/2018 04:33 PM, vprint92 wrote:
> "I would recommend to use
> another distribution with Qt 5.10 or newer."
>
> By this you mean an older version of QGIS such as 2.18 / 2.14 right ?
>
> Valentin
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>

-- 
Matthias Kuhn
matth...@opengis.ch 
+41 (0)76 435 67 63 
OPENGIS.ch Logo 
___
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 on CentOS

2018-08-07 Thread vprint92
"I would recommend to use
another distribution with Qt 5.10 or newer."

By this you mean an older version of QGIS such as 2.18 / 2.14 right ?

Valentin



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 Standalone Python Script

2018-08-06 Thread DT
Thanks William!  All is working now.

Chris - here's what is working for me:
https://gist.github.com/dmofot/94345126db10660053ccfb0d76a1e32a

and I'm just passing the layers (full path) into the script.  For example,
/Users//Documents/

DT

On Mon, Aug 6, 2018 at 11:03 AM, Chris B  wrote:

> Thanks so much for helping out with this.
>
> The script now no longer fails looking for Qt, great!
>
> But I'm still getting a very basic error -- loading a layer from the file
> system doesn't work.  Here's the script:
>
> import sys
>
> sys.path.insert(0,'/Applications/QGIS3.app/Contents/Frameworks/')
> sys.path.insert(0,'/Applications/QGIS3.app/Contents/Resources/python/')
> sys.path.insert(0,'/Applications/QGIS3.app/Contents/Resources/python/
> plugins')
>
> from qgis.core import (
>  QgsApplication,
>  QgsProcessingFeedback,
>  QgsVectorLayer
> )
> from qgis.analysis import QgsNativeAlgorithms
>
> # Start the QGIS App
>
> qgs = QgsApplication([], False)
> qgs.initQgis()
>
> # Start Processing plugin
>
> import processing
> from processing.core.Processing import Processing
> Processing.initialize()
> QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms())
>
> # Load Layer
>
> layer = QgsVectorLayer('21185.shp', 'my layer', 'ogr')
>
> if not layer.isValid():
>   print("Layer failed to load!")
>
> # Set parameters
>
> params = {
> 'INPUT': layer,
> 'OUTPUT': 'memory:'
> }
> feedback = QgsProcessingFeedback()
>
> # Run processing algorithm
>
> res = processing.run("native:extractvertices", params, feedback=feedback)
> res['OUTPUT'] # Access your output layer
>
> When I test for layer validity, it says the layer fails to load and then
> segfaults (which makes sense since the object is null).
>
> I tried referring to the file locally (eg. 'file.shp') and from the root of
> the drive ('/Users/[user]/path/to/script/file.shp') and neither worked.
>
> Am I missing something for QgsVectorLayer to work?  Seems like an odd
> error.
>
> Thanks again,
> C.
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user 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 Standalone Python Script

2018-08-06 Thread Chris B
Thanks so much for helping out with this.

The script now no longer fails looking for Qt, great!

But I'm still getting a very basic error -- loading a layer from the file
system doesn't work.  Here's the script:

import sys
 
sys.path.insert(0,'/Applications/QGIS3.app/Contents/Frameworks/')
sys.path.insert(0,'/Applications/QGIS3.app/Contents/Resources/python/')
sys.path.insert(0,'/Applications/QGIS3.app/Contents/Resources/python/plugins')
 
from qgis.core import (
 QgsApplication, 
 QgsProcessingFeedback, 
 QgsVectorLayer
)
from qgis.analysis import QgsNativeAlgorithms

# Start the QGIS App

qgs = QgsApplication([], False)
qgs.initQgis()

# Start Processing plugin

import processing
from processing.core.Processing import Processing
Processing.initialize()
QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms())

# Load Layer

layer = QgsVectorLayer('21185.shp', 'my layer', 'ogr')

if not layer.isValid():
  print("Layer failed to load!")

# Set parameters

params = {
'INPUT': layer,
'OUTPUT': 'memory:'
}
feedback = QgsProcessingFeedback()

# Run processing algorithm

res = processing.run("native:extractvertices", params, feedback=feedback)
res['OUTPUT'] # Access your output layer

When I test for layer validity, it says the layer fails to load and then
segfaults (which makes sense since the object is null).

I tried referring to the file locally (eg. 'file.shp') and from the root of
the drive ('/Users/[user]/path/to/script/file.shp') and neither worked.

Am I missing something for QgsVectorLayer to work?  Seems like an odd error.

Thanks again,
C.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 Standalone Python Script

2018-08-06 Thread William Kyngesburye
Found the solution.  Qt5 is having trouble figuring out its plugin path 
relative to its frameworks (I don't know if it's a bug or not), you need to 
tell it with:

export QT_QPA_PLATFORM_PLUGIN_PATH=/Applications/QGIS3.app/Contents/Plugins

> On Aug 5, 2018, at 2:47 PM, Chris B  wrote:
> 
> Since I am having the same error as DT, I tried your suggestion but it still
> returns the same error.  Is there anything in this bash profile that would
> cause problems?
> 
> export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Applications/QGIS3.app/Contents/MacOS/lib/:/Applications/QGIS3.app/Contents/Frameworks/
> export
> PYTHONPATH=$PYTHONPATH:/Applications/QGIS3.app/Contents/MacOS/../Resources/python
> 
> export PATH=~$PYTHONPATH:$PATH
> export PATH=~/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:$PATH
> export PATH=~/Applications/QGIS3.app/Contents/Resources/python:$PATH
> 
> export PATH=~/.local/bin:$PATH
> 
> source ~/.bashrc
> 
> # Setting PATH for Python 3.6
> # The original version is saved in .bash_profile.pysave
> PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
> export PATH
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-
William Kyngesburye 
http://www.kyngchaos.com/

"Oh, look, I seem to have fallen down a deep, dark hole.  Now what does that 
remind me of?  Ah, yes - life."

- Marvin


___
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 Standalone Python Script

2018-08-06 Thread Santiago Higuera
In my linux system I need /usr/lib/python3/dist-packages, taking the 
python from QGIS (QGIS install its own python, it don't use the python 
installed in the system)



El 06/08/18 a las 03:04, Chris B escribió:

Thanks for the tip - nothing odd stands out...

['/Applications/QGIS3.app/Contents/Resources/python/plugins',
  '/Applications/QGIS3.app/Contents/Resources/python/',
  '/Users/cbarnes/scripts',
  '/Users/cbarnes/scripts',
  '/Applications/QGIS3.app/Contents/Resources/python',
  '/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip',
  '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6',

'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload',
  '/Users/cbarnes/Library/Python/3.6/lib/python/site-packages',

'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages']

Is there one that is obvious is missing?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user 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 Standalone Python Script

2018-08-05 Thread Chris B
Thanks for the tip - nothing odd stands out... 

['/Applications/QGIS3.app/Contents/Resources/python/plugins', 
 '/Applications/QGIS3.app/Contents/Resources/python/', 
 '/Users/cbarnes/scripts', 
 '/Users/cbarnes/scripts', 
 '/Applications/QGIS3.app/Contents/Resources/python', 
 '/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip', 
 '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6', 

'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload', 
 '/Users/cbarnes/Library/Python/3.6/lib/python/site-packages', 

'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages']

Is there one that is obvious is missing?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 Standalone Python Script

2018-08-05 Thread Santiago Higuera

From python console, inside QGIS, you can see the active path with:

import sys
print(sys.path)


El 05/08/18 a las 21:47, Chris B escribió:

Since I am having the same error as DT, I tried your suggestion but it still
returns the same error.  Is there anything in this bash profile that would
cause problems?

export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Applications/QGIS3.app/Contents/MacOS/lib/:/Applications/QGIS3.app/Contents/Frameworks/
export
PYTHONPATH=$PYTHONPATH:/Applications/QGIS3.app/Contents/MacOS/../Resources/python
  
export PATH=~$PYTHONPATH:$PATH

export PATH=~/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:$PATH
export PATH=~/Applications/QGIS3.app/Contents/Resources/python:$PATH

export PATH=~/.local/bin:$PATH

source ~/.bashrc

# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user 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 Standalone Python Script

2018-08-05 Thread Chris B
Since I am having the same error as DT, I tried your suggestion but it still
returns the same error.  Is there anything in this bash profile that would
cause problems?

export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Applications/QGIS3.app/Contents/MacOS/lib/:/Applications/QGIS3.app/Contents/Frameworks/
export
PYTHONPATH=$PYTHONPATH:/Applications/QGIS3.app/Contents/MacOS/../Resources/python
 
export PATH=~$PYTHONPATH:$PATH
export PATH=~/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:$PATH
export PATH=~/Applications/QGIS3.app/Contents/Resources/python:$PATH

export PATH=~/.local/bin:$PATH

source ~/.bashrc

# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 Standalone Python Script

2018-08-05 Thread William Kyngesburye
Did you install PyQt5 separately from QGIS?  It's included in the QGIS app, but 
if you append QGIS to the python path python will not see the QGIS PyQt5.

Try an insert instead:

sys.path.insert(0,'/Applications/QGIS3.app/Contents/Resources/python/')
sys.path.insert(0,'/Applications/QGIS3.app/Contents/Resources/python/plugins')


> On Aug 3, 2018, at 5:17 PM, DT  wrote:
> 
> OSX, version 10.13.6
> Python 3.6.6
> QGIS 3.2.1
> 
> QGIS itself is working fine with no errors, but I'm trying to write a 
> standalone python script that utilizes a QGIS3 tool and I keep running into 
> Qt errors.  This works fine:
> 
> import os
> import sys
> sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/')
> sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/plugins')
> from qgis.core import *
> 
> But as soon as I try to do:
> 
> app = QgsApplication([],True)
> 
> I get the following error:
> 
> >>> app = QgsApplication([],True)
> This application failed to start because it could not find or load the Qt 
> platform plugin "cocoa"
> in "".
> 
> Reinstalling the application may fix this problem.
> Abort trap: 6
> 
> Anybody have an idea where I'm going wrong?  My Google fu has only managed to 
> turn up setting paths for Windows and not OSX.  Thanks!
> 
> DT
> ___
> 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

-
William Kyngesburye 
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike.  Cheating, murdering, lying, fighting, and 
all for things that the beasts of the jungle would not deign to possess - money 
to purchase the effeminate pleasures of weaklings.  And yet withal bound down 
by silly customs that make them slaves to their unhappy lot while firm in the 
belief that they be the lords of creation enjoying the only real pleasures of 
existence

- the wisdom of Tarzan


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

[Qgis-user] QGIS 3 Standalone Python Script

2018-08-03 Thread DT
OSX, version 10.13.6
Python 3.6.6
QGIS 3.2.1

QGIS itself is working fine with no errors, but I'm trying to write a
standalone python script that utilizes a QGIS3 tool and I keep running into
Qt errors.  This works fine:

import os
import sys
sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/')
sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/plugins')
from qgis.core import *

But as soon as I try to do:

app = QgsApplication([],True)

I get the following error:

>>> app = QgsApplication([],True)
This application failed to start because it could not find or load the Qt
platform plugin "cocoa"
in "".

Reinstalling the application may fix this problem.
Abort trap: 6

Anybody have an idea where I'm going wrong?  My Google fu has only managed
to turn up setting paths for Windows and not OSX.  Thanks!

DT
___
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 on CentOS

2018-08-03 Thread Matthias Kuhn
Hi Valentin,

Thank you for reporting this. The repository unfortunately no longer
exists and packages for QGIS 3 where never available there. The link
will be removed from the download page.

I am not sure if there is an alternative repository that offers it.

The situation with CentOS is often complicated because it has a long
lifetime and libraries used by QGIS are often old and outdated. I think
it *should* be possible to get it up and running with someone who is
able to compile, but if you have a choice, I would recommend to use
another distribution with Qt 5.10 or newer.

All the best
Matthias

On 08/02/2018 07:35 PM, Valentin wrote:
> I'm trying to install qgis on CentOS 7. I followed instruction on qgis
> download page however the repository (fedora.vitu.ch
> ) seem to be broken.
> 
> I made :
> 
> sudo wget fedora.vitu.ch/EL/qgis.repo -P /etc/yum.repos.d/
> 
> then this error message appear :
> 
> Resolving fedora.vitu.ch  (fedora.vitu.ch
> )... failed: Name or service not known
> 
> wget: unable to resolve host adress âfedora.vitu.châ
> 
> 
> Any way to fix it or any alternative repository from where i can
> download qgis for CentOS ?
> 
> Valentin
> 
> ‌
> 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] qgis 3 on CentOS

2018-08-02 Thread Valentin
I'm trying to install qgis on CentOS 7. I followed instruction on qgis
download page however the repository (fedora.vitu.ch) seem to be broken.

I made :

sudo wget fedora.vitu.ch/EL/qgis.repo -P /etc/yum.repos.d/

then this error message appear :

Resolving fedora.vitu.ch (fedora.vitu.ch)... failed: Name or service not known

wget: unable to resolve host adress âfedora.vitu.châ


Any way to fix it or any alternative repository from where i can download
qgis for CentOS ?

Valentin

‌
___
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 Thread Jürgen E . Fischer
Hi Patrik,

On Wed, 18. Jul 2018 at 09:28:37 +1200, Patrick Dunford wrote:
> On 17/07/18 23:02, Andre Joost wrote:
> > 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 :-(

> Well, that's an interesting question (renaming the path to debian-ubuntu
> could be thought of?)

No one would know that without reading the download page - and everyone who did
read it should know that /debian* is for debian and ubuntu.


Jürgen


PS: There are ubuntu* symlinks now to the debian* directories.

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de


signature.asc
Description: PGP signature
___
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 Thread Patrick Dunford
Well, that's an interesting question (renaming the path to debian-ubuntu 
could be thought of?)



On 17/07/18 23:02, Andre Joost wrote:

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 :-(



___
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 Thread 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] QGIS 3 installation on Ubuntu

2018-07-16 Thread Patrick Dunford

Hi there
The core development of Qgis is on Linux so it is very well supported on 
that platform. In answer to your specific questions:
* Use the latest stable version of Ubuntu (18.04) - variants like 
Lubuntu, Xubuntu etc also work well and may be more suited to specific 
requirements.


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.


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.


On 16/07/18 23:21, Mats Elfström wrote:


Hi all!

I am in need of some advice, because I am venturing into unknown 
territory. I want to explore the Linux side of QGIS, and I want to set 
up a Linux GIS machine (Cloud based). Bear with me, because my 
computing skills are in Microsoft territory. However, they date back 
from DOS days so I would say I am sufficiently computer literate.


I have selected Ubuntu as platform, since I have some experience from 
that. Which version matters less, I have several to choose from on my 
Cloud provider.


In the process, I am trying to piece together instructions and tips 
from different sources, of which the most reliable seems to be the 
ones at the qgis.org  site. However, there are some 
puzzling obstacles. I have tried using QGIS 3.2 Bonn, and Ubuntu 18.04 
bionic btw.


1/ For Ubuntu, I am adviced to load Debian repositories. There seems 
to be no Ubuntu folders. Are Ubuntu and Debian equal in this respect?


2/ The installer is unable to find ”deb-src https://qgis.org/debian 
bionic main”, while ”deb https://qgis.org/debian bionic main” worked 
fine. I carried on neverteless, but it seemed to give an incomplete 
installation.


3/ The instructions give the advice: ”In case you would like to 
install QGIS Server (note that it’s not a common practice to install 
both client and server applications on the same machine)…”


Why is that? To me it would be common sense to install QGIS desktop 
and server on the same machine, to make sure that published map 
designs share the same paths and database connections. How else to 
ensure this? I have Windows servers with QGIS 2 desktop and server 
residing on the same machine with no problem.


Furthermore, I plan to install Postgresql/Postgis on the same machine 
as well, for the same reason as above. Is that unsuitable too?


Thankful for any advice, or links to a reliable installation manual. 
Note that i have scrapped the Cloud machines so far, so I cannot go 
back and test stuff. I always find it more reassuring to follow a 
straight path to success rather than going back for repairs at this stage.


Regards, Mats.E


__
Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
tel: +46 46 145959 / mob: +46 70 595 39 35
alt e-mail: mats.elfst...@giskraft.com 



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


___
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-16 Thread Alessandro Pasotti
On Mon, Jul 16, 2018 at 1:21 PM, Mats Elfström 
wrote:

>
> Hi all!
>


> 3/ The instructions give the advice: ”In case you would like to install
> QGIS Server (note that it’s not a common practice to install both client
> and server applications on the same machine)…”
>
> Why is that? To me it would be common sense to install QGIS desktop and
> server on the same machine, to make sure that published map designs share
> the same paths and database connections. How else to ensure this? I have
> Windows servers with QGIS 2 desktop and server residing on the same machine
> with no problem.
>
>

There is no technical reason for not installing QGIS desktop component
component on a server.

That note was added because that scenario is rather uncommon: usually a
server machine is a dedicated hardware that sits in a server farm without
any human operator directly working on it like on a common desktop PC.

Furthermore, a server machine is usually exposed to the internet and it  is
typically strictly checked/hardened for security.

There are several ways to share data (DB connections) between your
developing machine and the server (FTP, firewall port mapping, ssh mounts,
other network shares).

So, it is generally not recommended to mix client and server software on
the same machine and the note was added to make sure we are not
supporting/encouraging that practice.

That said, I have exactly 1 customer that does exactly that and lives happy.

Note that I've never seen a QGIS server installation on a server running an
OS different than Linux, I can only talk about Linux servers.


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 3 installation on Ubuntu

2018-07-16 Thread Mats Elfström
Hi all!

I am in need of some advice, because I am venturing into unknown territory.
I want to explore the Linux side of QGIS, and I want to set up a Linux GIS
machine (Cloud based). Bear with me, because my computing skills are in
Microsoft territory. However, they date back from DOS days so I would say I
am sufficiently computer literate.

I have selected Ubuntu as platform, since I have some experience from that.
Which version matters less, I have several to choose from on my Cloud
provider.

In the process, I am trying to piece together instructions and tips from
different sources, of which the most reliable seems to be the ones at the
qgis.org site. However, there are some puzzling obstacles. I have tried
using QGIS 3.2 Bonn, and Ubuntu 18.04 bionic btw.

1/ For Ubuntu, I am adviced to load Debian repositories. There seems to be
no Ubuntu folders. Are Ubuntu and Debian equal in this respect?

2/ The installer is unable to find ”deb-src https://qgis.org/debian bionic
main”, while ”deb https://qgis.org/debian bionic main” worked fine. I
carried on neverteless, but it seemed to give an incomplete installation.

3/ The instructions give the advice: ”In case you would like to install
QGIS Server (note that it’s not a common practice to install both client
and server applications on the same machine)…”

Why is that? To me it would be common sense to install QGIS desktop and
server on the same machine, to make sure that published map designs share
the same paths and database connections. How else to ensure this? I have
Windows servers with QGIS 2 desktop and server residing on the same machine
with no problem.

Furthermore, I plan to install Postgresql/Postgis on the same machine as
well, for the same reason as above. Is that unsuitable too?

Thankful for any advice, or links to a reliable installation manual. Note
that i have scrapped the Cloud machines so far, so I cannot go back and
test stuff. I always find it more reassuring to follow a straight path to
success rather than going back for repairs at this stage.

Regards, Mats.E









__
Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
tel: +46 46 145959 / mob: +46 70 595 39 35
alt e-mail: mats.elfst...@giskraft.com 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 3 - macOS - Python 3 note

2018-07-12 Thread William Kyngesburye
Just a note about the Python 3 requirement for the macOS QGIS 3 - the default 
Python 3 download is now 3.7, but I still build QGIS with 3.6.  You MUST USE 
3.6, you can't substitute 3.7.

You can get Python 3.6 from "Downloads" in the menu at the top of the 
python.org page.

-
William Kyngesburye 
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike.  Cheating, murdering, lying, fighting, and 
all for things that the beasts of the jungle would not deign to possess - money 
to purchase the effeminate pleasures of weaklings.  And yet withal bound down 
by silly customs that make them slaves to their unhappy lot while firm in the 
belief that they be the lords of creation enjoying the only real pleasures of 
existence

- the wisdom of Tarzan


___
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 Processing question

2018-07-04 Thread Frank Broniewski
Hi Nyall,

this works like a charm! Here's what I needed it for: Create polygon center 
lines in QGIS [1]. My script for processing is still quite rough around the 
edges and everywhere else and needs some testing, but I am getting results, 
thanks to you!

Many thanks,
Frank


[1] GIT 
https://github.com/frankbroniewski/polygoncenterline/blob/master/PolygonCenterline.py

-Ursprüngliche Nachricht-
Von: Nyall Dawson  
Gesendet: Dienstag, 3. Juli 2018 11:55
An: Frank Broniewski 
Cc: qgis-user 
Betreff: Re: [Qgis-user] QGIS 3 Processing question

> Nyall's tip with the temporary layer store just runs through nicely, but 
> nothing gets added to the layer pane after the script finished.

Sorry - missed something here. Because you're directly using the output from 
the child algorithm as your algorithm's final output, you should also pass the 
OUTPUT parameter value direct to the child algorithm. So in

>
>  def processAlgorithm(self, parameters, context, feedback):
>  # qgis:pointsalonglines
>  params = {
>  'INPUT': parameters[self.INPUT],
>  'DISTANCE': parameters[self.DISTANCE],
>  'START_OFFSET': 0,
>  'END_OFFSET': 0,
>  'OUTPUT': 'memory:'
>  }

 'OUTPUT': 'memory:'

should be

 'OUTPUT': parameters[self.OUTPUT]

Nyall


smime.p7s
Description: S/MIME cryptographic signature
___
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 Processing question

2018-07-03 Thread Nyall Dawson
> Nyall's tip with the temporary layer store just runs through nicely, but 
> nothing gets added to the layer pane after the script finished.

Sorry - missed something here. Because you're directly using the
output from the child algorithm as your algorithm's final output, you
should also pass the OUTPUT parameter value direct to the child
algorithm. So in

>
>  def processAlgorithm(self, parameters, context, feedback):
>  # qgis:pointsalonglines
>  params = {
>  'INPUT': parameters[self.INPUT],
>  'DISTANCE': parameters[self.DISTANCE],
>  'START_OFFSET': 0,
>  'END_OFFSET': 0,
>  'OUTPUT': 'memory:'
>  }

 'OUTPUT': 'memory:'

should be

 'OUTPUT': parameters[self.OUTPUT]

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

Re: [Qgis-user] QGIS 3 Processing question

2018-07-03 Thread Frank Broniewski
Rudi, Nyall,

I tried both your tips on how to solve this puzzle, but both didn't work 
unfortunately. Nyall's tip with the temporary layer store just runs through 
nicely, but nothing gets added to the layer pane after the script finished. 
Rudi's tip changes mostly the vector layer type from memory to a physical 
layer, but does not work as well. I even tried to return the result from the 
processing alg directly with no success: 

return processing.run(
'qgis:pointsalonglines', 
params, context=context, feedback=feedback
)

=> {'OUTPUT': }

Jean-Baptiste's tip on copying the features over to a new feature sink does 
work though.
I can however use the output from qgis:pointsalonglines without any problem in 
a second processing algorithm without needing to copy the features over to 
another feature sink.

It seems that there's some logic going on that prevents returning other 
processing results. Maybe it has to do with the ownership that's mentioned a 
few times in the docs [1]?



[1] 
https://qgis.org/pyqgis/master/core/Processing/QgsProcessingAlgorithm.html?highlight=parameterassink#qgis.core.QgsProcessingAlgorithm.addParameter



-Ursprüngliche Nachricht-
Von: Nyall Dawson  
Gesendet: Dienstag, 3. Juli 2018 01:37
An: Frank Broniewski 
Cc: qgis-user 
Betreff: Re: [Qgis-user] QGIS 3 Processing question

On Fri, 29 Jun 2018 at 17:35, Frank Broniewski  
wrote:

> def processAlgorithm(self, parameters, context, feedback):
> # qgis:pointsalonglines
> params = {
> 'INPUT': parameters[self.INPUT],
> 'DISTANCE': parameters[self.DISTANCE],
> 'START_OFFSET': 0,
> 'END_OFFSET': 0,
> 'OUTPUT': 'memory:'
> }
> points = processing.run(
> 'qgis:pointsalonglines',
> params, context=context, feedback=feedback
> )['OUTPUT']
>
> return {self.OUTPUT: points}
>

Try:

 def processAlgorithm(self, parameters, context, feedback):
 # qgis:pointsalonglines
 params = {
 'INPUT': parameters[self.INPUT],
 'DISTANCE': parameters[self.DISTANCE],
 'START_OFFSET': 0,
 'END_OFFSET': 0,
 'OUTPUT': 'memory:'
 }
 points = processing.run(
 'qgis:pointsalonglines',
 params, context=context, feedback=feedback
 )['OUTPUT']

# store result layer in context - this prevents it being deleted and 
cleaned up
# when processAlgorithm finishes
context.temporaryLayerStore().addMapLayer(points)

 # return the layer ID in the results dictionary - processing will 
automatically retrieve the corresponding
 # layer from the context when required
 return {self.OUTPUT: points.id()}


Nyall


smime.p7s
Description: S/MIME cryptographic signature
___
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 Processing question

2018-07-02 Thread Nyall Dawson
On Fri, 29 Jun 2018 at 17:35, Frank Broniewski
 wrote:

> def processAlgorithm(self, parameters, context, feedback):
> # qgis:pointsalonglines
> params = {
> 'INPUT': parameters[self.INPUT],
> 'DISTANCE': parameters[self.DISTANCE],
> 'START_OFFSET': 0,
> 'END_OFFSET': 0,
> 'OUTPUT': 'memory:'
> }
> points = processing.run(
> 'qgis:pointsalonglines',
> params, context=context, feedback=feedback
> )['OUTPUT']
>
> return {self.OUTPUT: points}
>

Try:

 def processAlgorithm(self, parameters, context, feedback):
 # qgis:pointsalonglines
 params = {
 'INPUT': parameters[self.INPUT],
 'DISTANCE': parameters[self.DISTANCE],
 'START_OFFSET': 0,
 'END_OFFSET': 0,
 'OUTPUT': 'memory:'
 }
 points = processing.run(
 'qgis:pointsalonglines',
 params, context=context, feedback=feedback
 )['OUTPUT']

# store result layer in context - this prevents it being
deleted and cleaned up
# when processAlgorithm finishes
context.temporaryLayerStore().addMapLayer(points)

 # return the layer ID in the results dictionary - processing
will automatically retrieve the corresponding
 # layer from the context when required
 return {self.OUTPUT: points.id()}


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

Re: [Qgis-user] QGIS 3 Processing question

2018-07-02 Thread Frank Broniewski
Thanks for your answer, I feared that this might be an option after all. I will 
try Rudi’s answer first and then yours. I will definitely post my insights here 
so everyone can profit 

 

Frank

 

Von: Jean-Baptiste Desbas  
Gesendet: Freitag, 29. Juni 2018 16:03
An: Frank Broniewski 
Cc: Nyall Dawson ; qgis-user 
Betreff: Re: [Qgis-user] QGIS 3 Processing question

 

Hi, 

 

I had the same issue. I had to loop over the output vector layer (child alg) to 
feed the sink (main alg). Maybe is not the simpliest/shortest/fastest, but it 
works.

Something like that :

 

o = processing.run(
'qgis:pointsalonglines', 
params, context=context, feedback=feedback
)['OUTPUT'] 

 

 (sink, dest_id) = self.parameterAsSink(

parameters,
self.OUTPUT,
context,
o.fields,
o.wkbType(),
o.sourceCrs()
)

 

for f in o.getFeatures()

sink.addFeature(f)

 

 

return {'OUTPUT':dest_id}

 

 

2018-06-29 9:35 GMT+02:00 Frank Broniewski mailto:ha...@frankbroniewski.com> >:

Hi Nyall,

thanks a ton for your response. I am well know for making things tricky for 
myself 
Anyway, my testing-algorithm-script is still not working. It runs through, but 
I do not get the expected result loaded into the layer tree. I suppose it runs 
through - the  output from the 'qgis:pointsalonglines' is a QgsVectorLayer - 
but after finishing I get nuthink back.

Here's my complete script: You'll need a temporary polygon layer in a projected 
CRS (I use EPSG:31466) for it to work nicely. Copy & Paste it into a new script 
window and run it. I simply don't find the reason why the point result layer 
isn't loaded into my layer tree ...


from qgis.PyQt.QtCore import QCoreApplication
from qgis.core import (QgsApplication,
   QgsProcessing,
   QgsFeatureSink,
   QgsProcessingAlgorithm,
   QgsProcessingParameterFeatureSource,
   QgsProcessingParameterNumber,
   QgsProcessingParameterFeatureSink)

import processing


class PolygonCenterline(QgsProcessingAlgorithm):

INPUT = 'INPUT'
DISTANCE = 'DISTANCE'
OUTPUT = 'OUTPUT'

def tr(self, text):
return QCoreApplication.translate('Processing', text)

def createInstance(self):
return PolygonCenterline()

def group(self):
return self.tr <http://self.tr> ('Cartography')

def groupId(self):
return 'cartography'

def name(self):
return 'polygoncenterline'

def displayName(self):
return self.tr <http://self.tr> ('Calculate a polygon centerline')

def initAlgorithm(self, config=None):
self.addParameter(
QgsProcessingParameterFeatureSource(
self.INPUT,
self.tr <http://self.tr> ('Vector Polygon Layer'),
[QgsProcessing.TypeVectorPolygon]
)
)

self.addParameter(
QgsProcessingParameterNumber(
self.DISTANCE,
self.tr <http://self.tr> ('Point distance value'),
type=QgsProcessingParameterNumber.Double,
minValue=10.0
)
)

self.addParameter(
QgsProcessingParameterFeatureSink(
self.OUTPUT,
self.tr <http://self.tr> ('Center line')
)
)

def processAlgorithm(self, parameters, context, feedback):
# qgis:pointsalonglines
params = {
'INPUT': parameters[self.INPUT], 
'DISTANCE': parameters[self.DISTANCE],
'START_OFFSET': 0,
'END_OFFSET': 0,
'OUTPUT': 'memory:'
}
points = processing.run(
'qgis:pointsalonglines', 
params, context=context, feedback=feedback
)['OUTPUT']

return {self.OUTPUT: points}




-Ursprüngliche Nachricht-
Von: Nyall Dawson mailto:nyall.daw...@gmail.com> > 
Gesendet: Freitag, 29. Juni 2018 01:04
An: Frank Broniewski mailto:ha...@frankbroniewski.com> >
Cc: qgis-user mailto:qgis-user@lists.osgeo.org> >
Betreff: Re: [Qgis-user] QGIS 3 Processing question


On Fri, 29 Jun 2018 at 07:14, Frank Broniewski mailto:ha...@frankbroniewski.com> > wrote:
>
> def processAlgorithm(self, parameters, context, feedback):


You're making this tricky for yourself! Cut out everything in processAlgorithm 
related to self.INPUT, and just pass the parameter value direct to the child 
algorithm to handle:

> params = {
>
> 'INPUT': parameters[self.INPUT],
>
> 'DISTANCE': pt_value,
>
> 'START_OFFSET': 0,
>
> 'END_OFFSET': 0,
>
> 'OUTPUT': 'memory:'
>
> }


Nyall



Re: [Qgis-user] QGIS 3 Processing question

2018-07-02 Thread Frank Broniewski
Hi Rudi,

 

thanks a lot for your answer, I will definitely try that out. And once I’ve 
done it I will post my insights for future reference. I tried the 
QgsProcessingParameterVectorDestination already, but 

 

> Finally, in your `params` dict, change the value for OUTPUT from `memory:` to 
> `output`

 

This is really new to me. Where did you find that? I really searched the docs 
up and down and gis.stackexchange as well, but never came across an output 
output for the output 

 

Many thanks,

Frank

 

Von: Rudi von Staden  
Gesendet: Sonntag, 1. Juli 2018 15:56
An: Frank Broniewski 
Cc: qgis-user 
Betreff: Re: [Qgis-user] QGIS 3 Processing question

 

Hi Frank,

 

On Fri, 29 Jun 2018 at 09:35, Frank Broniewski mailto:ha...@frankbroniewski.com> > wrote:

Anyway, my testing-algorithm-script is still not working. It runs through, but 
I do not get the expected result loaded into the layer tree. I suppose it runs 
through - the  output from the 'qgis:pointsalonglines' is a QgsVectorLayer - 
but after finishing I get nuthink back.

 

I had a similar problem. I think it's because the template defines the output 
as a feature sink, so you assume you have to use the same. I think if you 
change your definition from:

 

self.addParameter(

QgsProcessingParameterFeatureSink(

self.OUTPUT,

 <http://self.tr/> self.tr('Center line')

)

)

 

to: 

self.addParameter(

QgsProcessingParameterVectorDestination(

self.OUTPUT,

self.tr <http://self.tr> ('Center line')

)

)

 

and then in processAlgorithm you need to add output as a layer you can work 
with:

 

output = self.parameterAsOutputLayer(parameters,self.OUTPUT,context)

 

Finally, in your `params` dict, change the value for OUTPUT from `memory:` to 
`output`.

 

The new syntax is more complicated than it used to be, and it takes some time 
to wrap your head around it. I do find that it gets easier once you've got a 
couple of scripts under your belt.

 

Rudi

 



smime.p7s
Description: S/MIME cryptographic signature
___
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 Processing question

2018-07-01 Thread Rudi von Staden
Hi Frank,

On Fri, 29 Jun 2018 at 09:35, Frank Broniewski 
wrote:

> Anyway, my testing-algorithm-script is still not working. It runs through,
> but I do not get the expected result loaded into the layer tree. I suppose
> it runs through - the  output from the 'qgis:pointsalonglines' is a
> QgsVectorLayer - but after finishing I get nuthink back.
>
>
I had a similar problem. I think it's because the template defines the
output as a feature sink, so you assume you have to use the same. I think
if you change your definition from:

self.addParameter(
QgsProcessingParameterFeatureSink(
self.OUTPUT,
self.tr('Center line')
)
)


to:

self.addParameter(
QgsProcessingParameterVectorDestination(
self.OUTPUT,
self.tr('Center line')
)
)


and then in processAlgorithm you need to add output as a layer you can work
with:

output = self.parameterAsOutputLayer(parameters,self.OUTPUT,context)


Finally, in your `params` dict, change the value for OUTPUT from `memory:`
to `output`.

The new syntax is more complicated than it used to be, and it takes some
time to wrap your head around it. I do find that it gets easier once you've
got a couple of scripts under your belt.

Rudi
___
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 Processing question

2018-06-29 Thread Jean-Baptiste Desbas
Hi,

I had the same issue. I had to loop over the output vector layer (child
alg) to feed the sink (main alg). Maybe is not the
simpliest/shortest/fastest, but it works.
Something like that :

o = processing.run(
'qgis:pointsalonglines',
params, context=context, feedback=feedback
)['OUTPUT']

 (sink, dest_id) = self.parameterAsSink(
parameters,
self.OUTPUT,
context,
o.fields,
o.wkbType(),
o.sourceCrs()
)

for f in o.getFeatures()
sink.addFeature(f)


return {'OUTPUT':dest_id}


2018-06-29 9:35 GMT+02:00 Frank Broniewski :

> Hi Nyall,
>
> thanks a ton for your response. I am well know for making things tricky
> for myself 
> Anyway, my testing-algorithm-script is still not working. It runs through,
> but I do not get the expected result loaded into the layer tree. I suppose
> it runs through - the  output from the 'qgis:pointsalonglines' is a
> QgsVectorLayer - but after finishing I get nuthink back.
>
> Here's my complete script: You'll need a temporary polygon layer in a
> projected CRS (I use EPSG:31466) for it to work nicely. Copy & Paste it
> into a new script window and run it. I simply don't find the reason why the
> point result layer isn't loaded into my layer tree ...
>
>
> from qgis.PyQt.QtCore import QCoreApplication
> from qgis.core import (QgsApplication,
>QgsProcessing,
>QgsFeatureSink,
>QgsProcessingAlgorithm,
>QgsProcessingParameterFeatureSource,
>QgsProcessingParameterNumber,
>QgsProcessingParameterFeatureSink)
>
> import processing
>
>
> class PolygonCenterline(QgsProcessingAlgorithm):
>
> INPUT = 'INPUT'
> DISTANCE = 'DISTANCE'
> OUTPUT = 'OUTPUT'
>
> def tr(self, text):
> return QCoreApplication.translate('Processing', text)
>
> def createInstance(self):
> return PolygonCenterline()
>
> def group(self):
> return self.tr('Cartography')
>
> def groupId(self):
> return 'cartography'
>
> def name(self):
> return 'polygoncenterline'
>
> def displayName(self):
> return self.tr('Calculate a polygon centerline')
>
> def initAlgorithm(self, config=None):
> self.addParameter(
> QgsProcessingParameterFeatureSource(
> self.INPUT,
> self.tr('Vector Polygon Layer'),
> [QgsProcessing.TypeVectorPolygon]
> )
> )
>
> self.addParameter(
> QgsProcessingParameterNumber(
> self.DISTANCE,
> self.tr('Point distance value'),
> type=QgsProcessingParameterNumber.Double,
> minValue=10.0
> )
> )
>
> self.addParameter(
> QgsProcessingParameterFeatureSink(
> self.OUTPUT,
> self.tr('Center line')
> )
> )
>
> def processAlgorithm(self, parameters, context, feedback):
> # qgis:pointsalonglines
> params = {
> 'INPUT': parameters[self.INPUT],
> 'DISTANCE': parameters[self.DISTANCE],
> 'START_OFFSET': 0,
> 'END_OFFSET': 0,
> 'OUTPUT': 'memory:'
> }
> points = processing.run(
> 'qgis:pointsalonglines',
> params, context=context, feedback=feedback
> )['OUTPUT']
>
> return {self.OUTPUT: points}
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: Nyall Dawson 
> Gesendet: Freitag, 29. Juni 2018 01:04
> An: Frank Broniewski 
> Cc: qgis-user 
> Betreff: Re: [Qgis-user] QGIS 3 Processing question
>
> On Fri, 29 Jun 2018 at 07:14, Frank Broniewski 
> wrote:
> >
> > def processAlgorithm(self, parameters, context, feedback):
>
>
> You're making this tricky for yourself! Cut out everything in
> processAlgorithm related to self.INPUT, and just pass the parameter value
> direct to the child algorithm to handle:
>
> > params = {
> >
> > 'INPUT': parameters[self.INPUT],
> >
> > 'DISTANCE': pt_value,
> >
> > 'START_OFFSET': 0,
> >
> > 'END_OFFSET': 0,
> >
> > 'OUTPUT': 'memory:'
> >
> > }
>
>
> Nyall
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 Processing question

2018-06-29 Thread Frank Broniewski
Hi Nyall,

thanks a ton for your response. I am well know for making things tricky for 
myself 
Anyway, my testing-algorithm-script is still not working. It runs through, but 
I do not get the expected result loaded into the layer tree. I suppose it runs 
through - the  output from the 'qgis:pointsalonglines' is a QgsVectorLayer - 
but after finishing I get nuthink back.

Here's my complete script: You'll need a temporary polygon layer in a projected 
CRS (I use EPSG:31466) for it to work nicely. Copy & Paste it into a new script 
window and run it. I simply don't find the reason why the point result layer 
isn't loaded into my layer tree ...


from qgis.PyQt.QtCore import QCoreApplication
from qgis.core import (QgsApplication,
   QgsProcessing,
   QgsFeatureSink,
   QgsProcessingAlgorithm,
   QgsProcessingParameterFeatureSource,
   QgsProcessingParameterNumber,
   QgsProcessingParameterFeatureSink)

import processing


class PolygonCenterline(QgsProcessingAlgorithm):

INPUT = 'INPUT'
DISTANCE = 'DISTANCE'
OUTPUT = 'OUTPUT'

def tr(self, text):
return QCoreApplication.translate('Processing', text)

def createInstance(self):
return PolygonCenterline()

def group(self):
return self.tr('Cartography')

def groupId(self):
return 'cartography'

def name(self):
return 'polygoncenterline'

def displayName(self):
return self.tr('Calculate a polygon centerline')

def initAlgorithm(self, config=None):
self.addParameter(
QgsProcessingParameterFeatureSource(
self.INPUT,
self.tr('Vector Polygon Layer'),
[QgsProcessing.TypeVectorPolygon]
)
)

self.addParameter(
QgsProcessingParameterNumber(
self.DISTANCE,
self.tr('Point distance value'),
type=QgsProcessingParameterNumber.Double,
minValue=10.0
)
)

self.addParameter(
QgsProcessingParameterFeatureSink(
self.OUTPUT,
self.tr('Center line')
)
)

def processAlgorithm(self, parameters, context, feedback):
# qgis:pointsalonglines
params = {
'INPUT': parameters[self.INPUT], 
'DISTANCE': parameters[self.DISTANCE],
'START_OFFSET': 0,
'END_OFFSET': 0,
'OUTPUT': 'memory:'
}
points = processing.run(
'qgis:pointsalonglines', 
params, context=context, feedback=feedback
)['OUTPUT']

return {self.OUTPUT: points}




-Ursprüngliche Nachricht-
Von: Nyall Dawson  
Gesendet: Freitag, 29. Juni 2018 01:04
An: Frank Broniewski 
Cc: qgis-user 
Betreff: Re: [Qgis-user] QGIS 3 Processing question

On Fri, 29 Jun 2018 at 07:14, Frank Broniewski  
wrote:
>
> def processAlgorithm(self, parameters, context, feedback):


You're making this tricky for yourself! Cut out everything in processAlgorithm 
related to self.INPUT, and just pass the parameter value direct to the child 
algorithm to handle:

> params = {
>
> 'INPUT': parameters[self.INPUT],
>
> 'DISTANCE': pt_value,
>
> 'START_OFFSET': 0,
>
> 'END_OFFSET': 0,
>
> 'OUTPUT': 'memory:'
>
> }


Nyall


smime.p7s
Description: S/MIME cryptographic signature
___
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 Processing question

2018-06-28 Thread Nyall Dawson
On Fri, 29 Jun 2018 at 07:14, Frank Broniewski
 wrote:
>
> def processAlgorithm(self, parameters, context, feedback):


You're making this tricky for yourself! Cut out everything in
processAlgorithm related to self.INPUT, and just pass the parameter
value direct to the child algorithm to handle:

> params = {
>
> 'INPUT': parameters[self.INPUT],
>
> 'DISTANCE': pt_value,
>
> 'START_OFFSET': 0,
>
> 'END_OFFSET': 0,
>
> 'OUTPUT': 'memory:'
>
> }


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

[Qgis-user] QGIS 3 Processing question

2018-06-28 Thread Frank Broniewski
Hi all,

 

I am getting my feet wet with the new QGIS 3 Processing script syntax. In my
script I want to use some other processing scripts from the toolbox. I think
I got most things right, but I do not get a result back. For testing I just
try to use ‘qgis:pointsalonglines’ on a temporary polygon layer and return
the points as a result. Here’s what I have so far:

 

def initAlgorithm(self, config=None):

self.addParameter(

QgsProcessingParameterFeatureSource(

self.INPUT,

self.tr("Vector Polygon Layer"),

[QgsProcessing.TypeVectorPolygon]

)

)

[…]

self.addParameter(

QgsProcessingParameterFeatureSink(

self.OUTPUT,

self.tr('Center line'),

QgsProcessing.TypeVectorAnyGeometry

)

)

 

 

def processAlgorithm(self, parameters, context, feedback):

source = self.parameterAsSource(parameters, self.INPUT, context)

# turn QgsProcessingParameterFeature - the source -  into a 

# QgsVectorLayer apparently self.parameterAsVectorLayer() does 

# not work on temporary layers so this step is required to use

# the input layer in processing algorithms

source_vl = source.materialize(QgsFeatureRequest())

 

pt_value = […]

 

# qgis:pointsalonglines

params = {

'INPUT': source_vl, 

'DISTANCE': pt_value,

'START_OFFSET': 0,

'END_OFFSET': 0,

'OUTPUT': 'memory:'

}

 

points = processing.run(

'qgis:pointsalonglines', 

params, context=context, feedback=feedback

)['OUTPUT']

return {self.OUTPUT: points}

 

 

running the script gives the following output in the processing window
(including some debug info not included above):

 

Eingabeparameter:

{ 'DISTANCE' : 10, 'INPUT' :
'Polygon?crs=EPSG:31466={e1a2d6cf-0cac-46f5-b1c8-ee208c497d22}',
'OUTPUT' : 'memory:' }

 



Ergebnisse: {'OUTPUT': 'output_953bb179_3f12_4312_89e4_5ffa13e8336b'}



Ausführung nach 0.03 Sekunden abgeschlossen

Ergebisse:

{'OUTPUT': }

 

Lade Ergebnis Layer

Algorithmus 'None' beendet

 

The last output line does not look right to me, any idea what I am doing
wrong here?

 

Many thanks,

Frank

 

 

Dipl. Geogr. Frank Broniewski

Waldhölzbacher Str. 51

66679 Losheim am See

06872 509 068 4

0176 611 26 9 2 6

  www.frankbroniewski.com

 



smime.p7s
Description: S/MIME cryptographic signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 3, Import a project into an existing / or the open project, Python

2018-06-11 Thread Drexel Peter
Hi,
I need some advice on how to import an existing project into my open project 
using Python in Qgis 3.
I am looking for something similar to 
https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/loadproject.html,
 but
the script should add the content of a .qgs-File (the layers, structure, 
styling etc) to some already loaded layers/groups in a Qgis-Session.
Any ideas?
Thanks
Peter




___
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 on Arch / Manjaro

2018-05-31 Thread Stephane Goldstein
Check also if qt5-imageformats package is installed.
Without it you can't export TIFs form the composer.
Not sure what else it is needed for.
___
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 on Arch / Manjaro

2018-05-31 Thread Niklas Moran

So, sudo pacman -S python-owslib python-psycopg2
should do it. Then there shouldn't be any problems. If it complains of 
files already existing and won't install, check the file with pacman -Qo 
to see if a package owns it (probably not) and then remove it. Then 
re-run the previous command.



On 05/31/2018 08:05 AM, Patrick Dunford wrote:

It says these modules are not found

owslib

psycopg2


On 31/05/18 14:05, Niklas Moran wrote:
I use QGIS 3.03 on Arch and do not have any problems. I've got testing 
repo enabled.


What missing module errors do you have? I did have a problem a while 
back with an old version of some library I installed for kde that was 
no longer needed. Check the aur.archlinux.org's comments under the 
QGIS package- there is lots of helpful info and you can always post 
there for 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

___
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 on Arch / Manjaro

2018-05-31 Thread Patrick Dunford

It says these modules are not found

owslib

psycopg2


On 31/05/18 14:05, Niklas Moran wrote:
I use QGIS 3.03 on Arch and do not have any problems. I've got testing 
repo enabled.


What missing module errors do you have? I did have a problem a while 
back with an old version of some library I installed for kde that was 
no longer needed. Check the aur.archlinux.org's comments under the 
QGIS package- there is lots of helpful info and you can always post 
there for 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] Qgis 3 on Arch / Manjaro

2018-05-30 Thread Niklas Moran
I use QGIS 3.03 on Arch and do not have any problems. I've got testing 
repo enabled.


What missing module errors do you have? I did have a problem a while 
back with an old version of some library I installed for kde that was no 
longer needed. Check the aur.archlinux.org's comments under the QGIS 
package- there is lots of helpful info and you can always post there for 
help.




On 05/30/2018 08:56 PM, Patrick Dunford wrote:

Anybody on this list using Qgis on Arch or Manjaro?

The distro community obviously have some problems with building working 
versions. The latest 3.03 is giving me missing module errors and has 
problems displaying some of my rasters.


Not seeing these issues in Debian.

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

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

[Qgis-user] Qgis 3 on Arch / Manjaro

2018-05-30 Thread Patrick Dunford

Anybody on this list using Qgis on Arch or Manjaro?

The distro community obviously have some problems with building working 
versions. The latest 3.03 is giving me missing module errors and has 
problems displaying some of my rasters.


Not seeing these issues in Debian.

___
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 errors after install on macOS 10.13.4

2018-05-25 Thread William Kyngesburye
Cool.

> On May 25, 2018, at 8:04 PM, Reg Maltais  wrote:
> 
> Huh, pip3 told me they weren’t installed. I went in and deleted the 
> directories manually, reran the installer and the logs show them getting 
> installed correctly. QGIS opens without error now, and processing is 
> available now.
> 
> Thank you so much for all the help. I think things are good to go now.
> 
>> On May 25, 2018, at 8:53 PM, William Kyngesburye > > wrote:
>> 
>> I don't think there are separate pip sub packages, they should be in the 
>> main packages.  What do the postinstall lines say for owslib and psycopg2?
>> 
>>> On May 25, 2018, at 7:01 PM, Reg Maltais >> > wrote:
>>> 
>>> They aren’t present in their folders:
>>> 
>>> Bellerophon:~ goatsweater$ ls 
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/owslib/
>>> __pycache__ feature swe
>>> coveragemap waterml
>>> Bellerophon:~ goatsweater$ ls 
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/psycopg2/
>>> __pycache__ tests
>>> 
>>> Not sure what happened to them. pip3 install tells me they don’t exist: No 
>>> matching distribution found for owslib.csw
>>> 
 On May 25, 2018, at 5:42 PM, William Kyngesburye > wrote:
 
 the submodules are just parts inside their main folders in site-packages, 
 and these are part of what QGIS needs.  Very strange that QGIS can't see 
 them.
 
> On May 25, 2018, at 4:19 PM, Reg Maltais  > wrote:
> 
> I can see the main package folders if I do ls 
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/
> 
> psycopg2 and owslib are both there, but I obviously need some submodules. 
> I was playing with plugins at FOSS4GNA , so it’s not entirely clear to me 
> if those are base packages that should have been installed or the result 
> of me installing something from plugin manager and I need to pip3 install 
> them.
> 
> 
> 
>> On May 25, 2018, at 5:09 PM, William Kyngesburye 
>> > wrote:
>> 
>> Those are harmless warnings, I'm actually telling it to ignore the cache 
>> anyways.
>> 
>> As long as each one is installed or "already satisfied", it's good.  But 
>> your errors say at least psycopg2 and owslib are missing.
>> 
>>> On May 25, 2018, at 4:04 PM, Reg Maltais >> > wrote:
>>> 
>>> QGIS postinstall says I don’t own my own things.
>>> 
>>> May 25 16:52:07 Bellerophon installd[636]: PackageKit: Executing script 
>>> "./postinstall" in 
>>> /private/tmp/PKInstallSandbox.nFIKY6/Scripts/org.qgis.qgis-3.bYGzlJ
>>> May 25 16:52:07 Bellerophon installd[636]: ./postinstall: The directory 
>>> '/Users/goatsweater/Library/Caches/pip/http' or its parent directory is 
>>> not owned by the current user and the cache has been disabled. Please 
>>> check the permissions and owner of that directory. If executing pip 
>>> with sudo, you may want sudo's -H flag.
>>> May 25 16:52:07 Bellerophon installd[636]: ./postinstall: The directory 
>>> '/Users/goatsweater/Library/Caches/pip' or its parent directory is not 
>>> owned by the current user and caching wheels has been disabled. check 
>>> the permissions and owner of that directory. If executing pip with 
>>> sudo, you may want sudo's -H flag.
>>> May 25 16:52:07 Bellerophon installd[636]: ./postinstall: Looking in 
>>> links: .
>>> May 25 16:52:07 Bellerophon installd[636]: ./postinstall: Requirement 
>>> already satisfied: pyyaml in 
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
>>>  (3.12)
>>> 
>>> Disk Utility first aid tells my disk is ok though, so not sure what’s 
>>> going on there.
>>> 
>>> 
 On May 25, 2018, at 9:09 AM, William Kyngesburye 
 > wrote:
 
 what about the postinstall lines for the qgis install?
 
> On May 24, 2018, at 8:54 PM, Reg Maltais  > wrote:
> 
> I installed GDAL, then QGIS and then looked into the site-packages 
> folder and osgeo and a bunch of other packages are there. Postinstall 
> looks good:
> 
> May 24 21:52:51 Bellerophon installd[636]: PackageKit: Executing 
> script "./postinstall" in 
> 

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

2018-05-25 Thread David Addy
I have upgraded to 3.0.3 and tried to clip another file. Oh Joy! It worked.
However I was a bit disconcerted by the GDAL readout at the bottom of the
box which described output to a temp file even though I had specified a new
filename and location. However, the new file name was actually applied.
Here is the dialogue box. You can see that the GDAL commands no longer
contain all the double slashes of previous.
 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

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

2018-05-24 Thread 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] QGIS 3 clipping raster with a polygon - problem

2018-05-24 Thread David Addy
In case it helps, here is a screengrab of the QGIS 3 input box. There are no
spaces in my file names.
 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

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

2018-05-24 Thread Bernd Vogelgesang

just a wild guess:
you have lots of spaces in your path and file names. This is to be avoided  
in general, cause lots of function may eat this, but lots of others may  
not. Try it with underscores instead of spaces.


Am 24.05.2018, 15:25 Uhr, 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

The output file in Q3 is a temp file as I forgot to browse to the same  
name
as above. "Payne modified" is my calibrated input file, and  
"payneclipper"

is my polygon clipping mask. The algorithms look quite different but I do
not know enough to know what is wrong.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374
___
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 Thread 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

The output file in Q3 is a temp file as I forgot to browse to the same name
as above. "Payne modified" is my calibrated input file, and "payneclipper"
is my polygon clipping mask. The algorithms look quite different but I do
not know enough to know what is wrong.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-24 Thread William Kyngesburye
The homebrew site-packages should not affect the python framework 
site-packages.  But there may be other parts of virtualenv that the framework 
sees.  I found one thing I can try with the installer.

> On May 24, 2018, at 5:14 AM, Reg Maltais  wrote:
> 
> I just went looking through my homebrew stuff, and I have an older version of 
> python3 in there that I completely forgot about. That’s why pyenv and a bunch 
> of other things got installed. When I go look into 
> /usr/local/lib/python3.6/site-packages/ I see virtualenv.py, osgeo, numpy, 
> etc.
> 
> 
>> On May 23, 2018, at 10:04 PM, William Kyngesburye > > wrote:
>> 
>> Ah, now we're getting somewhere.  Did you install some other python 3 
>> modules?  Maybe pyenv or virtualenv?
>> 
>>> On May 23, 2018, at 5:19 PM, Reg Maltais >> > wrote:
>>> 
>>> Here’s the truncated output to show just the postinstall lines:
>>> 
>>> May 23 18:14:15 Bellerophon installd[636]: PackageKit: Executing script 
>>> "./postinstall" in 
>>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.maptools.proj-framework-yosemite.xOVaFz
>>> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
>>> activated virtualenv (required).
>>> May 23 18:14:16 Bellerophon installd[636]: PackageKit: Executing script 
>>> "./postinstall" in 
>>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.gdal.gdal22-framework-yosemite.ogoElJ
>>> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
>>> activated virtualenv (required).
>>> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
>>> activated virtualenv (required).
>>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Executing script 
>>> "./postinstall" in 
>>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/net.refractions.geos-framework-yosemite.Xrb86e
>>> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
>>> activated virtualenv (required).
>>> 
>>> Interestingly, immediately below these are the PackageKit receipt writes:
>>> 
>>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>>> org.maptools.proj-framework-yosemite to /
>>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>>> org.sqlite.sqlite3-framework-yosemite to /
>>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>>> com.kyngchaos.UnixImageIO-framework-F-yosemite to /
>>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>>> org.gdal.gdal22-framework-yosemite to /
>>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>>> net.refractions.geos-framework-yosemite to /
>>> 
>>> So appears it thinks it worked.
>>> 
 On May 23, 2018, at 5:22 PM, William Kyngesburye > wrote:
 
 That was just a test, only one python module.
 
 So, now it looks like pip is working in the Terminal, but not in my 
 installers.  Try running the GDAL Complete installer again, but don't 
 close it when it finishes.  Instead, open the Installer Log from the 
 Window menu (in the installer).  Then use the popup menu to Show All Logs. 
  There should be some lines with "postinstall:", what do these say?
 
> On May 23, 2018, at 4:59 AM, Reg Maltais  > wrote:
> 
> So that worked:
> Processing 
> /Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl
> Installing collected packages: GDAL
> Successfully installed GDAL-2.2.4
> 
> I’m getting different errors when opening QGIS now, I’m assuming due to 
> not having run pip install for all of the various bits.
> 
> Couldn't load plugin 'processing' 
> ModuleNotFoundError: No module named 'psycopg2.extensions'
> 
> Traceback (most recent call last):
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>  line 311, in loadPlugin
> __import__(packageName)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>  line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
>  line 29, in 
> from processing.tools.general import *  # NOQA
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>  line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
>  line 39, in 

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-24 Thread Reg Maltais
I just went looking through my homebrew stuff, and I have an older version of 
python3 in there that I completely forgot about. That’s why pyenv and a bunch 
of other things got installed. When I go look into 
/usr/local/lib/python3.6/site-packages/ I see virtualenv.py, osgeo, numpy, etc.


> On May 23, 2018, at 10:04 PM, William Kyngesburye  
> wrote:
> 
> Ah, now we're getting somewhere.  Did you install some other python 3 
> modules?  Maybe pyenv or virtualenv?
> 
>> On May 23, 2018, at 5:19 PM, Reg Maltais > > wrote:
>> 
>> Here’s the truncated output to show just the postinstall lines:
>> 
>> May 23 18:14:15 Bellerophon installd[636]: PackageKit: Executing script 
>> "./postinstall" in 
>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.maptools.proj-framework-yosemite.xOVaFz
>> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
>> activated virtualenv (required).
>> May 23 18:14:16 Bellerophon installd[636]: PackageKit: Executing script 
>> "./postinstall" in 
>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.gdal.gdal22-framework-yosemite.ogoElJ
>> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
>> activated virtualenv (required).
>> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
>> activated virtualenv (required).
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Executing script 
>> "./postinstall" in 
>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/net.refractions.geos-framework-yosemite.Xrb86e
>> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
>> activated virtualenv (required).
>> 
>> Interestingly, immediately below these are the PackageKit receipt writes:
>> 
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> org.maptools.proj-framework-yosemite to /
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> org.sqlite.sqlite3-framework-yosemite to /
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> com.kyngchaos.UnixImageIO-framework-F-yosemite to /
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> org.gdal.gdal22-framework-yosemite to /
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> net.refractions.geos-framework-yosemite to /
>> 
>> So appears it thinks it worked.
>> 
>>> On May 23, 2018, at 5:22 PM, William Kyngesburye >> > wrote:
>>> 
>>> That was just a test, only one python module.
>>> 
>>> So, now it looks like pip is working in the Terminal, but not in my 
>>> installers.  Try running the GDAL Complete installer again, but don't close 
>>> it when it finishes.  Instead, open the Installer Log from the Window menu 
>>> (in the installer).  Then use the popup menu to Show All Logs.  There 
>>> should be some lines with "postinstall:", what do these say?
>>> 
 On May 23, 2018, at 4:59 AM, Reg Maltais > wrote:
 
 So that worked:
 Processing 
 /Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl
 Installing collected packages: GDAL
 Successfully installed GDAL-2.2.4
 
 I’m getting different errors when opening QGIS now, I’m assuming due to 
 not having run pip install for all of the various bits.
 
 Couldn't load plugin 'processing' 
 ModuleNotFoundError: No module named 'psycopg2.extensions'
 
 Traceback (most recent call last):
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 311, in loadPlugin
 __import__(packageName)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
  line 29, in 
 from processing.tools.general import *  # NOQA
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
  line 39, in 
 from processing.core.Processing import Processing
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
  line 57, in 
 from 

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-24 Thread Reg Maltais
I do have virtualenv installed. I had it prior to installing python3. 
virtualenv is at version 15.1.0 (apparently I haven’t used it in a while).


> On May 23, 2018, at 10:04 PM, William Kyngesburye  
> wrote:
> 
> Ah, now we're getting somewhere.  Did you install some other python 3 
> modules?  Maybe pyenv or virtualenv?
> 
>> On May 23, 2018, at 5:19 PM, Reg Maltais > > wrote:
>> 
>> Here’s the truncated output to show just the postinstall lines:
>> 
>> May 23 18:14:15 Bellerophon installd[636]: PackageKit: Executing script 
>> "./postinstall" in 
>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.maptools.proj-framework-yosemite.xOVaFz
>> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
>> activated virtualenv (required).
>> May 23 18:14:16 Bellerophon installd[636]: PackageKit: Executing script 
>> "./postinstall" in 
>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.gdal.gdal22-framework-yosemite.ogoElJ
>> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
>> activated virtualenv (required).
>> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
>> activated virtualenv (required).
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Executing script 
>> "./postinstall" in 
>> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/net.refractions.geos-framework-yosemite.Xrb86e
>> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
>> activated virtualenv (required).
>> 
>> Interestingly, immediately below these are the PackageKit receipt writes:
>> 
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> org.maptools.proj-framework-yosemite to /
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> org.sqlite.sqlite3-framework-yosemite to /
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> com.kyngchaos.UnixImageIO-framework-F-yosemite to /
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> org.gdal.gdal22-framework-yosemite to /
>> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
>> net.refractions.geos-framework-yosemite to /
>> 
>> So appears it thinks it worked.
>> 
>>> On May 23, 2018, at 5:22 PM, William Kyngesburye >> > wrote:
>>> 
>>> That was just a test, only one python module.
>>> 
>>> So, now it looks like pip is working in the Terminal, but not in my 
>>> installers.  Try running the GDAL Complete installer again, but don't close 
>>> it when it finishes.  Instead, open the Installer Log from the Window menu 
>>> (in the installer).  Then use the popup menu to Show All Logs.  There 
>>> should be some lines with "postinstall:", what do these say?
>>> 
 On May 23, 2018, at 4:59 AM, Reg Maltais > wrote:
 
 So that worked:
 Processing 
 /Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl
 Installing collected packages: GDAL
 Successfully installed GDAL-2.2.4
 
 I’m getting different errors when opening QGIS now, I’m assuming due to 
 not having run pip install for all of the various bits.
 
 Couldn't load plugin 'processing' 
 ModuleNotFoundError: No module named 'psycopg2.extensions'
 
 Traceback (most recent call last):
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 311, in loadPlugin
 __import__(packageName)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
  line 29, in 
 from processing.tools.general import *  # NOQA
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
  line 39, in 
 from processing.core.Processing import Processing
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
  line 57, in 
 from processing.algs.qgis.QgisAlgorithmProvider import 
 QgisAlgorithmProvider  # NOQA
   File 
 

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-23 Thread William Kyngesburye
Ah, now we're getting somewhere.  Did you install some other python 3 modules?  
Maybe pyenv or virtualenv?

> On May 23, 2018, at 5:19 PM, Reg Maltais  wrote:
> 
> Here’s the truncated output to show just the postinstall lines:
> 
> May 23 18:14:15 Bellerophon installd[636]: PackageKit: Executing script 
> "./postinstall" in 
> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.maptools.proj-framework-yosemite.xOVaFz
> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
> activated virtualenv (required).
> May 23 18:14:16 Bellerophon installd[636]: PackageKit: Executing script 
> "./postinstall" in 
> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.gdal.gdal22-framework-yosemite.ogoElJ
> May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
> activated virtualenv (required).
> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
> activated virtualenv (required).
> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Executing script 
> "./postinstall" in 
> /private/tmp/PKInstallSandbox.AXwBn9/Scripts/net.refractions.geos-framework-yosemite.Xrb86e
> May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
> activated virtualenv (required).
> 
> Interestingly, immediately below these are the PackageKit receipt writes:
> 
> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
> org.maptools.proj-framework-yosemite to /
> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
> org.sqlite.sqlite3-framework-yosemite to /
> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
> com.kyngchaos.UnixImageIO-framework-F-yosemite to /
> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
> org.gdal.gdal22-framework-yosemite to /
> May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
> net.refractions.geos-framework-yosemite to /
> 
> So appears it thinks it worked.
> 
>> On May 23, 2018, at 5:22 PM, William Kyngesburye > > wrote:
>> 
>> That was just a test, only one python module.
>> 
>> So, now it looks like pip is working in the Terminal, but not in my 
>> installers.  Try running the GDAL Complete installer again, but don't close 
>> it when it finishes.  Instead, open the Installer Log from the Window menu 
>> (in the installer).  Then use the popup menu to Show All Logs.  There should 
>> be some lines with "postinstall:", what do these say?
>> 
>>> On May 23, 2018, at 4:59 AM, Reg Maltais >> > wrote:
>>> 
>>> So that worked:
>>> Processing 
>>> /Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl
>>> Installing collected packages: GDAL
>>> Successfully installed GDAL-2.2.4
>>> 
>>> I’m getting different errors when opening QGIS now, I’m assuming due to not 
>>> having run pip install for all of the various bits.
>>> 
>>> Couldn't load plugin 'processing' 
>>> ModuleNotFoundError: No module named 'psycopg2.extensions'
>>> 
>>> Traceback (most recent call last):
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 311, in loadPlugin
>>> __import__(packageName)
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 664, in _import
>>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
>>>  line 29, in 
>>> from processing.tools.general import *  # NOQA
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 664, in _import
>>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
>>>  line 39, in 
>>> from processing.core.Processing import Processing
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 664, in _import
>>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
>>>  line 57, in 
>>> from processing.algs.qgis.QgisAlgorithmProvider import 
>>> QgisAlgorithmProvider  # NOQA
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 664, in _import
>>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py",
>>>  line 68, in 
>>> from .FieldsCalculator import FieldsCalculator
>>>   File 
>>> 

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

2018-05-23 Thread Nyall Dawson
On 24 May 2018 at 01:12, David Addy  wrote:
> I have had another go with another dataset.
> I have tried both these algorithms in QGIS 3.0.2:
> 1.  Gdal ->" Raster extraction" -> "Clip raster by mask layer"
> 2.  Saga -> "Vector <-> raster" -> "Clip raster with polygon"
> Both give an error message.
> In the case of GDAL it is :"GDAL command output:
> ERROR 6: SetColorTable() only supported for Byte or UInt16 bands in TIFF
> format."
> I must be completely misunderstanding both these processes.
> By reverting to QGIS 2.18.16 the GDAL algorithm works quite happily on the
> same geotiff using the same shp file polygon to clip it..
> In Q3 I do not understand why the output file entry box is labelled
> Clipped(mask) and the box contains (save to temporary file)
> Are there some other entries I need to make it work?

Hi David,

In  both 2.18 and 3.0 you can see the GDAL command which is run by the
algorithm. Can you see if there's any difference between the two? Can
you please share them?

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

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-23 Thread Reg Maltais
Here’s the truncated output to show just the postinstall lines:

May 23 18:14:15 Bellerophon installd[636]: PackageKit: Executing script 
"./postinstall" in 
/private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.maptools.proj-framework-yosemite.xOVaFz
May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
activated virtualenv (required).
May 23 18:14:16 Bellerophon installd[636]: PackageKit: Executing script 
"./postinstall" in 
/private/tmp/PKInstallSandbox.AXwBn9/Scripts/org.gdal.gdal22-framework-yosemite.ogoElJ
May 23 18:14:16 Bellerophon installd[636]: ./postinstall: Could not find an 
activated virtualenv (required).
May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
activated virtualenv (required).
May 23 18:14:17 Bellerophon installd[636]: PackageKit: Executing script 
"./postinstall" in 
/private/tmp/PKInstallSandbox.AXwBn9/Scripts/net.refractions.geos-framework-yosemite.Xrb86e
May 23 18:14:17 Bellerophon installd[636]: ./postinstall: Could not find an 
activated virtualenv (required).

Interestingly, immediately below these are the PackageKit receipt writes:

May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
org.maptools.proj-framework-yosemite to /
May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
org.sqlite.sqlite3-framework-yosemite to /
May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
com.kyngchaos.UnixImageIO-framework-F-yosemite to /
May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
org.gdal.gdal22-framework-yosemite to /
May 23 18:14:17 Bellerophon installd[636]: PackageKit: Writing receipt for 
net.refractions.geos-framework-yosemite to /

So appears it thinks it worked.

> On May 23, 2018, at 5:22 PM, William Kyngesburye  
> wrote:
> 
> That was just a test, only one python module.
> 
> So, now it looks like pip is working in the Terminal, but not in my 
> installers.  Try running the GDAL Complete installer again, but don't close 
> it when it finishes.  Instead, open the Installer Log from the Window menu 
> (in the installer).  Then use the popup menu to Show All Logs.  There should 
> be some lines with "postinstall:", what do these say?
> 
>> On May 23, 2018, at 4:59 AM, Reg Maltais > > wrote:
>> 
>> So that worked:
>> Processing 
>> /Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl
>> Installing collected packages: GDAL
>> Successfully installed GDAL-2.2.4
>> 
>> I’m getting different errors when opening QGIS now, I’m assuming due to not 
>> having run pip install for all of the various bits.
>> 
>> Couldn't load plugin 'processing' 
>> ModuleNotFoundError: No module named 'psycopg2.extensions'
>> 
>> Traceback (most recent call last):
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 311, in loadPlugin
>> __import__(packageName)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 664, in _import
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
>>  line 29, in 
>> from processing.tools.general import *  # NOQA
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 664, in _import
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
>>  line 39, in 
>> from processing.core.Processing import Processing
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 664, in _import
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
>>  line 57, in 
>> from processing.algs.qgis.QgisAlgorithmProvider import 
>> QgisAlgorithmProvider  # NOQA
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 664, in _import
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py",
>>  line 68, in 
>> from .FieldsCalculator import FieldsCalculator
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 664, in _import
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/FieldsCalculator.py",
>>  line 45, in 
>> from .ui.FieldsCalculatorDialog import FieldsCalculatorDialog
>>   File 
>> 

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-23 Thread William Kyngesburye
That was just a test, only one python module.

So, now it looks like pip is working in the Terminal, but not in my installers. 
 Try running the GDAL Complete installer again, but don't close it when it 
finishes.  Instead, open the Installer Log from the Window menu (in the 
installer).  Then use the popup menu to Show All Logs.  There should be some 
lines with "postinstall:", what do these say?

> On May 23, 2018, at 4:59 AM, Reg Maltais  wrote:
> 
> So that worked:
> Processing 
> /Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl
> Installing collected packages: GDAL
> Successfully installed GDAL-2.2.4
> 
> I’m getting different errors when opening QGIS now, I’m assuming due to not 
> having run pip install for all of the various bits.
> 
> Couldn't load plugin 'processing' 
> ModuleNotFoundError: No module named 'psycopg2.extensions'
> 
> Traceback (most recent call last):
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 311, in loadPlugin
> __import__(packageName)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
>  line 29, in 
> from processing.tools.general import *  # NOQA
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
>  line 39, in 
> from processing.core.Processing import Processing
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
>  line 57, in 
> from processing.algs.qgis.QgisAlgorithmProvider import 
> QgisAlgorithmProvider  # NOQA
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py",
>  line 68, in 
> from .FieldsCalculator import FieldsCalculator
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/FieldsCalculator.py",
>  line 45, in 
> from .ui.FieldsCalculatorDialog import FieldsCalculatorDialog
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py",
>  line 52, in 
> from processing.gui.PostgisTableSelector import PostgisTableSelector
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/gui/PostgisTableSelector.py",
>  line 34, in 
> from processing.tools.postgis import GeoDB
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/postgis.py",
>  line 29, in 
> import psycopg2.extensions  # For isolation levels
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ModuleNotFoundError: No module named 'psycopg2.extensions'
> 
> Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 05:52:31) [GCC 4.2.1 
> Compatible Apple LLVM 6.0 (clang-600.0.57)] 
> QGIS version: 3.0.2-Girona Girona, exported 
> Python Path:
> 
> /Applications/QGIS3.app/Contents/MacOS/../Resources/python
> /Users/goatsweater/Library/Application 
> Support/QGIS/QGIS3/profiles/default/python
> /Users/goatsweater/Library/Application 
> Support/QGIS/QGIS3/profiles/default/python/plugins
> /Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
> 

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

2018-05-23 Thread David Addy
I have had another go with another dataset.
I have tried both these algorithms in QGIS 3.0.2: 
1.  Gdal ->" Raster extraction" -> "Clip raster by mask layer"
2.  Saga -> "Vector <-> raster" -> "Clip raster with polygon"
Both give an error message. 
In the case of GDAL it is :"GDAL command output:
ERROR 6: SetColorTable() only supported for Byte or UInt16 bands in TIFF
format."
I must be completely misunderstanding both these processes.
By reverting to QGIS 2.18.16 the GDAL algorithm works quite happily on the
same geotiff using the same shp file polygon to clip it..
In Q3 I do not understand why the output file entry box is labelled
Clipped(mask) and the box contains (save to temporary file)
Are there some other entries I need to make it work?





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-23 Thread Reg Maltais
So that worked:
Processing 
/Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl
Installing collected packages: GDAL
Successfully installed GDAL-2.2.4

I’m getting different errors when opening QGIS now, I’m assuming due to not 
having run pip install for all of the various bits.

Couldn't load plugin 'processing' 
ModuleNotFoundError: No module named 'psycopg2.extensions'

Traceback (most recent call last):
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 311, in loadPlugin
__import__(packageName)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
 line 29, in 
from processing.tools.general import *  # NOQA
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
 line 39, in 
from processing.core.Processing import Processing
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
 line 57, in 
from processing.algs.qgis.QgisAlgorithmProvider import 
QgisAlgorithmProvider  # NOQA
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py",
 line 68, in 
from .FieldsCalculator import FieldsCalculator
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/FieldsCalculator.py",
 line 45, in 
from .ui.FieldsCalculatorDialog import FieldsCalculatorDialog
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py",
 line 52, in 
from processing.gui.PostgisTableSelector import PostgisTableSelector
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/gui/PostgisTableSelector.py",
 line 34, in 
from processing.tools.postgis import GeoDB
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/postgis.py",
 line 29, in 
import psycopg2.extensions  # For isolation levels
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'psycopg2.extensions'

Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 05:52:31) [GCC 4.2.1 
Compatible Apple LLVM 6.0 (clang-600.0.57)] 
QGIS version: 3.0.2-Girona Girona, exported 
Python Path:

/Applications/QGIS3.app/Contents/MacOS/../Resources/python
/Users/goatsweater/Library/Application 
Support/QGIS/QGIS3/profiles/default/python
/Users/goatsweater/Library/Application 
Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
/Users/goatsweater/Library/Application 
Support/QGIS/QGIS3/profiles/default/python
Couldn't load plugin 'MetaSearch' due to an error when calling its 
classFactory() method 
ModuleNotFoundError: No module named 'owslib.csw'

Traceback (most recent call last):
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 336, in startPlugin
plugins[packageName] = package.classFactory(iface)
  File 

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-22 Thread William Kyngesburye
Try one manual install to see if there are any errors (I expect so):

sudo pip3 install --no-cache-dir --force-reinstall 
/Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl

> On May 22, 2018, at 8:05 PM, Reg Maltais  wrote:
> 
> Installed 10.9 Python, then GDAL Complete, then QGIS. Same result; missing 
> osgeo.
> 
> I get a follow on error from MetaSearch complaining that owslib.csw is 
> missing as well.
> 
>> On May 22, 2018, at 8:50 PM, William Kyngesburye > > wrote:
>> 
>> Try installing the 10.9 version of Python.
>> 
>> Then reinstall GDAL and QGIS.
>> 
>>> On May 22, 2018, at 7:37 PM, Reg Maltais >> > wrote:
>>> 
>>> The python version I installed was the “older” 10.6 version of python.
>>> pyp version is "pip 10.0.1 from 
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip
>>>  (python 3.6)"
>>> My macOS version is 10.13.4.
>>> 
>>> I’m willing to install all the modules manually if you want me to run some 
>>> tests for you.
>>> 
>>> Thanks.
>>> 
 On May 22, 2018, at 8:04 PM, William Kyngesburye > wrote:
 
 The latest pip, as used to install Python modules, has a problem that 
 affects some people.  I haven't figured out a definite solution, but there 
 is a workaround that means manually installing all the python modules.  Or 
 you can wait for QGIS 3.0.3 - at least I'll use the workaround in the 
 installers.
 
 You can help me with some information:
 
 - what version of Python did you install?  specifically, which system 
 version?  Starting with Python 3.6.5, there are now 2 installers: one for 
 older OS X systems, it has "macosx10.6" in the installer name (this is how 
 all previous versions were built), and one for newer systems, it has 
 macosx10.9 in the installer name.
 
 - which version of pip is installed?  you can check from a Terminal with:
 
   pip3 -V
 
 - your macOS version
 
> On May 22, 2018, at 6:23 PM, Reg Maltais  > wrote:
> 
> Hi,
> 
> I’ve run a complete install of Python 3 (python-3.6.5-macos10.6.pkg), 
> GDAL complete, then QGIS 3.0.2. When I open QGIS I get the error below. I 
> found a thread that has a similar error, and the fix was to reinstall all 
> the components, but I’ve done this a few times now to no avail (both 
> overwriting QGIS3.app and after deleting it). I’ve also set $PATH to 
> prepend 
> "/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:”
>  in the environment settings.
> 
> I went and looked into 
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-package,
>  and sure enough there is no ‘osgeo’. Other things like ‘psycopg2’ are 
> there though, but for whatever reason not osgeo. Any ideas would be 
> appreciated.
> 
> 
> Couldn't load plugin 'processing' 
> ModuleNotFoundError: No module named 'osgeo'
> 
> Traceback (most recent call last):
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>  line 311, in loadPlugin
> __import__(packageName)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>  line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
>  line 28, in 
> from processing.tools.dataobjects import *  # NOQA
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>  line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py",
>  line 51, in 
> from processing.algs.gdal.GdalUtils import GdalUtils
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>  line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py",
>  line 35, in 
> from osgeo import gdal
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>  line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ModuleNotFoundError: No module named 'osgeo'
> 
> Python version: 3.6.5 

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-22 Thread Reg Maltais
Installed 10.9 Python, then GDAL Complete, then QGIS. Same result; missing 
osgeo.

I get a follow on error from MetaSearch complaining that owslib.csw is missing 
as well.

> On May 22, 2018, at 8:50 PM, William Kyngesburye  
> wrote:
> 
> Try installing the 10.9 version of Python.
> 
> Then reinstall GDAL and QGIS.
> 
>> On May 22, 2018, at 7:37 PM, Reg Maltais > > wrote:
>> 
>> The python version I installed was the “older” 10.6 version of python.
>> pyp version is "pip 10.0.1 from 
>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip
>>  (python 3.6)"
>> My macOS version is 10.13.4.
>> 
>> I’m willing to install all the modules manually if you want me to run some 
>> tests for you.
>> 
>> Thanks.
>> 
>>> On May 22, 2018, at 8:04 PM, William Kyngesburye >> > wrote:
>>> 
>>> The latest pip, as used to install Python modules, has a problem that 
>>> affects some people.  I haven't figured out a definite solution, but there 
>>> is a workaround that means manually installing all the python modules.  Or 
>>> you can wait for QGIS 3.0.3 - at least I'll use the workaround in the 
>>> installers.
>>> 
>>> You can help me with some information:
>>> 
>>> - what version of Python did you install?  specifically, which system 
>>> version?  Starting with Python 3.6.5, there are now 2 installers: one for 
>>> older OS X systems, it has "macosx10.6" in the installer name (this is how 
>>> all previous versions were built), and one for newer systems, it has 
>>> macosx10.9 in the installer name.
>>> 
>>> - which version of pip is installed?  you can check from a Terminal with:
>>> 
>>>   pip3 -V
>>> 
>>> - your macOS version
>>> 
 On May 22, 2018, at 6:23 PM, Reg Maltais > wrote:
 
 Hi,
 
 I’ve run a complete install of Python 3 (python-3.6.5-macos10.6.pkg), GDAL 
 complete, then QGIS 3.0.2. When I open QGIS I get the error below. I found 
 a thread that has a similar error, and the fix was to reinstall all the 
 components, but I’ve done this a few times now to no avail (both 
 overwriting QGIS3.app and after deleting it). I’ve also set $PATH to 
 prepend 
 "/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:”
  in the environment settings.
 
 I went and looked into 
 /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-package,
  and sure enough there is no ‘osgeo’. Other things like ‘psycopg2’ are 
 there though, but for whatever reason not osgeo. Any ideas would be 
 appreciated.
 
 
 Couldn't load plugin 'processing' 
 ModuleNotFoundError: No module named 'osgeo'
 
 Traceback (most recent call last):
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 311, in loadPlugin
 __import__(packageName)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
  line 28, in 
 from processing.tools.dataobjects import *  # NOQA
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py",
  line 51, in 
 from processing.algs.gdal.GdalUtils import GdalUtils
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py",
  line 35, in 
 from osgeo import gdal
   File 
 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
  line 664, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
 ModuleNotFoundError: No module named 'osgeo'
 
 Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55) [GCC 
 4.2.1 (Apple Inc. build 5666) (dot 3)] 
 QGIS version: 3.0.2-Girona Girona, exported 
 Python Path:
 
 /Applications/QGIS3.app/Contents/MacOS/../Resources/python
 /Users/goatsweater/Library/Application 
 Support/QGIS/QGIS3/profiles/default/python
 /Users/goatsweater/Library/Application 
 Support/QGIS/QGIS3/profiles/default/python/plugins
 

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-22 Thread William Kyngesburye
Try installing the 10.9 version of Python.

Then reinstall GDAL and QGIS.

> On May 22, 2018, at 7:37 PM, Reg Maltais  wrote:
> 
> The python version I installed was the “older” 10.6 version of python.
> pyp version is "pip 10.0.1 from 
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip
>  (python 3.6)"
> My macOS version is 10.13.4.
> 
> I’m willing to install all the modules manually if you want me to run some 
> tests for you.
> 
> Thanks.
> 
>> On May 22, 2018, at 8:04 PM, William Kyngesburye > > wrote:
>> 
>> The latest pip, as used to install Python modules, has a problem that 
>> affects some people.  I haven't figured out a definite solution, but there 
>> is a workaround that means manually installing all the python modules.  Or 
>> you can wait for QGIS 3.0.3 - at least I'll use the workaround in the 
>> installers.
>> 
>> You can help me with some information:
>> 
>> - what version of Python did you install?  specifically, which system 
>> version?  Starting with Python 3.6.5, there are now 2 installers: one for 
>> older OS X systems, it has "macosx10.6" in the installer name (this is how 
>> all previous versions were built), and one for newer systems, it has 
>> macosx10.9 in the installer name.
>> 
>> - which version of pip is installed?  you can check from a Terminal with:
>> 
>>   pip3 -V
>> 
>> - your macOS version
>> 
>>> On May 22, 2018, at 6:23 PM, Reg Maltais >> > wrote:
>>> 
>>> Hi,
>>> 
>>> I’ve run a complete install of Python 3 (python-3.6.5-macos10.6.pkg), GDAL 
>>> complete, then QGIS 3.0.2. When I open QGIS I get the error below. I found 
>>> a thread that has a similar error, and the fix was to reinstall all the 
>>> components, but I’ve done this a few times now to no avail (both 
>>> overwriting QGIS3.app and after deleting it). I’ve also set $PATH to 
>>> prepend 
>>> "/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:”
>>>  in the environment settings.
>>> 
>>> I went and looked into 
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-package,
>>>  and sure enough there is no ‘osgeo’. Other things like ‘psycopg2’ are 
>>> there though, but for whatever reason not osgeo. Any ideas would be 
>>> appreciated.
>>> 
>>> 
>>> Couldn't load plugin 'processing' 
>>> ModuleNotFoundError: No module named 'osgeo'
>>> 
>>> Traceback (most recent call last):
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 311, in loadPlugin
>>> __import__(packageName)
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 664, in _import
>>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
>>>  line 28, in 
>>> from processing.tools.dataobjects import *  # NOQA
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 664, in _import
>>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py",
>>>  line 51, in 
>>> from processing.algs.gdal.GdalUtils import GdalUtils
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 664, in _import
>>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py",
>>>  line 35, in 
>>> from osgeo import gdal
>>>   File 
>>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>>> line 664, in _import
>>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>> ModuleNotFoundError: No module named 'osgeo'
>>> 
>>> Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55) [GCC 4.2.1 
>>> (Apple Inc. build 5666) (dot 3)] 
>>> QGIS version: 3.0.2-Girona Girona, exported 
>>> Python Path:
>>> 
>>> /Applications/QGIS3.app/Contents/MacOS/../Resources/python
>>> /Users/goatsweater/Library/Application 
>>> Support/QGIS/QGIS3/profiles/default/python
>>> /Users/goatsweater/Library/Application 
>>> Support/QGIS/QGIS3/profiles/default/python/plugins
>>> /Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
>>> /Users/goatsweater/Library/Application 
>>> 

Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-22 Thread Reg Maltais
The python version I installed was the “older” 10.6 version of python.
pyp version is "pip 10.0.1 from 
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip
 (python 3.6)"
My macOS version is 10.13.4.

I’m willing to install all the modules manually if you want me to run some 
tests for you.

Thanks.

> On May 22, 2018, at 8:04 PM, William Kyngesburye  
> wrote:
> 
> The latest pip, as used to install Python modules, has a problem that affects 
> some people.  I haven't figured out a definite solution, but there is a 
> workaround that means manually installing all the python modules.  Or you can 
> wait for QGIS 3.0.3 - at least I'll use the workaround in the installers.
> 
> You can help me with some information:
> 
> - what version of Python did you install?  specifically, which system 
> version?  Starting with Python 3.6.5, there are now 2 installers: one for 
> older OS X systems, it has "macosx10.6" in the installer name (this is how 
> all previous versions were built), and one for newer systems, it has 
> macosx10.9 in the installer name.
> 
> - which version of pip is installed?  you can check from a Terminal with:
> 
>   pip3 -V
> 
> - your macOS version
> 
>> On May 22, 2018, at 6:23 PM, Reg Maltais > > wrote:
>> 
>> Hi,
>> 
>> I’ve run a complete install of Python 3 (python-3.6.5-macos10.6.pkg), GDAL 
>> complete, then QGIS 3.0.2. When I open QGIS I get the error below. I found a 
>> thread that has a similar error, and the fix was to reinstall all the 
>> components, but I’ve done this a few times now to no avail (both overwriting 
>> QGIS3.app and after deleting it). I’ve also set $PATH to prepend 
>> "/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:”
>>  in the environment settings.
>> 
>> I went and looked into 
>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-package,
>>  and sure enough there is no ‘osgeo’. Other things like ‘psycopg2’ are there 
>> though, but for whatever reason not osgeo. Any ideas would be appreciated.
>> 
>> 
>> Couldn't load plugin 'processing' 
>> ModuleNotFoundError: No module named 'osgeo'
>> 
>> Traceback (most recent call last):
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 311, in loadPlugin
>> __import__(packageName)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 664, in _import
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
>>  line 28, in 
>> from processing.tools.dataobjects import *  # NOQA
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 664, in _import
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py",
>>  line 51, in 
>> from processing.algs.gdal.GdalUtils import GdalUtils
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 664, in _import
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py",
>>  line 35, in 
>> from osgeo import gdal
>>   File 
>> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 664, in _import
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>> ModuleNotFoundError: No module named 'osgeo'
>> 
>> Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55) [GCC 4.2.1 
>> (Apple Inc. build 5666) (dot 3)] 
>> QGIS version: 3.0.2-Girona Girona, exported 
>> Python Path:
>> 
>> /Applications/QGIS3.app/Contents/MacOS/../Resources/python
>> /Users/goatsweater/Library/Application 
>> Support/QGIS/QGIS3/profiles/default/python
>> /Users/goatsweater/Library/Application 
>> Support/QGIS/QGIS3/profiles/default/python/plugins
>> /Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
>> /Users/goatsweater/Library/Application 
>> Support/QGIS/QGIS3/profiles/default/python
>> 
>> Thanks,
>> Reg
>> ___
>> 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 errors after install on macOS 10.13.4

2018-05-22 Thread William Kyngesburye
The latest pip, as used to install Python modules, has a problem that affects 
some people.  I haven't figured out a definite solution, but there is a 
workaround that means manually installing all the python modules.  Or you can 
wait for QGIS 3.0.3 - at least I'll use the workaround in the installers.

You can help me with some information:

- what version of Python did you install?  specifically, which system version?  
Starting with Python 3.6.5, there are now 2 installers: one for older OS X 
systems, it has "macosx10.6" in the installer name (this is how all previous 
versions were built), and one for newer systems, it has macosx10.9 in the 
installer name.

- which version of pip is installed?  you can check from a Terminal with:

  pip3 -V

- your macOS version

> On May 22, 2018, at 6:23 PM, Reg Maltais  wrote:
> 
> Hi,
> 
> I’ve run a complete install of Python 3 (python-3.6.5-macos10.6.pkg), GDAL 
> complete, then QGIS 3.0.2. When I open QGIS I get the error below. I found a 
> thread that has a similar error, and the fix was to reinstall all the 
> components, but I’ve done this a few times now to no avail (both overwriting 
> QGIS3.app and after deleting it). I’ve also set $PATH to prepend 
> "/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:”
>  in the environment settings.
> 
> I went and looked into 
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-package, 
> and sure enough there is no ‘osgeo’. Other things like ‘psycopg2’ are there 
> though, but for whatever reason not osgeo. Any ideas would be appreciated.
> 
> 
> Couldn't load plugin 'processing' 
> ModuleNotFoundError: No module named 'osgeo'
> 
> Traceback (most recent call last):
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 311, in loadPlugin
> __import__(packageName)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
>  line 28, in 
> from processing.tools.dataobjects import *  # NOQA
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py",
>  line 51, in 
> from processing.algs.gdal.GdalUtils import GdalUtils
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py",
>  line 35, in 
> from osgeo import gdal
>   File 
> "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
> line 664, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ModuleNotFoundError: No module named 'osgeo'
> 
> Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55) [GCC 4.2.1 
> (Apple Inc. build 5666) (dot 3)] 
> QGIS version: 3.0.2-Girona Girona, exported 
> Python Path:
> 
> /Applications/QGIS3.app/Contents/MacOS/../Resources/python
> /Users/goatsweater/Library/Application 
> Support/QGIS/QGIS3/profiles/default/python
> /Users/goatsweater/Library/Application 
> Support/QGIS/QGIS3/profiles/default/python/plugins
> /Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
> /Users/goatsweater/Library/Application 
> Support/QGIS/QGIS3/profiles/default/python
> 
> Thanks,
> Reg
> ___
> 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

-
William Kyngesburye 
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect


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

[Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-22 Thread Reg Maltais
Hi,

I’ve run a complete install of Python 3 (python-3.6.5-macos10.6.pkg), GDAL 
complete, then QGIS 3.0.2. When I open QGIS I get the error below. I found a 
thread that has a similar error, and the fix was to reinstall all the 
components, but I’ve done this a few times now to no avail (both overwriting 
QGIS3.app and after deleting it). I’ve also set $PATH to prepend 
"/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:”
 in the environment settings.

I went and looked into 
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-package, 
and sure enough there is no ‘osgeo’. Other things like ‘psycopg2’ are there 
though, but for whatever reason not osgeo. Any ideas would be appreciated.


Couldn't load plugin 'processing' 
ModuleNotFoundError: No module named 'osgeo'

Traceback (most recent call last):
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 311, in loadPlugin
__import__(packageName)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
 line 28, in 
from processing.tools.dataobjects import *  # NOQA
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py",
 line 51, in 
from processing.algs.gdal.GdalUtils import GdalUtils
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py",
 line 35, in 
from osgeo import gdal
  File 
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'osgeo'

Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55) [GCC 4.2.1 
(Apple Inc. build 5666) (dot 3)] 
QGIS version: 3.0.2-Girona Girona, exported 
Python Path:

/Applications/QGIS3.app/Contents/MacOS/../Resources/python
/Users/goatsweater/Library/Application 
Support/QGIS/QGIS3/profiles/default/python
/Users/goatsweater/Library/Application 
Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
/Users/goatsweater/Library/Application 
Support/QGIS/QGIS3/profiles/default/python

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

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

2018-05-20 Thread David Addy
I have always been able to clip a raster using the mask made by drawing a
polygon around the required area in QGIS 2. However, in QGIS 3 the process
does not work the same way. I cannot figure out how to make a new output
file, and whatever I try results in no comprehensible output.
I have just successfully made a clipped geotiff using 2.18.16, but it would
be better to be able to do it just as easily in Q3.
Can anyone explain what is going on with Raster-Extract-Clipper in Q3?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 Layer's Panel Font Customization

2018-04-11 Thread iqnaulhaq
Hi Calvin

AFAIK you can set the font size in General tab on Settings->Options and change 
the font size parameter. But be advise this will change the entire QGIS font 
size.

Thanks 

Muhammad Iqnaul

From: C Hamilton
Sent: Wednesday, April 11, 2018 8:25 PM
To: qgis-user
Subject: [Qgis-user] QGIS 3 Layer's Panel Font Customization

I received this question from a user and have not been able to find the answer. 
Is it possible to customize the font color/size/boldness of the names that is 
used in he Layer's panel? This user has some trouble with his eyes and the 
light gray when a layer is not selected is difficult to see. He would probably 
also want to increase the font size.

Thanks,

Calvin

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

[Qgis-user] QGIS 3 Layer's Panel Font Customization

2018-04-11 Thread C Hamilton
I received this question from a user and have not been able to find the
answer. Is it possible to customize the font color/size/boldness of the
names that is used in he Layer's panel? This user has some trouble with his
eyes and the light gray when a layer is not selected is difficult to see.
He would probably also want to increase the font size.

Thanks,

Calvin
___
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   >