Opened 5 years ago

Last modified 5 years ago

#3863 new defect

epsg file missing in GRASS 7.6.1 stable

Reported by: Luigi Ponti Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: Projections/Datums Version: svn-releasebranch76
Keywords: epsg Cc: Luigi Ponti
CPU: OSX/Intel Platform: MacOSX

Description

epsg file appers to be missing in GRASS 7.6.1 stable for mac

from /Applications/GRASS-7.6.app/Contents/Resources/share/proj

installed from bundled binaries at http://grassmac.wikidot.com/downloads

on macOS 10.14.5 (18F203)

Encountered error when trying to create the first location on the first startup using EPSG code but failed with error showing path to missing epsg file.

Change History (3)

in reply to:  description ; comment:1 by mmetz, 5 years ago

Replying to Luigi Ponti:

epsg file appers to be missing in GRASS 7.6.1 stable for mac

from /Applications/GRASS-7.6.app/Contents/Resources/share/proj

installed from bundled binaries at http://grassmac.wikidot.com/downloads

The epsg file is missing because the bundle uses proj-6.0.0 which no longer has an epsg file.

GRASS 7.6 is not compatible with proj-6+, please rebuild with proj-5.x.

in reply to:  1 ; comment:2 by Luigi Ponti, 5 years ago

Cc: Luigi Ponti added

Replying to mmetz:

Replying to Luigi Ponti:

epsg file appers to be missing in GRASS 7.6.1 stable for mac

from /Applications/GRASS-7.6.app/Contents/Resources/share/proj

installed from bundled binaries at http://grassmac.wikidot.com/downloads

The epsg file is missing because the bundle uses proj-6.0.0 which no longer has an epsg file.

GRASS 7.6 is not compatible with proj-6+, please rebuild with proj-5.x.

Thanks and my apologies -- I suspected something like that but was unable to figure it out.

(I did something really wrong which appears to work, however: copied epsg from another GRASS 7.4.1 precompiled bundle installation from the same source I had on the same machine.)

I now see it in release notes for proj-6.0.0 that all CRS stuff in the proj.db SQLite3 database file: https://proj.org/news.html#id41

I wonder why the bundle was built with an incompatible proj-6 libary -- it that going to break a lot of GRASS functionality other than the missing epsg file?

Should I close the bug as it is apparently not a bug?

in reply to:  2 comment:3 by mmetz, 5 years ago

Replying to Luigi Ponti:

I wonder why the bundle was built with an incompatible proj-6 libary -- it that going to break a lot of GRASS functionality other than the missing epsg file?

Yes, reprojections are affected because the bahviour of proj changed: previously, it expected coordinates in the order east, north. Now it depends on the CRS definition, e.g. commonly used EPSG:4326 defines an order of north, east. Previously it expected coordinates for ll to be in radians, now it also depends on the CRS definition (commonly degrees, not radians for ll). That means even if you patch in the old epsg file, coordinate transformations might be wrong. Not to mention the new temporal dimension and the new availability of more accurate transformation pipelines.

Should I close the bug as it is apparently not a bug?

Maybe we should add a configure check for proj-6+ to GRASS 7.6.

Note: See TracTickets for help on using tickets.