After installing 6.4.2 from source, attempting to insert a spatial reference
system for a new location (/Select EPSG code for spatial reference system/)
was giving an error that it was unable to find EPSG codes at
/usr/local/share/proj/epsg
The configuration commands (--with-proj-share="/usr/share/proj/" ) did not
seem to make a difference?
My solution was to copy the proj directory and contents from /usr/share/proj
to to /usr/local/share
sudo cp -r /usr/share/proj /usr/local/share/
Has anyone else encountered this problem, or perhaps my configuration
options below need amending?
On Mon, Apr 9, 2012 at 10:00 AM, RichardC <richtcooper@hotmail.com> wrote:
Hi,
After installing 6.4.2 from source,
Please tell us on which operating system.
attempting to insert a spatial reference
system for a new location (/Select EPSG code for spatial reference system/)
was giving an error that it was unable to find EPSG codes at
/usr/local/share/proj/epsg
Please tell us how you installed PROJ4 (self compiled or package)?
The configuration commands (--with-proj-share="/usr/share/proj/" ) did not
seem to make a difference?
It depends.
My solution was to copy the proj directory and contents from /usr/share/proj
to to /usr/local/share
sudo cp -r /usr/share/proj /usr/local/share/
That's likely no good idea and not needed.
Has anyone else encountered this problem, or perhaps my configuration
options below need amending?
./configure \
...
--with-proj-share="/usr/share/proj/" \
Tell us what exactly the problem is (copy paste of error).
Hi,
After installing 6.4.2 from source, attempting to insert a spatial reference
system for a new location (/Select EPSG code for spatial reference system/)
was giving an error that it was unable to find EPSG codes at
/usr/local/share/proj/epsg
At first I found this same problem.
I have proj and proj-devel installed by the package manager (yum on Scientific Linux 6) and GRASS 6.4.2 self compiled.
I double checked the ./configure line to make sure I had:
–with-proj-share=“/usr/share/proj”
Then I got the following output after running configure:
checking for location of External PROJ.4 includes…
checking for proj_api.h… yes
checking External PROJ.4 version… 470
checking for location of External PROJ.4 library…
checking for pj_get_def in -lproj… yes
checking for location of External PROJ.4 data files… /usr/share/proj
checking for /usr/share/proj/epsg… yes
Now, after compiling and installing, I still got the error message that Richard mentioned when I tried to create a Location with the wizard, but then, after choosing “Select EPSG code…” I had a window to choose the correct path to the epsg file. Only then it worked as expected.
On Mon, Apr 9, 2012 at 2:45 PM, Micha Silver <micha@arava.co.il> wrote:
On 04/09/2012 11:00 AM, RichardC wrote:
Hi,
After installing 6.4.2 from source, attempting to insert a spatial reference
system for a new location (/Select EPSG code for spatial reference system/)
was giving an error that it was unable to find EPSG codes at
/usr/local/share/proj/epsg
Run the command 'make distclean' in the GRASS installation directory
(grass-6.4.2), then then ./configure, make and make install. The path to the
EPSG codes in then /usr/share/proj/epsg