[PROJ] Installing PROJ on a Mac

Paul Harwood runette at gmail.com
Wed Nov 25 13:07:19 PST 2020


There is an executable that comes with proj but I am not at all convinced
that they package that executable into QGIS or that, if they do that it
would be on the path. They don't need the executable in QGIS - it is using
{on the mac} the dylib.

On Wed, 25 Nov 2020 at 20:47, Chris Marsh <chris.marsh at usask.ca> wrote:

> Hi,
>
> Oh...there is a binary that comes with proj! I've never used it, and did
> not know about that, my apologies!
> Hopefully someone on QGIS list or the issue can give you something more
> actionable as my sense is the problem lies there.
>
> Cheers
> Chris
>
> On Wed, Nov 25, 2020 at 2:29 PM Christophe Besuchet <design at golok.net>
> wrote:
>
>> Chris,
>>
>> Thank you for your reply.
>>
>> I updated to 3.16, but the bug persists… I updated the GitHub issue
>> tracker, even though it is closed; if no answer, I'll open a new QGIS
>> ticket. One thing is sure: the user who opened the original ticket has
>> still issues as well (Windows 10, QGIS 3.16).
>>
>> The weird thing is that I can preview raster with the Winkel Tripel
>> projection, but only part of it; as soon as the preview reaches the end of
>> longitudes, the raster disappear (screenshots on the GitHub issue tracker).
>>
>> As for my attempt at checking if PROJ was installed by typing 'proj', I
>> had found it here:
>>
>> https://github.com/dtutic/GDAL-1.10.1-wintri/blob/master/README.md
>>
>> Anyhow, let's hope this bug can be fixed on QGIS side.
>>
>> Thanks again for your input.
>>
>> Cheers,
>>
>> Christophe
>>
>> On 25 Nov 2020, at 17:16, Chris Marsh <chris.marsh at usask.ca> wrote:
>>
>> Hi,
>>
>> I see you note
>> >QGIS 3.14
>> but the QGis 3.14 change notes
>> https://www.qgis.org/en/site/forusers/visualchangelog314/index.html
>> claim that QGIS 3.14 addresses that problem -- search for  Problem
>> reprojecting rasters in 54019 and 54042 CRSs #35512
>> <https://github.com/qgis/QGIS/issues/35512> in the above link
>>
>> If resolving #35512 in v 3.14 and 3.16 doesn't solve the problem, I would
>> open a new QGis ticket.
>>
>> On compiling proj:
>> proj is one of the geospatial libraries used by QGis and is a core
>> library for handling reprojection. It is something called by other programs
>> and isn't going to show up on the command line by typing 'proj'.
>> Further, the QGis will need to be recompiled against this newer version
>> of proj to work. Installing proj yourself separately on your computer is
>> almost certainly not going to bring the new features forward for the
>> currently installed qgis.
>> Compiling proj isn't going to do what you want unfortunately.
>>
>> So, I would confirm this is bug is still a problem on 3.14 (and really
>> ensure you're trying QGis 3.16) and you aren't accidentally on 3.12.  If
>> it's still a problem, I would open a new ticket or post on the QGIs mailing
>> list '
>> https://qgis.org/en/site/forusers/support.html
>>
>> Hope this helps,
>>
>> Cheers
>> Chris
>>
>> On Tue, Nov 24, 2020 at 5:21 PM Christophe Besuchet <design at golok.net>
>> wrote:
>>
>>> CAUTION: External to USask. Verify sender and use caution with links and
>>> attachments. Forward suspicious emails to phishing at usask.ca
>>>
>>>
>>> Hello,
>>>
>>> Dumb question from a dumb new user, so please forgive me if this is not
>>> the right place to ask.
>>>
>>> I’m a QGIS user and I'm trying to solve a problem of reprojecting
>>> rasters in Winkel Tripel projection 54042, in the following environment:
>>>
>>> mas OS Mojave 10.14.6
>>> QGIS 3.14
>>>
>>> I understood that this was due "to the lack in PROJ of implementation of
>>> the inverse projection for Winkel II" and that it was now "added for PROJ
>>> 7.1".
>>>
>>> https://github.com/qgis/QGIS/issues/35512
>>>
>>> This is what I attempted:
>>>
>>> 1. Used Terminal to check if PROJ was installed on my Mac: got the
>>> "-bash: proj: command not found"
>>>
>>> 2. I downloaded the two following files from the download page of
>>> proj.org:
>>>
>>> • 2020-11-01 proj-7.2.0.tar.gz
>>> • 2020-11-01 proj-data-1.3.tar.gz
>>>
>>> 3. Tried to install with the "brew install proj" command, as instructed
>>> on the installation page, but to no avail; Terminal returned me the
>>> following error message: "Error: No such file or directory @ dir_chdir -
>>> /usr/local/Cellar” and "Operation not permitted @ dir_s_mkdir -
>>> /usr/local/Cellar".
>>>
>>> However, after all this, I found a new "PROJ-master" subdirectory in my
>>> user directory. In doubt, I checked once again if PROJ was installed on my
>>> Mac, but Terminal returned me the same "-bash: proj: command not found".
>>>
>>> Obviously I must have missed something, and my knowledge of Terminal
>>> commands is absolute zero… What am I supposed to do now?
>>>
>>> In advance thank you zillions for your help!
>>>
>>> Cheers,
>>>
>>> Christophe Besuchet
>>> _______________________________________________
>>> PROJ mailing list
>>> PROJ at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/proj
>>>
>>
>> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20201125/377a62da/attachment.html>


More information about the PROJ mailing list