[GRASS-user] Problems with i.pr (II)

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

I've just install the i.pr, but there is several
problems with it, mainly with the i.pr.training
module.

1) There is no manual, so I can only guess I
each input parameter really is. I've send a mail
asking for information about i.pr, but aparently
is scarce.

2) When I try to use the interactive mode,
it does nothing, it just stand still. More details
about it, I do:

i.pr.training map=lis...@portugal_9,lis...@portugal_9,lis...@portugal_9,
lis...@portugal_9 vis_map=lis...@portugal_9 training=out4 rows=3 cols=3
class=1

And I get:

PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501

The process never ends and I have to abort it.

3) when I use the vector mode (I did try it with vectors containing just
points,
just areas and just boundaries, and the problem is the same), I do:

i.pr.training map=lis...@portugal_9,lis...@portugal_9,
lis...@portugal_9,lis...@portugal_9 vis_map=lis...@portugal_9 training=out5
vector=pipr2 rows=3 cols=3 class=1

And I get:

Option class ignored
Labels will be directlly read from site file
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
Dev note: Adapted sites library used for vector points. (module should be
updated to GRASS 6 vector library)
ERROR: Raster map out5_lis...@portugal_9.1 is not in the current mapset
(Portugal_9)

But, there is no out5_lis...@portugal_9.1, I dont know here this
came from. The output is a file (in this case out5) with this:

Data type:
GrassTraining
Number of layers:
4
Label:
out5
Data:
Layer_1Layer_2Layer_3Layer_4ClassEastNorth
RowsColsEW-resNS-res

And nothing else.

So, what happening here? Can anyone tell me?

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


[GRASS-user] Installing snapshot on a defined Folder

2010-04-13 Thread Kim Besson
Greetings

from my Package manager (Synaptic in Ubuntu) I have installed GRASS-dev
package in /usr/lib/grass64/. But, then I decided to install a Weekly
snapshot to update a few issues. But the weekly snapshot was installed
in /usr/local/grass-6.4.0svn.
My question is, how can I define my installation destination  directory to
avoid having 2 different installations?

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


Re: [GRASS-user] Installing snapshot on a defined Folder

2010-04-13 Thread Markus Neteler
On Tue, Apr 13, 2010 at 11:07 AM, Kim Besson kimbesson1...@gmail.com wrote:
 Greetings
 from my Package manager (Synaptic in Ubuntu) I have installed GRASS-dev
 package in /usr/lib/grass64/. But, then I decided to install a Weekly
 snapshot to update a few issues. But the weekly snapshot was installed
 in /usr/local/grass-6.4.0svn.

That's the default.

 My question is, how can I define my installation destination  directory to
 avoid having 2 different installations?

Please enjoy the help :)

sh grass-6.4.0svn-i686-pc-linux-gnu-10_04_2010-install.sh --help
Usage:  grass-6.4.0svn-i686-pc-linux-gnu-10_04_2010-install.sh
grass-6.4.0svn-i686-pc-linux-gnu-10_04_2010.tar.gz [dest_dir]
[bin_dir]
...

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


Re: [GRASS-user] v.net.iso - service area

2010-04-13 Thread Johannes Sommer
Hi Markus,

I 'll write a FAQ when I get correct results from the process of network
service area. David's approach of using v.net.salesman on a
delauany-graph worked for a few special geometries. But I think the
results are not really good for many cases.
I' ve got an idea about another solution but it's not fully tested yet.

The problem of automatically finding the endpoints as Richard mentioned
it will also be part of the research.
More on this when I have more time to work on this.

regards,
Johannes


Markus Neteler schrieb:
 Hi,

 would you mind to write a smal FAQ for us?
 http://grass.osgeo.org/wiki/Faq

 Thanks
 Markus

 On Fri, Apr 9, 2010 at 2:51 PM, Johannes Sommer johann.onl...@gmx.de wrote:
   
 David,

 thank you very much! I tested your approach with network isolines
 derived from a dataset with one center - and it worked very well!
 The automated approach will be interesting (also with more than one
 center) - but therefore I need more experience in GRASS scripting.

 thanks,
 Johannes

 David Mahoney schrieb:
 
 I went through this last year, and as I remember, v.hull doesn't quite
 get you there, since the resultant polygon can't dip in to reach
 concave sections of a service area. I used v.delaunay to create a
 network of the nodes that made up the connections between service areas,
 and v.net.salesman to generate the edges of the service areas.

 David

 On Mon, 2010-04-05 at 09:04 -0300, Daniel Victoria wrote:

   
 If I understand you correctly, v.hull might help to create the service
 area polygon from the points

 http://grass.itc.it/grass62/manuals/html62_user/v.hull.html

 On Sun, Apr 4, 2010 at 8:12 PM, Richard Chirgwin
 rchirg...@ozemail.com.au wrote:

 
 --

 Message: 3
 Date: Sat, 03 Apr 2010 23:11:26 +0200
 From: Johannes Sommer johann.onl...@gmx.de
 Subject: [GRASS-user] v.net.iso - service area
 To: grass-user@lists.osgeo.org
 Message-ID: 20100403211126.313...@gmx.net
 Content-Type: text/plain; charset=iso-8859-1

 Hi list,

 recently I played around with the network functionality in ArcGIS. I
 generated so called Service Areas in a network dataset which return the
 regions that can be accessed in a network dataset based on several 
 distances
 (in my example 150, 400 meters).

 I wanted to reproduce the results with GRASS GIS and after a short search
 I found the module v.net.iso which seemed to fit my needs. It returns
 exactly the same results as ArcGIS did on isolines on a network, but I 
 can't
 find any solution concerning the service areas.

 Can anyone point me in the right direction to calculate zones (that is
 build polygons from the end points of each network segment) from these
 generated isolines in a network?

 Regards,

 Johannes




 
 Johannes,

 I don't think there's anything to do this automatically in Grass-GIS. But 
 I
 think you should be able to construct a script that would connect pairs of
 points.

 So if you can extract each end point of the network segment, you would end
 up with a vector containing only points - then create a temporary map of a
 point pair, run (say) v.distance output=connectors on each point pair, 
 patch
 the resulting maps together ...

 It sounds a bit labourious, and probably someone else can think of 
 something
 easier, but if you get all the individual steps right, a script is then 
 easy
 to create.

 (Actually, Johannes, I think the idea is brilliant. I've done lots of
 network service area work, and it never occurred to me before!)

 Richard Chirgwin

 ___
 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 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 mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Questions about r.mfilter

2010-04-13 Thread Casey Vandenberg
Does anyone know if the r.mfilter will support negative values in the 
matrix filter file. I was hoping to do a high pass filter on a dataset, 
so I created a filter for input in the following format, but it will not 
work.


TITLE   HighPass3x3
MATRIX3
-1 -1 -1
-1 8 -1
-1 -1 -1
DIVISOR   9
TYPES

Input command is:
r.mfilter input=mag_1...@laindia output=HighPass3x3_Mag12.5 
filter=/home/cvandenberg/Documents/Filters/HighPass3x3.txt*

**ERROR: Filter file format error*


When I run a low pass filter (for example an N x N filter with all '1' 
the filter file is recognized.


Any hints on how I can go about running a high pass filter using GRASS?

Thanks,

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


Re: [GRASS-user] Installing snapshot on a defined Folder

2010-04-13 Thread Markus Neteler
Kim,

(please keep the discussion on the list)

On Tue, Apr 13, 2010 at 6:46 PM, Kim Besson kimbesson1...@gmail.com wrote:

 Markus I'm not I have understand you
 I using following configuration:
 ./configure --with-wxwidgets --with-blas --with-lapack --with-nls --with-cxx

...

to compile and install in a different location than /usr/local/, use
--prefix= for configure.

For example,
./configure --prefix=/nfsmnt/GRASS-GRID/binaries  ...

Hope this helps,
Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user