[GRASS-user] Location wizard error

Hi
I’m using GRASS6.4.0 in a Linux machine and, everytime I define a new Location, with Location wizard, The select EPSG code table is empty, I mean no EPSG is listed there…

Any idea of what migh be happening or what file am I missing?

Thanks
Gilbert

On Thu, Feb 18, 2010 at 3:52 PM, Gilbert Ferrara
<gilbertferrara1974@gmail.com> wrote:

Hi
I'm using GRASS6.4.0 in a Linux machine and, everytime I define a new
Location, with Location wizard, The select EPSG code table is empty, I mean
no EPSG is listed there...
Any idea of what migh be happening or what file am I missing?

To my knowledge, this bug has been fixed - how old is your installation?

Markus

I have just installed latest snapshot and it’s stil not listing EPSG’s codes and descriptions. Anyway to debug this in order to understand what might not be ok? (GRASS version svn6.4.0 in Linux)

On Fri, Feb 19, 2010 at 3:08 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi,

then please ask via list or package maintainer, I have Mandriva here and not
much ideas about Karmic…

Markus

On Fri, Feb 19, 2010 at 1:25 PM, Gilbert Ferrara

<gilbertferrara1974@gmail.com> wrote:

Hello
No. I installed Karmic GRASS binary and then svn6.4.0… nothing else

On Fri, Feb 19, 2010 at 9:14 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Fri, Feb 19, 2010 at 10:06 AM, Gilbert Ferrara
<gilbertferrara1974@gmail.com> wrote:

According to download file, my SVN is from 16-01-2010 so it should be
working. Is this problem it probably due to my GRASSbinary installation?

Sorry, I have no idea. Perhaps you have some leftover old files there from
a previous installation?

By the way, in Location wizard what are the units for Spatial
Resolution?
meters, Km?

The units are map units which depend on the projection. The selected
project
defines them.

m

On Thu, Feb 18, 2010 at 7:28 PM, Markus Neteler <neteler@osgeo.org>
wrote:

Hi Gilbert,

On Thu, Feb 18, 2010 at 6:24 PM, Gilbert Ferrara
<gilbertferrara1974@gmail.com> wrote:

Hi Markus
Ok I have first installed (Ubuntu 9.10) GRASS6.4.0~rc5.2 from KARMIC
and
then I installed GRASSsvn6.4.0, from GRASS website, at with a weekly
snapshot from January 2010.
I suppose that the karmic might be old but, since I have installed
GRASSsvn6.4.0 from Jan2010, it would be ok, right?

I think that it was fixed on 2010-jan-09. So it depends if yours is
older
or
newer.

Markus

On Thu, Feb 18, 2010 at 4:09 PM, Markus Neteler <neteler@osgeo.org>
wrote:

On Thu, Feb 18, 2010 at 3:52 PM, Gilbert Ferrara
<gilbertferrara1974@gmail.com> wrote:

Hi
I’m using GRASS6.4.0 in a Linux machine and, everytime I define a
new
Location, with Location wizard, The select EPSG code table is
empty,
I
mean
no EPSG is listed there…
Any idea of what migh be happening or what file am I missing?

To my knowledge, this bug has been fixed - how old is your
installation?

Markus

Gilbert Ferrara wrote:

I have just installed latest snapshot and
it's stil not listing EPSG's codes and descriptions.
Anyway to debug this in order to understand what might not
be ok? (GRASS version svn6.4.0 in Linux)

In general don't be surprised if a generic linux build doesn't work
properly on Ubuntu (or other distro) as location of system support files
move about in an uncontrollable way.

On Ubuntu 9.10/Karmic with the "proj" package installed the path to the
EPSG file is "/usr/share/proj/epsg".

I've got the UbuntuGIS grass 6.4.0rc5 on ubuntu 9.10 running here, and
the location wizard looks fine.

Hamish

In general don’t be surprised if a generic linux build doesn’t work
properly on Ubuntu (or other distro) as location of system support files
move about in an uncontrollable way.

To avoid this kind of problems, what is your suggestion in order to update GRASS, using weekly snapshots?

On Ubuntu 9.10/Karmic with the “proj” package installed the path to the
EPSG file is “/usr/share/proj/epsg”.
I’ve got the UbuntuGIS grass 6.4.0rc5 on ubuntu 9.10 running here, and
the location wizard looks fine.

Mine is pointing to: /usr/local/share/proj/epsg. I changed to your path and it worked. Question: Where do I define this path in order to change it automatically when I install/update GRASS?

Hamish

Hamish:

> In general don't be surprised if a generic linux
> build doesn't work properly on Ubuntu (or other distro)
> as location of system support files move about in an
> uncontrollable way.

Gilbert Ferrara wrote:

To avoid this kind of problems, what is your suggestion in
order to update GRASS, using weekly snapshots?

If you must have ubuntu-specific weekly snapshots, recompile
the package from source. see the debian/ dir in the GRASS source
code for details. Once you have the DebianGIS control files
downloaded, often it is as easy as checking out the SVN for the
6.4 releasebranch, then in a weekly cron job do something like

  make distclean && \
  svn up && \
  debuild clean && \
  debuild binary && \
  dpkg -i ../grass*.deb

(use pbuilder or cowbuilder instead of debuild if you like)

> On Ubuntu 9.10/Karmic with the "proj" package
> installed the path to the
> EPSG file is "/usr/share/proj/epsg".

Mine is pointing to:
/usr/local/share/proj/epsg. I changed to your path and it
worked. Question: Where do I define this path in order to
change it automatically when I install/update GRASS?

the default is set at build time, but you can override it.

tcl/tk GUI:
# add this to ~/.bashrc (or set before starting GRASS)
GRASS_PROJSHARE=/usr/share/proj
export GRASS_PROJSHARE

wxGUI:
Config -> Preferences -> Projection tab -> EPSG file
  /usr/share/proj/epsg
(sorry no file picker for that yet)

or:
edit $GISBASE/etc/Init.sh and look for GRASS_PROJSHARE

Hamish