----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Content-Lines: 57
Elwin,
%%%-n Enter the name of the map definition file [map.def]:
%%%
%%%
%%%
%%%-n Enter the denominator for the scale of the map [24000]:
First problem: you are using the wrong echo command. Your path is calling
usr/5bin 's echo that's why you see the -n at the begining of all the comments.
%%%cause: unknown elliptical parameter name
%%%
%%%
%%%and after answering some questions I get the error's:
%%%
%%%program abnomally terminated<mapdef>: error understanding geographic range
%%%mapdef abnormally terminated
%%%cat: cannot open map.def: No such file or directory
%%%grep: can't open map.def
%%%cat: cannot open map.def: No such file or directory
%%%cat: cannot open map.def: No such file or directory
%%%cat: cannot open map.def: No such file or directory
Second problem: I think you compiled the wrong proj code. Any way here's
the fix. Under src.related/mapgen/proj/src there is a file called
pj_ellps.c . This file stores all the ellipsoid names known to the proj
command. Unfortunately CERL uses different ellipsoid names then Jerry even
though they based there projection libs from MAPGEN. TO FIX THE PROBLEM
YOU MUST ENTER ALL THE GRASS ELLIPSOID NAMES IN THIS FILE AND RECOMPILE THE
PROJ COMMAND. I WILL ATTACH THE EDITED FILE I MODIFIED FOR YOU TO USE.
The attached file was copied with the /tmp path, so be sure to move it back to
src.related/mapgen/proj?/src before compiling.
That should fix your problem. Let me know.
Jill
*********************************************************************
# # #### #### #### ###### #### ##### Jill R. Schuler
# # # # # # # # # # USDA
# # #### # # #### ### #### # #### Soil Conservation Service
# # # # # # # # # # National Cartography and
# # # # # # # # # # GIS Center
#### #### #### # # #### ###### #### P.O. Box 6567
Ft. Worth, TX 76115
e-mail: jschuler@ncg.scs.ag.gov Phone: (817) 334-5559 x3086
*********************************************************************
----------
X-Sun-Data-Type: c-file
X-Sun-Data-Description: c-file
X-Sun-Data-Name: pj_ellps.c
X-Sun-Content-Lines: 49
/* definition of standard geoids */
#ifndef lint
static char RCSID = "@(#)$Id: pj_ellps.c,v 1.2 1993/08/03 05:13:04 grassb Exp $";
static char rcsid="$Header: /grass.src/4.1/src.related/mapgen/PROJ.4/src/RCS/pj_ellps.c,v 1.2 1993/08/03 05:13:04 grassb Exp $";
#endif
#define PJ_ELLPS__
#include "projects.h"
struct PJ_ELLPS
pj_ellps = {
"MERIT", "a=6378137.0", "rf=298.257", "MERIT 1983",
"GRS80", "a=6378137.0", "rf=298.257222", "GRS 1980(IUGG, 1980)",
"grs80", "a=6378137.0", "rf=298.257222", "GRS 1980(IUGG, 1980)",
"IAU76", "a=6378140.0", "rf=298.257", "IAU 1976",
"airy", "a=6377563.396", "b=6356256.910", "Airy 1830",
"mod_airy", "a=6377340.189", "b=6356036.143", "Modified Airy",
"aust_ntl", "a=6378160.0", "rf=298.25", "Australian Natl, S. Amer., IAU 64",
"australian", "a=6378160.0", "rf=298.25", "Australian Natl, S. Amer., IAU 64",
"GRS67", "a=6378160.0", "rf=247.247167", "GRS 67(IUGG 1967)",
"bessel", "a=6377397.155", "rf=299.1528128", "Bessel 1841",
"bess_nam", "a=6377483.865", "rf=299.1528128", "Bessel 1841 (Namibia)",
"clrk66", "a=6378206.4", "b=6356583.8", "Clarke 1866",
"clark66", "a=6378206.4", "b=6356583.8", "Clarke 1866",
"clrk80", "a=6378249.145", "rf=293.4663", "Clarke 1880 mod.",
"clark80", "a=6378249.145", "rf=293.4663", "Clarke 1880 mod.",
"everest", "a=6377276.3452", "b=6356075.4133", "Everest 1830",
"hough", "a=6378270.0", "b=6356794.343479", "Hough",
"intl", "a=6378388.0", "rf=297.", "International 1909 (Hayford)",
"international","a=6378388.0", "rf=297.", "International 1909 (Hayford)",
"hayford", "a=6378388.0", "rf=297.", "International 1909 (Hayford)",
"krass", "a=6378245.0", "rf=298.3", "Krassovsky, 1942",
"krassovsky", "a=6378245.0", "rf=298.3", "Krassovsky, 1942",
"mercury", "a=6378166.0", "b=6356784.283666", "Mercury 1960",
"modif_airy", "a=6377341.89", "b=6356036.143", "Modified Airy",
"mod_ever", "a=6377304.063", "b=6356103.039", "Modified Everest",
"modif_everest","a=6377304.063", "b=6356103.039", "Modified Everest",
"mod_merc", "a=6378150.0", "b=6356768.337303", "Modified Merc 1968",
"modif_merc", "a=6378150.0", "b=6356768.337303", "Modified Merc 1968",
"new_intl", "a=6378157.5", "b=6356772.2", "New International 1967",
"new_internatnl","a=6378157.5", "b=6356772.2", "New International 1967",
"SEasia", "a=6378155.0", "b=6356773.3205", "Southeast Asia",
"walbeck", "a=6376896.0", "b=6355834.8467", "Walbeck",
"WGS66", "a=6378145.0", "b=6356759.769356", "WGS 66",
"wgs66", "a=6378145.0", "b=6356759.769356", "WGS 66",
"WGS72", "a=6378135.0", "b=6356750.519915", "WGS 72",
"wgs72", "a=6378135.0", "b=6356750.519915", "WGS 72",
"wgs84", "a=6378137.0", "f=1/298.257223563", "WGS 84",
"sphere", "a=6370997.0", "es=0.0", "Sphere of 6370997 m",
(char *)0, (char *)0, (char *)0, (char *)0
};