[GRASSLIST:10536] importing PROJ_INFO

Is there any way of convincing a location to use the projection
information in the PROJ_INFO file? I have added the correct projection
information to a PROJ_INFO file in the PERMANENT directory, but still
when I call g.proj -p it does not detect the new informaiton, and
simply prints "Unprojected (X,Y)". Is there a formal way of importing
this?

Thanks,
C.

--
Chris Fonnesbeck + Atlanta, GA + http://trichech.us

Chris, my guess is that in the default_wind or wind files, you will also have to change the projection numerical code. I think it is the first line.

G'luck
-Ian

On Feb 23, 2006, at 3:07 PM, Chris Fonnesbeck wrote:

Is there any way of convincing a location to use the projection
information in the PROJ_INFO file? I have added the correct projection
information to a PROJ_INFO file in the PERMANENT directory, but still
when I call g.proj -p it does not detect the new informaiton, and
simply prints "Unprojected (X,Y)". Is there a formal way of importing
this?

Thanks,
C.

--
Chris Fonnesbeck + Atlanta, GA + http://trichech.us

>
What happens if a big asteroid hits Earth? Judging from realistic simulations involving a sledge hammer and a common laboratory frog, we can assume it will be pretty bad.
  - Dave Barry

-------------------------------------------------------------
This message has been scanned by Postini anti-virus software.

On Thu, 23 Feb 2006 15:19:10 -0800
Ian MacMillan <Ian.MacMillan@pomona.edu> wrote:

Chris, my guess is that in the default_wind or wind files, you will
also have to change the projection numerical code. I think it is the
first line.

That's right. As far as I know:
0 = xy
1 = utm
3 = ll
99 = other

Does anyone know what would 2 stand for? Other numbers? Are those
documented somewhere?

Maciek

--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/

On Fri, 24 Feb 2006, Maciek Sieczka wrote:

That's right. As far as I know:
0 = xy
1 = utm
3 = ll
99 = other

Does anyone know what would 2 stand for? Other numbers? Are those
documented somewhere?

From gis.h:

#define PROJECTION_XY 0
#define PROJECTION_UTM 1
#define PROJECTION_SP 2
#define PROJECTION_LL 3
#define PROJECTION_OTHER 99

2 is State Plane. It is maybe put in if you use g.setproj to define an American state plane projection using FIPS codes. Not too meaningful or important though. In some versions of GRASS in the past there were other codes in use too.