Re: [GRASS-user] Import question

2010-10-01 Thread Micha Silver
On 10/01/2010 01:35 AM, Adam Dershowitz, Ph.D., P.E. wrote: I have a series of points in an ascii files that represent points along a line. I would like to import them as a line, or import and convert to a line. I see that 6.5 has v.in.lines, but I am using 6.4. Is there any other way to do

[GRASS-user] Application of r.color

2010-10-01 Thread Luis Lisboa
Hi there I have a script where I create a map (using mapcalc) and I want to attribute a color (gray for instance) but it ranges from 0 to 5 so I cannot attribute gray0-1 neither gray0-255. What can I do to attribute a color table that stretches its color attibution to the image max and minimum

[GRASS-user] A Py-script where I check group and delete

2010-10-01 Thread Luisa Peña
Greetings I have a Python-script where I create a group (using i.group) but, if the group already exists I need to eliminate (g.remove). My question is: How can I check, using Python Script code, if a group already exists? Thanks Luisa ___ grass-user

Re: [GRASS-user] Import question

2010-10-01 Thread Adam Dershowitz, Ph.D., P.E.
On Oct 1, 2010, at 4:06 AM, Micha Silver wrote: On 10/01/2010 01:35 AM, Adam Dershowitz, Ph.D., P.E. wrote: I have a series of points in an ascii files that represent points along a line. I would like to import them as a line, or import and convert to a line. I see that 6.5 has

[GRASS-user] custom reports

2010-10-01 Thread Ricardo Rodríguez
hi all, how I can create my own reports, for example, if I have v.net.centrality which creates 4 new attributes, as I can get a report with the results of this calculation in an orderly manner and that the report has a header as desire, you can create pdf directly, but as I can do it in plain

Re: [GRASS-user] Error when running a scrip in Windows-WinGRASS

2010-10-01 Thread Glynn Clements
Helena Herrera wrote: I have developed a Script to import Landsat images that runs just fine in Linux But when I compile (Msys) with this expressioN: make -C r.in.landsat MODULE_TOPDIR=/C/OSGeo4W/usr/src/grass-6.4.svn_src_snapshot_2010_09_04 and run in GRASS I get this error:

Re: [GRASS-user] Application of r.color

2010-10-01 Thread Glynn Clements
Luis Lisboa wrote: I have a script where I create a map (using mapcalc) and I want to attribute a color (gray for instance) but it ranges from 0 to 5 so I cannot attribute gray0-1 neither gray0-255. What can I do to attribute a color table that stretches its color attibution to the image max

Re: [GRASS-user] Application of r.color

2010-10-01 Thread Micha Silver
On 10/01/2010 04:16 PM, Luis Lisboa wrote: Hi there I have a script where I create a map (using mapcalc) and I want to attribute a color (gray for instance) but it ranges from 0 to 5 so I cannot attribute gray0-1 neither gray0-255. What can I do to attribute a color table that stretches its

[GRASS-user] location for temporal files

2010-10-01 Thread Ricardo Rodríguez
hi all, how I can create a temporary location for maps so that everything is calculated using the coordinate system which are the base files. ideas? thank you all for your time and help Ricardo Rodríguez Univalle ___ grass-user mailing list

Re: [GRASS-user] A Py-script where I check group and delete

2010-10-01 Thread Glynn Clements
Luisa Peña wrote: I have a Python-script where I create a group (using i.group) but, if the group already exists I need to eliminate (g.remove). My question is: How can I check, using Python Script code, if a group already exists? import grass.script as grass if

[GRASS-user] OBDC connection with postgresql in ubuntu 10.04 64 bits

2010-10-01 Thread Ricardo Rodríguez
hi all, how I can create ODBC connections with postgresql in Ubuntu 10.04 of 64 bits, since the ODBC plugin for postgresql is very different from what is documented to someone already done, I could explain it. thank you all for your time and help Ricardo Rodríguez Univalle

Re: [GRASS-user] OBDC connection with postgresql in ubuntu 10.04 64 bits

2010-10-01 Thread Eloi Ribeiro
Maybe this help you, although is in portuguese. http://eloiribeiro.wordpress.com/2009/01/27/criar-um-conector-odbc-para-postgresql-em-ubuntu/ By, Eloi Ribeiro GIS Analyst 39,45º -4,40º http://eloiribeiro.wordpress.com On Fri, Oct 1, 2010 at 20:13, Ricardo Rodríguez

Re: [GRASS-user] OBDC connection with postgresql in ubuntu 10.04 64 bits

2010-10-01 Thread stephen sefick
rpostgresql package- I use it and it works wonderfully. On Fri, Oct 1, 2010 at 1:42 PM, Eloi Ribeiro eloi.ribe...@gmail.com wrote: Maybe this help you, although is in portuguese. http://eloiribeiro.wordpress.com/2009/01/27/criar-um-conector-odbc-para-postgresql-em-ubuntu/ By, Eloi Ribeiro

Re: [GRASS-user] R, Moran index, getis e ord.....

2010-10-01 Thread Robbie Heremans
Maybe http://www.asdar-book.org/ can help you. Have a look in Additional materials. Robbie 2010/9/30 Gabriele N. gis...@libero.it Hello everyone. I have a raster which is the result of calculating an index of remote sensing (with decimals). I would like to calculate the Moran's index and

Re: [GRASS-user] A Py-script where I check group and delete

2010-10-01 Thread Hamish
Luisa wrote: I have a Python-script where I create a group (using i.group) but, if the group already exists I need to eliminate (g.remove). My question is: How can I check, using Python Script code, if a group already exists? run g.findfile. There could be a grass python library shortcut for

Re: [GRASS-user] Import question

2010-10-01 Thread Hamish
Adam wrote: I see that 6.5 has v.in.lines, but I am using 6.4. since it seems to be open season on backporting stuff, if there is widespread demand, and no objections, I'd consider backporting it for 6.4.1. but really it is just a wrapper script around v.in.mapgen. the most valuable thing about

Re: [GRASS-user] Possible to color lines in d.vect according to RGB column?

2010-10-01 Thread Hamish
Tim wrote: Can someone please let me know if it is possible to assign custom colors to the lines around individual shapes in a vector file? it is possible, and in the past I've done it. I realize this is awkward because two adjacent shapes share a border, and yet may have a different RGB

Re: [GRASS-user] Import question

2010-10-01 Thread Adam Dershowitz, Ph.D., P.E.
On Oct 1, 2010, at 4:18 PM, Hamish wrote: Adam wrote: I see that 6.5 has v.in.lines, but I am using 6.4. since it seems to be open season on backporting stuff, if there is widespread demand, and no objections, I'd consider backporting it for 6.4.1. but really it is just a wrapper script