[GRASSLIST:1023] problem with compiling grass 5.4 source

Hello,
I have a problem with configure procedure in grass 5.4 and grass 5.7.
My system is a Fedora 5 with all sources of grass needed packages.
When i run ./configure with or without all options set the configure program exit with error when execute 'checking system version (for dinamic loading)... ../../grass-5.4.0/configure: line 12492: syntax error: unexpected end of file.

I have the same error with tcl/tk 8.3.5 and 8.4.9 but 8.4.13 is ok.

Please help me!!!!

Thank's
Simone Pittaluga

Il giorno sab, 06/05/2006 alle 12.23 +0200, Simone Pittaluga ha scritto:

Hello,
I have a problem with configure procedure in grass 5.4 and grass 5.7.
My system is a Fedora 5 with all sources of grass needed packages.
When i run ./configure with or without all options set the configure program
exit with error when execute 'checking system version (for dinamic
loading)... ../../grass-5.4.0/configure: line 12492: syntax error:
unexpected end of file.

I have the same error with tcl/tk 8.3.5 and 8.4.9 but 8.4.13 is ok.

Ciao Simone,
here you can find RPMs for Fedora 5 of the latest stable version of
GRASS (6.0).

http://ftp.gwdg.de/pub/misc/freegis/intevation/freegis/fedora/5/RPMS/

Don't know if it can help you, but you should in general use this
version.

Ciao,
Steko

--
Stefano Costa
http://www.iosa.it Software Open Source per l'Archeologia
Jabber: steko@jabber.linux.it
GnuPG Key ID 1024D/0xD0D30245
Linux Registered User #385969 counter.li.org

On Sat, 06 May 2006 12:23:49 +0200
"Simone Pittaluga" <pitta@ibidem.it> wrote:

I have a problem with configure procedure in grass 5.4 and grass 5.7.
My system is a Fedora 5 with all sources of grass needed packages.
When i run ./configure with or without all options set the configure
program exit with error when execute 'checking system version (for
dinamic loading)... ../../grass-5.4.0/configure: line 12492: syntax
error: unexpected end of file.

Please post your exact ./configure syntax and the error.

I have the same error with tcl/tk 8.3.5 and 8.4.9 but 8.4.13 is ok.

Use 8.4.13 then?

Note 5.7 is old. Don't use it. 6.x is it's continuation, but much more
developed and bugfixed. Use 6.0.2 at least (or 6.1 CVS preverably, 6.2
coming soon).

Maciek

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

Maciek Sieczka Scrive:

On Sat, 06 May 2006 12:23:49 +0200
"Simone Pittaluga" <pitta@ibidem.it> wrote:

I have a problem with configure procedure in grass 5.4 and grass 5.7.
My system is a Fedora 5 with all sources of grass needed packages.
When i run ./configure with or without all options set the configure
program exit with error when execute 'checking system version (for
dinamic loading)... ../../grass-5.4.0/configure: line 12492: syntax
error: unexpected end of file.

Please post your exact ./configure syntax and the error.

I have the same error with tcl/tk 8.3.5 and 8.4.9 but 8.4.13 is ok.

Use 8.4.13 then?

Note 5.7 is old. Don't use it. 6.x is it's continuation, but much more
developed and bugfixed. Use 6.0.2 at least (or 6.1 CVS preverably, 6.2
coming soon).

Maciek

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

I now use tcl/tk 8.4.13 and i compile that without problem. (the problem was the same of grass)

I have a lot of data to share and other system run grass 5.4 and i need to use the same version.

Thank's for help
Simone

Stefano Costa Scrive:

Il giorno sab, 06/05/2006 alle 12.23 +0200, Simone Pittaluga ha scritto:

Hello,
I have a problem with configure procedure in grass 5.4 and grass 5.7.
My system is a Fedora 5 with all sources of grass needed packages.
When i run ./configure with or without all options set the configure program exit with error when execute 'checking system version (for dinamic loading)... ../../grass-5.4.0/configure: line 12492: syntax error: unexpected end of file.

I have the same error with tcl/tk 8.3.5 and 8.4.9 but 8.4.13 is ok.

Ciao Simone,
here you can find RPMs for Fedora 5 of the latest stable version of
GRASS (6.0).

http://ftp.gwdg.de/pub/misc/freegis/intevation/freegis/fedora/5/RPMS/

Don't know if it can help you, but you should in general use this
version.

Ciao,
Steko

--
Stefano Costa
http://www.iosa.it Software Open Source per l'Archeologia
Jabber: steko@jabber.linux.it
GnuPG Key ID 1024D/0xD0D30245
Linux Registered User #385969 counter.li.org

thanks for help but i have a lot of data to share with other system that run grass 5.4.

Ciao
Simone

Iv a mapset with a lot (200) of point. Every point is a pollution indicator (a tree, a bush...) with many informations, one of these is a lichens biodiversity index.
What i want to do is to interpolate this index value to obtain a map of biodiversity of the city covered by the survey.
Iv done the interpolation (with no so good results) but now i need to cut the raster obtained around the external points... maybe i have to do something like a buffer around the external points of survey and cut the map obtained from interpolation. How can i do that without have 'holes' in the internal part of the map? is there a way to do that?

Sorry for my English

Luca

Email.it, the professional e-mail, gratis per te: http://www.email.it/f
  Sponsor:
Corso multimediale sul Controllo di Gestione: impara facilmente come ridurre i costi e aumentare gli utili della tua attivita'
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5055&d=8-5

Here's an automated way:

v.hull input=points output=point_hull
v.to.rast input=point_hull output=point_mask use=val value=1
r.mapcalc "interp_trim = if( isnull( point_mask), null(), interp_values)"

where interp_values is the raster interpolation of your points.

You may find that v.hull doesn't do a good enough job of outlining
your data points. In that case, you will need to edit the vector
created by v.hull to something you like better.

Hope that helps,

David

On 5/8/06, Luca Penasa <luca.penasa@email.it> wrote:

Iv a mapset with a lot (200) of point. Every point is a pollution
indicator (a tree, a bush...) with many informations, one of these is a
lichens biodiversity index.
What i want to do is to interpolate this index value to obtain a map of
biodiversity of the city covered by the survey.
Iv done the interpolation (with no so good results) but now i need to
cut the raster obtained around the external points... maybe i have to do
something like a buffer around the external points of survey and cut the
map obtained from interpolation. How can i do that without have 'holes'
in the internal part of the map? is there a way to do that?

Sorry for my English

Luca

--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Corso multimediale sul Controllo di Gestione: impara facilmente come ridurre i costi e aumentare gli utili della tua attivita'
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5055&d=8-5

--
David Finlayson

If you work with v.surf.rst parameters, you should be able to get very good
results for your interpolation.

As you imply, however, you can sometimes get better (or more accurate)
results if you limit the raster interpolation to the area of the points. You
can do this by calculating a convex hull around the points. This is the
minimum polygon that will contain all the points. You can create a convex
hull in GRASS with v.hull.

Use v.to.rast to convert the convex hull to a raster map. You can use
v.buffer to expand the convex hull a bit before you convert or use r.grow
to expand it after you convert to raster. Then specify this raster as a mask
in v.surf.rst. The resulting interpolated map will only exist in the area of
the points.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Luca Penasa <luca.penasa@email.it>
Date: Mon, 08 May 2006 11:22:32 +0200
To: <GRASSLIST@inet.baylor.edu>
Subject: [GRASSLIST:1031] interpolation from vector points

Iv a mapset with a lot (200) of point. Every point is a pollution
indicator (a tree, a bush...) with many informations, one of these is a
lichens biodiversity index.
What i want to do is to interpolate this index value to obtain a map of
biodiversity of the city covered by the survey.
Iv done the interpolation (with no so good results) but now i need to
cut the raster obtained around the external points... maybe i have to do
something like a buffer around the external points of survey and cut the
map obtained from interpolation. How can i do that without have 'holes'
in the internal part of the map? is there a way to do that?

Sorry for my English

Luca

--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Corso multimediale sul Controllo di Gestione: impara facilmente come ridurre
i costi e aumentare gli utili della tua attivita'
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5055&d=8-5

Hi people,
I created a raster map in a xy location and I georeferenced it with: i.group,i.target,i.points,i.rectify.
now I'd like to use the same raster in my gaussboaga location but I don't know how to import it in this location, could you help me please?!
I tried to export the map and then to import it from the new location but it didn't work :frowning:
thanx,
Riccardo

On Fri, 12 May 2006 12:00:14 +0200
"riccardo biondi" <riccardobiondi@hotmail.com> wrote:

Hi people,
I created a raster map in a xy location and I georeferenced it with:
i.group,i.target,i.points,i.rectify.
now I'd like to use the same raster in my gaussboaga location but I
don't know how to import it in this location, could you help me
please?! I tried to export the map and then to import it from the new
location but it didn't work :frowning:

If your raster requires reprojection, use r.proj. It will move it from
one location to another warping as needed.

If the raster is already projected in "gaussboaga", just change the
projection of your xy location, where the raster is stored, to
"gaussboaga" - g.proj.

Maciek

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

Thanks for your help...
I tried using v.hull but the result wasn't what i hope... v.hull create a vector containing a polygon, a centroid and an area object... the command works fine but i need to obtain a more precise job... what i need is a polygon that connect all the external points without to calculate (like v.hull do) the minor length for the polygon.
Is there a way to obtain this?

besides, i had some problems buffering the vector polygon that iv created with v.hull... using the v.buffer on the vector with a buffer-value more than 70 meters i obtain a strange figure with a hole and too much centroid... any idea?

Michael Barton wrote:

If you work with v.surf.rst parameters, you should be able to get very good
results for your interpolation.

As you imply, however, you can sometimes get better (or more accurate)
results if you limit the raster interpolation to the area of the points. You
can do this by calculating a convex hull around the points. This is the
minimum polygon that will contain all the points. You can create a convex
hull in GRASS with v.hull.

Use v.to.rast to convert the convex hull to a raster map. You can use
v.buffer to expand the convex hull a bit before you convert or use r.grow
to expand it after you convert to raster. Then specify this raster as a mask
in v.surf.rst. The resulting interpolated map will only exist in the area of
the points.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Luca Penasa <luca.penasa@email.it>
Date: Mon, 08 May 2006 11:22:32 +0200
To: <GRASSLIST@inet.baylor.edu>
Subject: [GRASSLIST:1031] interpolation from vector points

Iv a mapset with a lot (200) of point. Every point is a pollution
indicator (a tree, a bush...) with many informations, one of these is a
lichens biodiversity index.
What i want to do is to interpolate this index value to obtain a map of
biodiversity of the city covered by the survey.
Iv done the interpolation (with no so good results) but now i need to
cut the raster obtained around the external points... maybe i have to do
something like a buffer around the external points of survey and cut the
map obtained from interpolation. How can i do that without have 'holes'
in the internal part of the map? is there a way to do that?

Sorry for my English

Luca

Email.it, the professional e-mail, gratis per te: http://www.email.it/f
  Sponsor:
Refill s.r.l. - Cartucce compatibili e kit di ricarica per tutti i modelli di stampante. Acquista al telefono o online: consegna in tutta Italia in 48 ore!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5190&d=19-5

I understand the problem you are having. What we need is a v.hull with
a tension parameter so that it sticks closer to the data points.

Anyway, try this:

1. Buffer your data points with a sufficiently wide buffer that the
internal data area merges together into a single polygon. Note the
buffer distance.

2. Convert the polygon to a raster with a value = 1

3. Select all cells that are null (i.e., outside the data area)

4. buffer the "no data" area to trim off the excess data region
created in step 1. The idea is to cut back into the data region about
the same distance you buffered in the first place

5. Select all the null cells in step 4 (the data region) and make this your MASK

6. Trim the interpolated map by the MASK created in step 5.

On 5/19/06, Luca Penasa <luca.penasa@email.it> wrote:

Thanks for your help...
I tried using v.hull but the result wasn't what i hope... v.hull create
a vector containing a polygon, a centroid and an area object... the
command works fine but i need to obtain a more precise job... what i
need is a polygon that connect all the external points without to
calculate (like v.hull do) the minor length for the polygon.
Is there a way to obtain this?

besides, i had some problems buffering the vector polygon that iv
created with v.hull... using the v.buffer on the vector with a
buffer-value more than 70 meters i obtain a strange figure with a hole
and too much centroid... any idea?

Michael Barton wrote:
> If you work with v.surf.rst parameters, you should be able to get very good
> results for your interpolation.
>
> As you imply, however, you can sometimes get better (or more accurate)
> results if you limit the raster interpolation to the area of the points. You
> can do this by calculating a convex hull around the points. This is the
> minimum polygon that will contain all the points. You can create a convex
> hull in GRASS with v.hull.
>
> Use v.to.rast to convert the convex hull to a raster map. You can use
> v.buffer to expand the convex hull a bit before you convert or use r.grow
> to expand it after you convert to raster. Then specify this raster as a mask
> in v.surf.rst. The resulting interpolated map will only exist in the area of
> the points.
>
> Michael
> __________________________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution & Social Change
> Center for Social Dynamics & Complexity
> Arizona State University
>
> phone: 480-965-6213
> fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
>
>> From: Luca Penasa <luca.penasa@email.it>
>> Date: Mon, 08 May 2006 11:22:32 +0200
>> To: <GRASSLIST@inet.baylor.edu>
>> Subject: [GRASSLIST:1031] interpolation from vector points
>>
>> Iv a mapset with a lot (200) of point. Every point is a pollution
>> indicator (a tree, a bush...) with many informations, one of these is a
>> lichens biodiversity index.
>> What i want to do is to interpolate this index value to obtain a map of
>> biodiversity of the city covered by the survey.
>> Iv done the interpolation (with no so good results) but now i need to
>> cut the raster obtained around the external points... maybe i have to do
>> something like a buffer around the external points of survey and cut the
>> map obtained from interpolation. How can i do that without have 'holes'
>> in the internal part of the map? is there a way to do that?
>>
>> Sorry for my English
>>
>> Luca
>>
>

--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Refill s.r.l. - Cartucce compatibili e kit di ricarica per tutti i modelli di stampante. Acquista al telefono o online: consegna in tutta Italia in 48 ore!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5190&d=19-5

--
David Finlayson

besides, i had some problems buffering the vector polygon that iv
created with v.hull... using the v.buffer on the vector with a
buffer-value more than 70 meters i obtain a strange figure with a hole
and too much centroid... any idea?

see the v.buffer help page, there are some bugs.

Try using a smaller buffer size multiple times. (35m twice)

Hamish

I wrote a script that calculates a rough distance from any non-null
data in a raster. You can use it like a buffer. It may work better on
a large data set than v.buffer since it is just making a special call
to r.cost.

Search the Wiki Add-ons for r.eucdist

My copy is online here:

http://david.p.finlayson.googlepages.com/r.eucdist

On 5/20/06, Hamish <hamish_nospam@yahoo.com> wrote:

> besides, i had some problems buffering the vector polygon that iv
> created with v.hull... using the v.buffer on the vector with a
> buffer-value more than 70 meters i obtain a strange figure with a hole
> and too much centroid... any idea?

see the v.buffer help page, there are some bugs.

Try using a smaller buffer size multiple times. (35m twice)

Hamish

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
David Finlayson