Re: [GRASS-user] grass 7 svn gdal

2010-04-12 Thread Nikos Alexandris
Matthew Mulbrandon wrote:
> Building grass 7 in ubuntu 9.10. Got an error I have seen before on this
> list. GRASS
> 7.0.svn (demolocation):/usr/local/src/grass_trunk > g.list: error
> while loading shared libraries: libgdal.so.1: cannot open shared object
> file: No such file or directory

Matthew,

you probably need to make "visible" the path that leads to the directory where 
the file "libgdal.so.1" is placed. You can set this under "/etc/ld.so.conf" 
directly or as a ".conf" file under "/etc/ld.so.conf.d/".

For example I have within "/etc/ld.so.conf" the following entry (among many 
others):
--%<---
/usr/local/lib
--%<---

Once you have done that it is required to execute ldconfig (under ubuntu 
usually as a superuser, i.e.: "sudo ldconfig").

As to how you can "trace" files in your system, you can use the "locate" 
command. But before "locate" can search for a file in _its_ index (database), 
the latter must be updated. So... :

# update db
sudo updatedb

# locate the file of interest
locate libgdal.so.1

I hope this helps, Nikos
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Difficulties with i.pr

2010-04-12 Thread Daniel McInerney

Hi Joel,
I did some work with i.pr a while back,
but was unsuccessful in getting it to
fully work.

Is your vector file a point or polygon?
I tested i.pr.training with points.

You might get some ideas from this thread:
http://www.mail-archive.com/grass-user@lists.osgeo.org/msg00153.html

Regards,
Daniel.

joel dinis wrote:

Hello to all,

Does anyone knows any working
example of the i.pr add-on?

I have install it, and I'm having
some problems with the i.pr.training.

I do:
i.pr.training map=lis...@p9,lis...@p9,lis...@p9,lis...@p9 training=iprteste9
vector=area1 rows=3 cols=3 class=0

And the iprteste9 only has this:
Data type:
GrassTraining
Number of layers:
4
Label:
/home/joel/iprteste9
Data:
Layer_1Layer_2Layer_3Layer_4ClassEastNorth
RowsColsEW-resNS-res

And nothing else.
I suppose that the file would have something more.

Can anyone help me?





___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Difficulties with i.pr

2010-04-12 Thread joel dinis
Hello Daniel,

Thank you for the thread.
I'm working with polygons.

Did you classify any image with
the i.pr?

JD

On Mon, Apr 12, 2010 at 4:36 PM, Daniel McInerney
wrote:

> Hi Joel,
> I did some work with i.pr a while back,
> but was unsuccessful in getting it to
> fully work.
>
> Is your vector file a point or polygon?
> I tested i.pr.training with points.
>
> You might get some ideas from this thread:
> http://www.mail-archive.com/grass-user@lists.osgeo.org/msg00153.html
>
> Regards,
> Daniel.
>
> joel dinis wrote:
>
>> Hello to all,
>>
>> Does anyone knows any working
>> example of the i.pr add-on?
>>
>> I have install it, and I'm having
>> some problems with the i.pr.training.
>>
>> I do:
>> i.pr.training map=lis...@p9,lis...@p9,lis...@p9,lis...@p9training=iprteste9
>> vector=area1 rows=3 cols=3 class=0
>>
>> And the iprteste9 only has this:
>> Data type:
>> GrassTraining
>> Number of layers:
>> 4
>> Label:
>> /home/joel/iprteste9
>> Data:
>> Layer_1Layer_2Layer_3Layer_4ClassEastNorth
>> RowsColsEW-resNS-res
>>
>> And nothing else.
>> I suppose that the file would have something more.
>>
>> Can anyone help me?
>>
>>
>>
>> 
>>
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Difficulties with i.pr

2010-04-12 Thread joel dinis
Hello to all,

Does anyone knows any working
example of the i.pr add-on?

I have install it, and I'm having
some problems with the i.pr.training.

I do:
i.pr.training map=lis...@p9,lis...@p9,lis...@p9,lis...@p9 training=iprteste9
vector=area1 rows=3 cols=3 class=0

And the iprteste9 only has this:
Data type:
GrassTraining
Number of layers:
4
Label:
/home/joel/iprteste9
Data:
Layer_1Layer_2Layer_3Layer_4ClassEastNorth
RowsColsEW-resNS-res

And nothing else.
I suppose that the file would have something more.

Can anyone help me?
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user