Opened 7 years ago

Closed 7 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 by martinl, 7 years ago

Milestone: 7.0.7

comment:3 by martinl, 7 years ago

In 72392:

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

comment:4 by martinl, 7 years ago

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

comment:5 by martinl, 7 years ago

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

comment:6 by nila, 7 years ago

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 by martinl, 7 years ago

Milestone: 7.0.77.4.1

comment:8 by martinl, 7 years ago

Resolution: fixed
Status: assignedclosed

In 72494:

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

Note: See TracTickets for help on using tickets.