[OSRS-PROJ] proj-4.4.6 can't find epsg
Leah Roderman
elrod at oaktownunderground.com
Thu Mar 13 22:53:08 PST 2003
Hello, I'm running into a problem with proj-4.4.6 not finding the epsg file. I am using proj4 with MapServer 3.6.4 on RedHat8.0, and compiled proj4 (using gcc 3.2) first with default option, and then MapServer (using gcc 2.95). From what I've read, everything is located where it should be, so I'm wondering what I missed.
The error is produced by using the term "init=espg:102003" in a MapServer projection layer. This epsg code corresponds to Albers NAD83 in the epsg file. Output to browser is "msProcessProjection(): Projection library error. no system list, errno: 2"
MapServer says it recognizes proj4:
# cgi-bin/mapserv -v
MapServer version 3.6.4 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=GDAL INPUT=SHAPEFILE
system knows proj:
# which proj
/usr/local/bin/proj
# /usr/local/bin/proj -v
Rel. 4.4.6, 3 March 2003
<proj>:
projection initialization failure
cause: no arguments in initialization list
program abnormally terminated
nad dir exists where supposed to:
# ls /usr/local/share/proj/
epsg GL27 nad83 pj_out27.dist proj_def.dat test83
esri nad27 nad.lst pj_out83.dist test27 world
Perhaps permissions? all owned by root, 644. Hmmmm, what else. No mention of epsg in config.log
Thanks for the help, hope this sparks some recognition for someone...
- Leah
----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.
More information about the Proj
mailing list