Re: [Qgis-user] Programmatically close a layout dialog

2018-05-22 Thread Nyall Dawson
On 22 May 2018 at 23:54, DelazJ  wrote:
> Hi,
>
> From the Python Console, how can I close a print layout dialog, knowing its
> name?

In 3.0 something like this will work:

designers = [d for d in iface.openLayoutDesigners() if
d.masterLayout().name() == 'Layout 1']
if designers:
designers[0].close()

Nyall



>
> Thanks for any hint,
> Harrissou
>
> ___
> Qgis-user mailing list
> 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 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

Re: [Qgis-user] results Measure Tool vs. length()

2018-05-22 Thread Goyo
The measure tool measures elipsoidal distances (configurable in the
project properties).

The function length(geometry) returns the length of the argument
(linestring) measured in the plane.

The function $length() returns the length of the current geometry
(linestring) measured in the elipsoid and should be consistent with
the measure tool (same configuration).

You do not want to use length(geometry) unless you are using a local projection.


2018-05-22 11:57 GMT+02:00 Michel Stuyts :
> I understand that every projection has a distortion, but I was wondering how 
> the QGIS Measure Tool manages to give results very close to local projections 
> anywhere in the world no matter what project CRS is set, but the length() 
> function can't.
>
> Michel
>
>
> 
> Van: Micha Silver [tsvi...@gmail.com]
> Verzonden: vrijdag 18 mei 2018 17:41
> Aan: Michel Stuyts; qgis-user
> Onderwerp: Re: [Qgis-user] results Measure Tool vs. length()
>
> Maybe I misunderstood your question, but you *should* expect different 
> length, area and direction calculations when converting from one projection 
> to another. Every projection distorts. Either distance, area, or direction, 
> or some combination. A local projection is designed to minimize distortion 
> for some small section of the planet. So survey measurements in that region 
> will closely match map calculations. But trying to calculate from a layer 
> that's projected to some other projection will always give different results.
>
> (If you already understand the above, I apologize for restating the 
> obvious...)
>
> On 05/18/2018 01:14 PM, Michel Stuyts wrote:
> Thank you very much for the explanation.
>
> When I use 
> length(transform($geometry,layer_property(@layer_id,'crs'),'EPSG:31370')) in 
> Belgium the results are very similar to the result of the Measure Tool, but 
> if use this expression in New York the result is different from the result of 
> the Measure Tool.  It is the other way around if I use 
> length(transform($geometry,layer_property(@layer_id,'crs'),'EPSG:102316')). 
> What kind of projection does the Measure Tool use to calculate a length? 
> Because the results of the Measure Tool seem to be very similar to local 
> projections.
>
>
> Michel
>
>
>
>
>
> Van: Julien Guilloux [mailto:julien.guill...@ecrins-parcnational.fr]
> Verzonden: vrijdag 18 mei 2018 11:01
> Aan: Michel Stuyts ; 
> Springfield Harrison ; 
> qgis-user 
> Onderwerp: Re: [Qgis-user] results Measure Tool vs. length()
>
> Hi Michel,
>
> Never use epsg 3857 for measurement beacuse it is not a "projection"...
> this "pseudo projection mercator" 3857, called often "Popular Visualisation"  
> is pseudo Because only use for visualization applications.
>
> example in France :  3200 km for a road for example, instead of 2100 km in a 
> real projection (as local zone UTM or a Lambert projection)
>
>
> So, you can use qgis, esri, postgis etc... the measurment with 3857 will be 
> always bad, due to a "false" calcul from origine 0,0 (equateur cross 
> greenwich) and "false" ellipoide etc
>
> best regards,
> Julien
>
> have a look on :
> http://spatialreference.org/ref/sr-org/6864/
>
> 
> [Afbeelding verwijderd door afzender.]
>
>   [Afbeelding verwijderd door afzender.]
>
> Julien-Pierre GUILLOUX
> Chargé de mission Eau, Forêt, Natura 2000, coordinateur des 
> porter-à-connaissance
>
> Parc national des Écrins
> 04 92 40 20 56 / 06 99 77 38 26
> www.ecrins-parcnational.fr
>
>
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918
>
> ___
> Qgis-user mailing list
> 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] Programmatically close a layout dialog

2018-05-22 Thread DelazJ
Hi,

>From the Python Console, how can I close a print layout dialog, knowing its
name?

Thanks for any hint,
Harrissou
___
Qgis-user mailing list
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-it-user] QGIS 2.18 LTR - Warning inatteso

2018-05-22 Thread Marco Spaziani
idem ...però ora mi sembra che abbia rallentato un pochino nelle
prestazioni ...forse è la suggestione ...comunque per non sapere ne leggere
ne scrivere ora faccio alla vecchia maniera anni '90, stile MS DOS 3.0
...spengo e riavvio ;-)

Il giorno 22 maggio 2018 15:41, Alessandro Ciali  ha scritto:

> bingo. Anche a me nella 2.14.17, riguardava un certificato scaduto di
> ubuntu..io sono su Win7. Ho ignorato e proseguito
>
> 2018-05-22 15:34 GMT+02:00 Marco :
>
>> Mai apparso prima! Cos'è? Mi devo preoccupare?
>> 
>>
>>
>>
>> --
>> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f52506
>> 12.html
>> ___
>> QGIS-it-user mailing list
>> QGIS-it-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>
>
>
>
> --
> Alessandro Ciali
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] QGIS 2.18 LTR - Warning inatteso

2018-05-22 Thread Alessandro Ciali
bingo. Anche a me nella 2.14.17, riguardava un certificato scaduto di
ubuntu..io sono su Win7. Ho ignorato e proseguito

2018-05-22 15:34 GMT+02:00 Marco :

> Mai apparso prima! Cos'è? Mi devo preoccupare?
> 
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-
> f5250612.html
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>



-- 
Alessandro Ciali
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] Load results of PostGIS execute SQL

2018-05-22 Thread Anita Graser
Hi,

It seems like the Processing "PostGIS execute SQL" tool does not provide a
straightforward way to load the query results. Is there another way in
Processing to execute a query and get the results as a layer?

Thanks,
Anita
___
Qgis-user mailing list
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-it-user] QGIS 2.18 LTR - Warning inatteso

2018-05-22 Thread Marco
Mai apparso prima! Cos'è? Mi devo preoccupare?
 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] Alternative to Arcgis Collector

2018-05-22 Thread Matthias Kuhn
Hi Eddison,

there are several solutions available, QField [1] is closely integrated
with QGIS, but if you search the web you'll find others as well.

Best regards
Matthias


[1] http://www.qfield.org/docs/

On 05/22/2018 01:49 PM, Eddison Araya wrote:
> 
> Hi, I'm glad to say hello, is there any application similar to ArcGis
> Collector that is free and that one can generate and perform information
> directly in the field in real time?
> 
> Thank you
> 
> Eddison
> 
> 
> ___
> Qgis-user mailing list
> 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] Alternative to Arcgis Collector

2018-05-22 Thread Phil (The Geek) Wyatt
Open Data Kit and Epicollect are two that I know of but they are not as tightly 
integrated as Esri Collector. Personally I use Fulcrum App (points only and 
SAAS) which I find is good for most of my projects and 'relatively cheap' and 
easy to setup, export etc

 

Cheers - Phil

 

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Eddison 
Araya
Sent: Tuesday, May 22, 2018 9:50 PM
To: qgis-user
Subject: [Qgis-user] Alternative to Arcgis Collector

 


Hi, I'm glad to say hello, is there any application similar to ArcGis Collector 
that is free and that one can generate and perform information directly in the 
field in real time? 

 

Thank you 

 

Eddison

___
Qgis-user mailing list
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] [Inquiry]: Loading thermal image in QGIS

2018-05-22 Thread Nicolas Cadieux
Hi,

I suggest you load the value tool plugin to get local pixel values.  I have no 
idea what image format you are using so I can’t help you much.  It would be 
nice to have a sample.  In the layer properties, you can select what bands to 
use.  Perhaps a you have band 123 for rGB and other bands for the thermal info?

File formats accepted by Qgis are those ( to my knowledge) accepted by gdal. 
http://www.gdal.org/formats_list.html

Nicolas

> Le 22 mai 2018 à 02:49, Eunice Renovalles  a écrit :
> 
> Good day!
> 
> I am a new to using QGIS 2.18.19 (I also have QGIS 3.0.3) and I use this 
> program for a project involving thermal image processing. My thermal images 
> were acquired using Flir Vue Pro R camera. My aim was to recolor the image 
> based on its temperature.
> 
> I initially tried loading the thermal image in QGIS; however, the 
> thermal/radiometric data was gone when I used Identify Features tool, and 
> instead showed the RGB value per pixel.
> 
> I would like to inquire if it is possible to process thermal image in QGIS 
> and how to retain the thermal data upon loading it in the software. I am able 
> to extract the csv file thermal data of the image if ever it is needed.
> 
> Your reply would be greatly appreciated.
> 
> Regards,
> Eunice
> ___
> Qgis-user mailing list
> 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] Alternative to Arcgis Collector

2018-05-22 Thread Eddison Araya
Hi, I'm glad to say hello, is there any application similar to ArcGis
Collector that is free and that one can generate and perform information
directly in the field in real time?

Thank you

Eddison
___
Qgis-user mailing list
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-it-user] R: Re: R: Proiezioni con MMQGIS

2018-05-22 Thread Alessandro Ciali
Prova a cancellare o meglio rinominare la directory .qgis2 sotto users/tuo 
utente e riavvia qgis. Dovrebbe ricrearti la directory a questo punto 
reinstalla i plugin che ti interessano e guarda se si è risolto il problema


Inviato da Samsung Mobile.

 Messaggio originale Da: Giuseppe Puddu 
 Data:22/05/2018  13:10  (GMT+01:00) 
A: Utenti QGIS it  Oggetto: 
Re: [QGIS-it-user] R:  Proiezioni con MMQGIS 
Ho scoperto che non mi si attiva "processing" dal plugins.
Eppure ho aggiornato adesso con OSGEO
sono sotto W7-32 con QGIS 2.18.20
Infatti sotto un altro PC mi è comparso il processing.
Qualche indicazione per capire il problema?
grazie
Il 22.05.2018 12:59 Alessandro Ciali ha scritto:

Ciao, se su "processing" cerchi 'buffer' ne trovi quanti vuoi. Io generalmente 
uso i tools di grass.
Inviato da Samsung Mobile.


 Messaggio originale 
Da: Giuseppe Puddu
Data:22/05/2018 11:50 (GMT+01:00)
A: Utenti QGIS it
Oggetto: [QGIS-it-user] Proiezioni con MMQGIS
Ciao a tutti.
Ho bisogno di una info per uscire dal pantano.
Ho settato il progetto con SR 32633 Ho un file nello stesso SR.
Nelle opzioni ho messo che lavoriamo con lo stesso SR.
Se chiedo a MMQGIS di generare un buffer me lo genera comunque in 4326.
Se lo riprietto con Salva con nome si lancia in un'altra parte del mondo!
Non trovo soluzione.
Un altro sistema per fare buffer??
grazie in anticipo
giuseppe



Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 
9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! 
http://tisca.li/Open6GB0318




Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 
9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! 
http://tisca.li/Open6GB0318

___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] R: Proiezioni con MMQGIS

2018-05-22 Thread Giuseppe Puddu
  
Ho scoperto che non mi si attiva "processing" dal plugins. 
Eppure
ho aggiornato adesso con OSGEO 
sono sotto W7-32 con QGIS 2.18.20

Infatti sotto un altro PC mi è comparso il processing. 
Qualche
indicazione per capire il problema? 
grazie 

Il 22.05.2018 12:59
Alessandro Ciali ha scritto: 

> Ciao, se su "processing" cerchi
'buffer' ne trovi quanti vuoi. Io generalmente uso i tools di grass. 
>

> Inviato da Samsung Mobile. 
> 
>  Messaggio originale
 
> Da: Giuseppe Puddu 
> Data:22/05/2018 11:50 (GMT+01:00) 
>
A: Utenti QGIS it 
> Oggetto: [QGIS-it-user] Proiezioni con MMQGIS 
>
Ciao a tutti. 
> Ho bisogno di una info per uscire dal pantano. 
> Ho
settato il progetto con SR 32633 Ho un file nello stesso SR. 
> Nelle
opzioni ho messo che lavoriamo con lo stesso SR. 
> Se chiedo a MMQGIS
di generare un buffer me lo genera comunque in 4326. 
> Se lo riprietto
con Salva con nome si lancia in un'altra parte del mondo! 
> Non trovo
soluzione. 
> Un altro sistema per fare buffer?? 
> grazie in anticipo

> giuseppe 
> 
> Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS
per il tuo smartphone a 9EUR al mese per sempre. Passa ora a Tiscali
Mobile, il nostro mese è vero! http://tisca.li/Open6GB0318 [1]
 



Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 
9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! 
http://tisca.li/Open6GB0318

___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[QGIS-it-user] R: Proiezioni con MMQGIS

2018-05-22 Thread Alessandro Ciali
Ciao, se su "processing" cerchi 'buffer' ne trovi quanti vuoi. Io generalmente 
uso i tools di grass.



Inviato da Samsung Mobile.

 Messaggio originale Da: Giuseppe Puddu 
 Data:22/05/2018  11:50  (GMT+01:00) 
A: Utenti QGIS it  Oggetto: 
[QGIS-it-user] Proiezioni con MMQGIS 
Ciao a tutti.
Ho bisogno di una info per uscire dal pantano.
Ho settato il progetto con SR 32633 Ho un file nello stesso SR.
Nelle opzioni ho messo che lavoriamo con lo stesso SR.
Se chiedo a MMQGIS di generare un buffer me lo genera comunque in 4326.
Se lo riprietto con Salva con nome si lancia in un'altra parte del mondo!
Non trovo soluzione.
Un altro sistema per fare buffer??
grazie in anticipo
giuseppe



Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 
9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! 
http://tisca.li/Open6GB0318

___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[QGIS-it-user] Proiezioni con MMQGIS

2018-05-22 Thread Giuseppe Puddu
  
Ciao a tutti. 
Ho bisogno di una info per uscire dal pantano. 
Ho
settato il progetto con SR 32633 Ho un file nello stesso SR. 
Nelle
opzioni ho messo che lavoriamo con lo stesso SR. 
Se chiedo a MMQGIS di
generare un buffer me lo genera comunque in 4326. 
Se lo riprietto con
Salva con nome si lancia in un'altra parte del mondo! 
Non trovo
soluzione. 
Un altro sistema per fare buffer?? 
grazie in anticipo

giuseppe  


Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 
9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! 
http://tisca.li/Open6GB0318

___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] results Measure Tool vs. length()

2018-05-22 Thread Michel Stuyts
I understand that every projection has a distortion, but I was wondering how 
the QGIS Measure Tool manages to give results very close to local projections 
anywhere in the world no matter what project CRS is set, but the length() 
function can't.

Michel



Van: Micha Silver [tsvi...@gmail.com]
Verzonden: vrijdag 18 mei 2018 17:41
Aan: Michel Stuyts; qgis-user
Onderwerp: Re: [Qgis-user] results Measure Tool vs. length()

Maybe I misunderstood your question, but you *should* expect different length, 
area and direction calculations when converting from one projection to another. 
Every projection distorts. Either distance, area, or direction, or some 
combination. A local projection is designed to minimize distortion for some 
small section of the planet. So survey measurements in that region will closely 
match map calculations. But trying to calculate from a layer that's projected 
to some other projection will always give different results.

(If you already understand the above, I apologize for restating the obvious...)

On 05/18/2018 01:14 PM, Michel Stuyts wrote:
Thank you very much for the explanation.

When I use 
length(transform($geometry,layer_property(@layer_id,'crs'),'EPSG:31370')) in 
Belgium the results are very similar to the result of the Measure Tool, but if 
use this expression in New York the result is different from the result of the 
Measure Tool.  It is the other way around if I use 
length(transform($geometry,layer_property(@layer_id,'crs'),'EPSG:102316')). 
What kind of projection does the Measure Tool use to calculate a length? 
Because the results of the Measure Tool seem to be very similar to local 
projections.


Michel





Van: Julien Guilloux [mailto:julien.guill...@ecrins-parcnational.fr]
Verzonden: vrijdag 18 mei 2018 11:01
Aan: Michel Stuyts ; 
Springfield Harrison ; 
qgis-user 
Onderwerp: Re: [Qgis-user] results Measure Tool vs. length()

Hi Michel,

Never use epsg 3857 for measurement beacuse it is not a "projection"...
this "pseudo projection mercator" 3857, called often "Popular Visualisation"  
is pseudo Because only use for visualization applications.

example in France :  3200 km for a road for example, instead of 2100 km in a 
real projection (as local zone UTM or a Lambert projection)


So, you can use qgis, esri, postgis etc... the measurment with 3857 will be 
always bad, due to a "false" calcul from origine 0,0 (equateur cross greenwich) 
and "false" ellipoide etc

best regards,
Julien

have a look on :
http://spatialreference.org/ref/sr-org/6864/


[Afbeelding verwijderd door afzender.]

  [Afbeelding verwijderd door afzender.]

Julien-Pierre GUILLOUX
Chargé de mission Eau, Forêt, Natura 2000, coordinateur des 
porter-à-connaissance

Parc national des Écrins
04 92 40 20 56 / 06 99 77 38 26
www.ecrins-parcnational.fr





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


--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
___
Qgis-user mailing list
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] Output CRS error from QGIS server 3.0.2

2018-05-22 Thread galebellego
Hello Joshua,

do you still have your problem about the invalid CRS ?


I am far from being a QGIS expert, but I encountered such a problem a few
weeks ago (building a qgis 2.18 docker image).

So, if you still have your problem, here's what's worked for me .

First, try to have a look at your container (provided this is a standard
build!)

docker exec -itu root  ls /usr/share/qgis/resources/

You should see at least those 2 databases :
•   srs-template.db
•   srs.db

The second one is copied from the first in a post-install directive of one
of the .deb package : qgis-providers-common_x.xx.xx~stretch1_all.deb 

If you do not install the package at once (apt-install *.deb), the directive
may be executed before the srs-template is copied, leading to your problem :
srs.db will be missing, and it is the one that holds all CRS/SRS.

Provied it is your pb, trying to fix the build order is the solution, but
you can also perform the copy from within your Dockerfile as a workaround.

Hope it helps!

Gaël




--
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] [Inquiry]: Loading thermal image in QGIS

2018-05-22 Thread Eunice Renovalles
Good day!

I am a new to using QGIS 2.18.19 (I also have QGIS 3.0.3) and I use this
program for a project involving thermal image processing. My thermal images
were acquired using Flir Vue Pro R camera. My aim was to recolor the image
based on its temperature.

I initially tried loading the thermal image in QGIS; however, the
thermal/radiometric data was gone when I used Identify Features tool, and
instead showed the RGB value per pixel.

I would like to inquire if it is possible to process thermal image in QGIS
and how to retain the thermal data upon loading it in the software. I am
able to extract the csv file thermal data of the image if ever it is needed.

Your reply would be greatly appreciated.

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