[GRASSLIST:1353] compiling grass57

Hi all,

I tried to compile the grass57 source on my RedHat 7.3. However this is what happened while running make. I really am not an expert in compiling but would like to have the added power of grass57. Can anybody point me in the right direction.

get_datum_name.c:33: conflicting types for `G_ask_datum_name'
/home/src/grass57_exp_2003_09_13/include/gisdefs.h:530: previous declaration of `G_ask_datum_name'
make[2]: *** [OBJ.i686-pc-linux-gnu/get_datum_name.o] Error 1
make[2]: Leaving directory `/home/src/grass57_exp_2003_09_13/lib/gis'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/src/grass57_exp_2003_09_13/lib'
make: *** [default] Error 1

Thanks, Miha Staut

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus

On Thu, Sep 25, 2003 at 11:42:34AM +0000, Miha STAUT wrote:

Hi all,

I tried to compile the grass57 source on my RedHat 7.3. However this is what
happened while running make. I really am not an expert in compiling but
would like to have the added power of grass57. Can anybody point me in the
right direction.

get_datum_name.c:33: conflicting types for `G_ask_datum_name'
/home/src/grass57_exp_2003_09_13/include/gisdefs.h:530: previous declaration
of `G_ask_datum_name'
make[2]: *** [OBJ.i686-pc-linux-gnu/get_datum_name.o] Error 1
make[2]: Leaving directory `/home/src/grass57_exp_2003_09_13/lib/gis'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/src/grass57_exp_2003_09_13/lib'
make: *** [default] Error 1

Thanks, Miha Staut

You have to compile GRASS 5.7 with GRASS 5.3-cvs HEAD (not release branch,
not official version).
It is likely that the version of 5.3 you are linking into is outdated.
Both versions should be from the same week, preferably from
the same day (so
  cvs up -dP
can update it for you) as they are kept in sync.

Markus

Dear Sir

I imported a JPG file use command r.in.gdal to my XY location.
And finished the following commands very smoothly: i.group -> i.target ->
i.points.
But when it comes to i.rectify, it said " You wil receive mail when
i.rectify is complete".
after this, I tried g.list to find out my rectified raster file.
But mostly there was no the file which I named during the i.rectify
procedure.
And several times I really got the rectified file,but still with the
original coordinates, not the coordinates which I entered.
Please, Please, help me to clear this problem.

Eager for your advice

sincerely
Ghalip Yasin
Tsukuba University, Japan
s01k154@shako.sk.tsukuba.ac.jp

Dear GRASS Users
Dear Sir Hamish, Ivan Marchesini

Thank you very much for your help.

     >>Are you looking in the LOCATION which was set with i.target? You'll
have
     >>to exit GRASS from the XY location and restart in the target
(e.g.lat-lon) location.

Actually I did looked in the same location which I set in the i.target for
my i.rectified raster file.
        r.in.gdal ( XY location)
  -> i.group
  -> i.target (the same XY location)
  -> i.points
  -> i.rectify -> " You wil receive mail when i.rectify is complete"
  -> g.list (in the same XY location)
  -> no raster file which I named during i.rectify

Are there the possibility that command i.rectify did not did the work?
Or it is not good to use the same location as the i.target location?

sincerely
Ghalip Yasin
Tsukuba University, Japan
s01k154@shako.sk.tsukuba.ac.jp

Dear Yasin...
I mean that when you use i.target you have to specify a location (UTM, or
lat-long or other) where the results of i.rectify will be put.....
so after you start i.rectify you have to change location and go to the UTM or
Lat.Long location, where, at the and of the process i.rectify, you will find
the rectified map....

I hope this help you.....

Bye

Ivan

Alle 05:52, domenica 28 settembre 2003, Alip.Yasin ha scritto:

Dear GRASS Users
Dear Sir Hamish, Ivan Marchesini

Thank you very much for your help.

     >>Are you looking in the LOCATION which was set with i.target? You'll

have

     >>to exit GRASS from the XY location and restart in the target

(e.g.lat-lon) location.

Actually I did looked in the same location which I set in the i.target for
my i.rectified raster file.
        r.in.gdal ( XY location)
  -> i.group
  -> i.target (the same XY location)
  -> i.points
  -> i.rectify -> " You wil receive mail when i.rectify is complete"
  -> g.list (in the same XY location)
  -> no raster file which I named during i.rectify

Are there the possibility that command i.rectify did not did the work?
Or it is not good to use the same location as the i.target location?

sincerely
Ghalip Yasin
Tsukuba University, Japan
s01k154@shako.sk.tsukuba.ac.jp

--
Ivan Marchesini
University of Perugia
Italy

Dear Sir Hamish, Ivan Marchesini

Thank you a lot lot times for your patience with my awkward questions.

Sorry that because of my poor English, my problem was not described clearly.

Actually, I just want to transform a scanned map into georeferenced XY
location map, and calculate a lakes area.

Thank GOD and your advice, eventually I got my i.rectified file.

I thought, may be, my problem was occurred because I did not gave i.rectify
enough time to transform data.

But except " You will receive mail when i.rectify is complete", i.rectify
did not give me any other message that it was completed the work or still
doing the work.

So I did not found my file, when i.rectify still doing on the work.

And may be there are other reasons which I couldn’t know.

Thank You for Your Help.

And please, I hope your more patience with me.

Sincerely

Ghalip Yasin
Tsukuba University, Japan
s01k154@shako.sk.tsukuba.ac.jp

Alle 05:52, domenica 28 settembre 2003, Alip.Yasin ha scritto:

Dear GRASS Users
Dear Sir Hamish, Ivan Marchesini

Thank you very much for your help.

     >>Are you looking in the LOCATION which was set with i.target? You'll

have

     >>to exit GRASS from the XY location and restart in the target

(e.g.lat-lon) location.

Actually I did looked in the same location which I set in the i.target for
my i.rectified raster file.
        r.in.gdal ( XY location)
  -> i.group
  -> i.target (the same XY location)
  -> i.points
  -> i.rectify -> " You wil receive mail when i.rectify is complete"
  -> g.list (in the same XY location)
  -> no raster file which I named during i.rectify

Are there the possibility that command i.rectify did not did the work?
Or it is not good to use the same location as the i.target location?

sincerely
Ghalip Yasin
Tsukuba University, Japan
s01k154@shako.sk.tsukuba.ac.jp

--
Ivan Marchesini
University of Perugia
Italy

Dear GRASS Users

I " i.rectify"ed and got several different seasons map in target XY
location, and "r.digit"ed a lake area respectivly.

After these I entered command "r.report" for each map and see the results.

It goes very pretty and gives me following results.

For map2 (2001.09.25): 1/lake area...0.623 km^2

For map1 (2002.10.30): 1/lake area...0.928 km^2

For map3 (2003.05.25): 1/lake area...1.125 km^2

But the problem is the results were much smaller than the real area.

The real area of this lake was changed from 500km2 to 1200km2 in these 5
years.

So my question is: why r.report gives me the wrong figured area data?

Please, any advice appreciated.

sincerely
Ghalip Yasin
Tsukuba University, Japan
s01k154@shako.sk.tsukuba.ac.jp

After these I entered command "r.report" for each map and see the
results.
It goes very pretty and gives me following results.

For map2 (2001.09.25): 1/lake area...0.623 km^2
For map1 (2002.10.30): 1/lake area...0.928 km^2
For map3 (2003.05.25): 1/lake area...1.125 km^2

But the problem is the results were much smaller than the real area.
The real area of this lake was changed from 500km2 to 1200km2 in these
5 years.
So my question is: why r.report gives me the wrong figured area data?

may I suggest making sure all the map is in view, either by viewing it
with 'd.rast' and then zooming with 'd.zoom' or 'g.region'.

g.region rast=map_name
will zoom to the extent of the map, and to the map's resolution.

Also try using 'd.barscale' to make sure the map scale it correct.

If you used v.digit to mark the outline of the lake you could use
'd.what.vect' to query the area too.

good luck,
Hamish

Dear Sir Hamish, Nathaniel Vaughn Kelso

Thank you for your help.
I tried several times by following Mr.Hamishs advice.
>g.region rast=map_name
>will zoom to the extent of the map, and to the map's resolution.
>Also try using 'd.barscale' to make sure the map scale it correct.
>If you used v.digit to mark the outline of the lake you could use
>'d.what.vect' to query the area too.

But still got the same results.
So I am going to accepte Nathaniel Vaughn Kelsos advice,
and multiply the resultes by 1000 and uses those as my area data.
But still want to know what caused this kind of problem.

If any one knows about this, Please, give me some advice.
Heartfully Thanks.
Sincerely
Ghalip Yasin

My Problem:

I " i.rectify"ed and got several different seasons map in target XY
location, and "r.digit"ed a lake area respectivly.
After these I entered command "r.report" for each map and see the results.
It goes very pretty and gives me following results.
For map2 (2001.09.25): 1/lake area...0.623 km^2
For map1 (2002.10.30): 1/lake area...0.928 km^2
For map3 (2003.05.25): 1/lake area...1.125 km^2
But the problem is the results were much smaller than the real area.
The real area of this lake was changed from 500km2 to 1200km2 in these 5

years.

So my question is: why r.report gives me the wrong figured area data?