[GRASS-dev] missing proj-parms.table in GRASS 7

i don't know if this is a bug or a 'feature'.

Recently, the location wizard stopped running in GRASS 7 because proj-parms.table is missing from $GISBASE/etc. Here is the error.

IOError: [Errno 2] No such file or directory: '/Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/proj-parms.table'

So does this mean there is a bug that is preventing this file from getting created or copied to the correct spot in GRASS 7?
Or does it mean that proj-parms.table has been replaced with something else and we need to change the location wizard to parse the new file, whatever it is?

Michael

____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 SHESC), 480-727-0709 (CSDC)
www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu

Michael Barton wrote:

i don't know if this is a bug or a 'feature'.

Recently, the location wizard stopped running in GRASS 7 because
proj-parms.table is missing from $GISBASE/etc. Here is the error.

IOError: [Errno 2] No such file or directory:
'/Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/proj-parms.table'

So does this mean there is a bug that is preventing this file from
getting created or copied to the correct spot in GRASS 7?

Or does it mean that proj-parms.table has been replaced with
something else and we need to change the location wizard to parse
the new file, whatever it is?

proj-{desc,parms,units}.table are part of g.setproj. g.setproj isn't
built in 7.0, as it's a terminal-based interactive program, so those
files don't get installed. This has been the case for a long time; it
isn't a recent change.

The files could be moved to e.g. lib/proj.

--
Glynn Clements <glynn@gclements.plus.com>

Well, we need what is in this file to correctly create a full proj4 string. It's easy to change where the location manager looks for files, but they need to be built.

Specifically, the following files are read by the __readData method of the LocationWizard class to create the lists and dictionaries needed for the wizard.

proj-parms.table
datum.table
ellipse.table
proj-desc.table

Michael

On Jan 19, 2010, at 3:52 AM, Glynn Clements wrote:

Michael Barton wrote:

i don't know if this is a bug or a 'feature'.

Recently, the location wizard stopped running in GRASS 7 because
proj-parms.table is missing from $GISBASE/etc. Here is the error.

IOError: [Errno 2] No such file or directory:
'/Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/proj-parms.table'

So does this mean there is a bug that is preventing this file from
getting created or copied to the correct spot in GRASS 7?

Or does it mean that proj-parms.table has been replaced with
something else and we need to change the location wizard to parse
the new file, whatever it is?

proj-{desc,parms,units}.table are part of g.setproj. g.setproj isn't
built in 7.0, as it's a terminal-based interactive program, so those
files don't get installed. This has been the case for a long time; it
isn't a recent change.

The files could be moved to e.g. lib/proj.

--
Glynn Clements <glynn@gclements.plus.com>

Michael Barton wrote:

Well, we need what is in this file to correctly create a full proj4
string. It's easy to change where the location manager looks for files,
but they need to be built.

Specifically, the following files are read by the __readData method of
the LocationWizard class to create the lists and dictionaries needed for
the wizard.

proj-parms.table
datum.table
ellipse.table
proj-desc.table

I've moved proj-*.table from g.setproj to lib/proj in r40557.
datum.table and ellipse.table are from lib/gis, and are already
installed.

--
Glynn Clements <glynn@gclements.plus.com>

Thanks much.

Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
www: http://csdc.asu.edu, http://shesc.asu.edu
    http://www.public.asu.edu/~cmbarton

On Jan 19, 2010, at 10:03 AM, Glynn Clements wrote:

Michael Barton wrote:

Well, we need what is in this file to correctly create a full proj4
string. It's easy to change where the location manager looks for files,
but they need to be built.

Specifically, the following files are read by the __readData method of
the LocationWizard class to create the lists and dictionaries needed for
the wizard.

proj-parms.table
datum.table
ellipse.table
proj-desc.table

I've moved proj-*.table from g.setproj to lib/proj in r40557.
datum.table and ellipse.table are from lib/gis, and are already
installed.

--
Glynn Clements <glynn@gclements.plus.com>