OpenOrienteering/mapper

Unable to use EPSG code georeferencing on macOS

FelixFrog opened this issue · 2 comments

Steps to reproduce

  1. Import a gereferenced template with world file (jpg file with jgw world file) (I generated mine from SAS Planet)
  2. Choose "Georeference by EPSG code"
  3. Input any EPSG code number

Actual behaviour

On the "status" line it says "No such file or directory" in red always, no matter what I input in the code, which is kind of strange since it should find the file (it lets me select also "from template file" since I have the .jpg.aux.xml one).

I think this is a platform specific bug (it doesn't happen on windows). I briefly looked at the source code: I couldn't find the actual error message in the source, so my guess is that it's another library's message. I do think the EPSG menu doesn't work properly, and it selects instead some PROJ4-related element (beacause of

status_field->setText(QLatin1String("<b style=\"color:red\">") + error + QLatin1String("</b>"));
prints a PROJ4-related message (???) and it would support the external library hypothesis)

Expected behaviour

It should accept the epsg code.

Configuration

Mapper Version: 0.9.6
Operating System: macOS Big Sur 11.6.1

I don't experience this problem with the Mapper 0.9.5 release on macOS Ventura.

It appears that a PROJ-related file is missing from your installation. It may help if you explain how you obtained the version that you're using. Version number 0.9.6 is being used for work in progress in git, but it does not yet refer to a specific release.

Yes, I had forgotten that I compiled my own version of OOM many months ago. That's why it says that it's version 0.9.6, and it explains the missing files. Thanks, I solved the issue by reinstalling OOM.