Opened 3 years ago

Closed 3 years ago

#3514 closed defect (fixed)

Read EPSG codes with PROJ v.5 fails

Reported by: nila Owned by: martinl
Priority: major Milestone: 7.4.1
Component: Startup Version: unspecified
Keywords: PROJ_v.5 epsg startup Cc: grass-dev@…
CPU: Unspecified Platform: All

Description

As of version 5 of PROJ , the epsg file starts with a '<metadata>...' line. The current code in gui::wxpython::core::utils.py::ReadEpsgCodes? doesn't take this into account. This causes e.g. the creation of a new location in the startup based on epsg code to fail.

Change History (8)

comment:1 Changed 3 years ago by martinl

Milestone: 7.0.7

comment:3 Changed 3 years ago by martinl

In 72392:

Read EPSG codes with PROJ v.5 fails, see #3514

comment:4 Changed 3 years ago by martinl

Should be fixed in r72392 (trunk). Testing highly welcome before we do backport to release branches.

comment:5 Changed 3 years ago by martinl

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

comment:6 Changed 3 years ago by nila

Thanks! Works fine for me on 7.4.0 under macOS, in Startup and Preferences. Tested with the old type of epsg file as well as the new one.

comment:7 Changed 3 years ago by martinl

Milestone: 7.0.77.4.1

comment:8 Changed 3 years ago by martinl

Resolution: fixed
Status: assignedclosed

In 72494:

Read EPSG codes with PROJ v.5 fails, fix #3514

Note: See TracTickets for help on using tickets.