Dear all,
I have a set of raster maps and I need to run a r.series with them.
But each raster have different extent.
How can I use g.mlist to get the extent that include all rasters to
redefine my working regions?
I am running grass under MSYS/Win7
best
--
Miltinho - m...@rc.unesp.br
, Milton Cezar Ribeiro wrote:
I have a set of 7 raster maps.
I am able to calculate several stats with these mapas using r.series.
Now I need to calculate the mean of the tree highest values of my 7
maps.
Any idea of how can I do that?
cheers
--
Miltinho - m...@rc.unesp.br
Laboratório de
I have a set of 7 raster maps.
I am able to calculate several stats with these mapas using r.series.
Now I need to calculate the mean of the tree highest values of my 7 maps.
Any idea of how can I do that?
cheers
--
Miltinho - m...@rc.unesp.br
Laboratório de Ecologia Espacial e Conservação -
Dear all,
I have two grass spatial database, each on different directory and
with different projection/datum.
How can I import a raster map while reprojectingit?
Just suppose I am connected on
C:\Mydata\GrassSDB_target
newLocation
PERMANENT
and the source data are on
Hi Markus
Thanks.
I suggest, if it is a know but, put this on manual page of GRASS while
not fixed :-)
Cheers
miltinho
2013/2/16, Markus Metz markus.metz.gisw...@gmail.com:
On Sat, Feb 16, 2013 at 4:50 PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
Dear all,
I have two
Dear all
I have used grass gis 6.4 and I am happy with this version.
But I was wondering which are the advantages or disadvantages to move
or not grass 7.0
Any thoughts are very welcome.
cheers
--
Miltinho - m...@rc.unesp.br
Laboratório de Ecologia Espacial e Conservação - LEEC
Depto de
?
By the way, a grass GIS DB/Mapset can be used for both versions ?
Regards
miltinho
2013/1/10, Rashad M mohammedrasha...@gmail.com:
This can help you to make a decision[1].
[1] http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures
On Thu, Jan 10, 2013 at 11:13 PM, Milton Cezar Ribeiro
Dear all,
Anyone using GRASS to map multi-path corridors between paired or
multiple habitat patches in landscape ecology studies?
best
--
Miltinho - m...@rc.unesp.br
Laboratório de Ecologia Espacial e Conservação - LEEC
Depto de Ecologia - UNESP - Rio Claro
Av. 24A, 1515- Bela Vista
13506-900
new year,
Markus M
best wishes
miltinho
2012/12/30, Markus Metz markus.metz.gisw...@gmail.com:
On Sun, Dec 30, 2012 at 8:59 PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
Hi Rashad
I tested with the trunk svn, but apparently it still not worked to me.
Are you able
:
On Mon, Dec 31, 2012 at 3:05 PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
Hi Markus
Thanks for all your help.
Please, which svn command I need to run to get the daily trunk
subversion?
See here:
http://trac.osgeo.org/grass/wiki/Release/6.4.3RC2-News
-- SVN Checkout
Hi there
Everything worked fine.
Congrats for all your great job on GRASS-GIS solution, and again many
thanks for the effert on deal with this in the transition 2012/2013
(yes! 2013 in Australia and other places around world!).
best wishes
miltinho
2012/12/31, Markus Neteler nete...@osgeo.org:
can share the test data you are using in case not working
after applying the patch
[0] http://trac.osgeo.org/grass/attachment/ticket/1840/r.drain.diff
[1] http://trac.osgeo.org/grass/attachment/ticket/1840/drain.c
On Thu, Dec 27, 2012 at 2:31 AM, Milton Cezar Ribeiro
miltinho.astrona
PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
Hi Rashad
I tested with the trunk svn, but apparently it still not worked to me.
Are you able to test with my datased?
https://www.yousendit.com/download/UW16RE9zTkxlM1JBSXNUQw
What are the commands you used? I found
r.drain
Dear all,
I need to recompile current grass 6.42 within windows. Where can I
find the tips to deal with this?
--
Miltinho - m...@rc.unesp.br
Laboratório de Ecologia Espacial e Conservação - LEEC
Depto de Ecologia - UNESP - Rio Claro
Av. 24A, 1515- Bela Vista
13506-900 Rio Claro, SP, Brasil
at 10:01 PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
Hi Mohamed and Markus
Mohamed, thanks for your reply, I will wait for a solution within GRASS
:-)
Markus, thanks for your reply,. Sorry but I disagree a tiny bit,
because is expected that between a source and target I
:
On Sun, Dec 23, 2012 at 7:07 PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
Dear all,
I am running a least cost path analysis combining r.cost and r.drain.
But on some cases, when the least cost path between source and target
reach the border of my map, r.drain stop
Dear all,
I am running a least cost path analysis combining r.cost and r.drain.
But on some cases, when the least cost path between source and target
reach the border of my map, r.drain stop on that position, and target
point isn´t reached. Running on other softwares the algorithms the
source and
Great,
Thanks
milton
2012/10/20, Martin Landa landa.mar...@gmail.com:
Hi,
2012/10/20 Milton Cezar Ribeiro miltinho.astrona...@gmail.com:
But I noticed that on the recent versions of Standalone WinGRASS,
althoug MSYS is installed, we loose the capability of copy and past
sets of grass
On the previous version of Standalone WinGRASS, when installing I
always got a icon on my desktop that allowed me to start grass inside
Msys, so I was able to run scripts by copy and pasting several command
lines directly on
Msys console.
But I noticed that on the recent versions of Standalone
Excelent!
thanks
miltinho
2012/3/28, Markus Neteler nete...@osgeo.org:
On Tue, Mar 27, 2012 at 11:03 PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
Dear all,
I need to classify a Landsat image on GRASS but I would like to
automatically define the classes, not to define
Dear all,
I need to classify a Landsat image on GRASS but I would like to
automatically define the classes, not to define a priori.
Is there a way of I set the input bands on a processing, and the
algorithm find the signatures within the images and define the
number of classes?
In this moment I
Dear all,
I have a raster map with its own category information.
Now I am using r.out.gdal to export to HFA (.img) format.
But I would like to add the labels (category) in the output file,
intead of have only VALUEs.
Any idea?
best
--
Miltinho - m...@rc.unesp.br
Laboratório de Ecologia Espacial
Dear Grass gurus
I have a vector map with lines, and I need to get raster values each 5 meters.
So I used v.split to spring my lines in segments of 5 meters, and
after that I used
v.to.points to generate points on each node of my line segments.
Now I am trying to overlap my points against a
Dear all,
I am running grass 6.4.2 which I just downloaded and installed from
OSGEO server.
When I try to zoon in or out, I get the following error under Windows/7 64bits
Traceback (most recent call last):
File c:/osgeo4w/usr/src/grass-6.4.2RC2/dist.i686-pc-
Hola José,
Send also
db.describe of your map and the complete command of v.to.rast that you
are using.
Maybe you need to use something like:
v.to.rast input=yourmap output=yourmap_rast use=attr column=PUT_A_NUMERIC_COLUMN
best wishes
miltinho
2011/12/18, José Carlos Guerrero Antúnez
Hi Ruth,
Try
g.region rast=YourMap
r.terraflow...
good look
milton
2011/11/11, Ruth Sos Del Diego rsosdeldi...@googlemail.com:
Hello list,
I trying to delineate watersheds in a STRM-data(DGM.tif)
| Data Type:CELL |
| Rows: 1809
Dear all,
I just remove 5,000 maps from a mapset using g.remove -f map=mymap,
and observed that, although the command worked fine, when I go under
the directories (like .../Mapset/cell) I see there a lot of empty
files (0 bytes), and the removed raster map filenames are still there.
How can I
Dear all,
I need to remove raster maps from another mapset instead PERMANENT
As I am putting this in a python-grass script, I tried something like
g.remove -f rast=mymap@OTHERMAPSET
but I get the error message that the raster map is not in the current
mapset (PERMANENT).
Any suggestion?
best
Hi Martin,
Worked fine!
best
milton
2011/10/28, Martin Landa landa.mar...@gmail.com:
Hi,
2011/10/28 Milton Cezar Ribeiro miltinho.astrona...@gmail.com:
I need to remove raster maps from another mapset instead PERMANENT
As I am putting this in a python-grass script, I tried something like
Dear Antonio,
Depending on your raster sizes you can load both maps into R and
compute the stats over there.
best
miltinho
2011/9/30, António Rocha antonio.ro...@deimos.com.pt:
I
I have been using r.series to calculate a linear regression slope for an
old and new raster map using
Hi Yada,
If you have a raster map with your area of interest you can use
r.mask ...
r.mapcalc DEM_clip=DEM
or
g.region rast=mask_file
g.region res=DEFINE DESIRED RESOLUTION
r.mapcalc DEM_clip=DEM
I hope this helps.
milton
2011/7/27 Yada Elisabeth yadaelisab...@gmail.com
Dear GRASS users,
Dear all,
Is there a way of I obtaion a polygon- or raster-based Minimum Spanning Tree
(MST) on GRASS?
It is like to join every polygons to the neighbours using edges (linear
links) without allow the edges overlap each other.
cheers
milton
___
Dear all,
Can I generate voronoi tesselation for polygons (instead of points) of
raster-based patches?
cheers
milton
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
, and given percentile.
Columns will be created on the fly, you only have to give the 'base name' of
the columns. I.e., no need to create a column yourself.
On 07/16/2011 10:14 PM, Milton Cezar Ribeiro wrote:
BTW,
my vector maps have polygons.
milton
2011/7/16 Milton Cezar Ribeiro
Dear all,
I have a vector map with only 7 features (polygons). I use the command below
to extract raster info.
v.rast.stats vector=my_polygons raster=my_raster colprefix=LG
As my polygons have holes, I receive several messages as the below:
Area without centroid (may be OK for island)
But I
BTW,
my vector maps have polygons.
milton
2011/7/16 Milton Cezar Ribeiro miltinho.astrona...@gmail.com
Dear all,
I have a raster map with continuous values, and need to extract some stats
(like mean, std etc) assigning these zonal values as a vector column.
I just added the empty columns
Dear all,
I have a raster map with continuous values, and need to extract some stats
(like mean, std etc) assigning these zonal values as a vector column.
I just added the empty columns on the my vector map using :
v.db.addcol map=frag_ts columns=FLOW_STD DOUBLE PRECISION
How can I do this
to vector, instead of r.to.vect?
cheers
milton
2011/2/12 Markus Metz markus.metz.gisw...@googlemail.com
On Sat, Feb 12, 2011 at 5:11 AM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
Dear all,
I have a raster map where each patch (i.e. forest fragment) have
different
ID.
I
Hi Markus,
I will try that. The GRASS_VECTOR_LOWMEM=1 works only for G7?
best
milton
2011/2/12 Markus Metz markus.metz.gisw...@googlemail.com
On Sat, Feb 12, 2011 at 11:58 AM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
Hi Markus,
Thanks for the reply. In fact a vector
Hi Jarek and r.neighbor maintenators,
I suggest put a flag on r.neighbor for annulus (torus), so in future
versions the module will be always update.
Just a suggestion.
Jarek, congrats.
cheers
milton
2010/11/15 Jasiewicz Jarosław jar...@amu.edu.pl
Hi all!
while I need annulus (or torus)
Dear all,
I extracted the drainage and direction from a DEM using r.stream.extract.
r.stream.extract --o elevation=aster_dem_wgs84_UTM threshold=50
stream_vect=aster_dem_wgs84_UTM_vect_th00050
stream_rast=aster_dem_wgs84_UTM_rast_th00050
Dear all,
How can I have a 64bit windows grass under a 6Gb Windows7 dell machine?
I am using OSGeo4W/MSYS version, but many of my processing I get memory
errors.
cheers
milton
___
grass-user mailing list
grass-user@lists.osgeo.org
Hi Vishal,
Is there a why of you use grass 6.3?
How about you try grass 6.4R6?
Have you tryed grass with a sample (Northcaroline or Spearfish) mapset?
cheers
milton
2010/5/11 Vishal Mehta vishalm1...@gmail.com
I'm having some recent trouble getting Grass to start on Windows XP.
when i try
Hi Gilbert,
There ist more than one way. I will tell you the way that works for me:
0. Be sure your Rgui.exe are in the windows path like
C:\Program Files (x86)\R\R-2.9.0\bin
1. Start grass/MSYS (sorry, I am on windows).
2. Connect to you mapseet
3. inside MSYS shell type:
Rgui.exe
4.
Hi there,
may be the last command need double ==
r.mapclac 'final=if(first_map==1,0,first_map'
cheers
milton
2010/4/14 Jarek Jasiewicz jar...@amu.edu.pl
thedok78 pisze:
Sorry, this is the expression:
r.mapcalc 'map2=if(map ==1
Hi There,
I am happy running python inside a OSGeo4W grass instalallation.
I start MSYS, start grass, and then ryn python 2.5 which are run
from C:\OSGeo4W\apps\Python25. But I needed to copy the grass/python
library to C:\OSGeo4W\apps\Python25\Lib\site-packages.
Good luck,
milton
2010/3/9
Pedro,
If you run a r.mapcalc, the extent and resolution will follow the current
region. So, check g.region -p before run r.mapcalc. You can use g.region
rast=MapLandsat to set the current region to use MapLandsat dimensions as
reference. After you can reset your extention and resolution using
Hi Stephen,
I suggest you use spgrass6 package on R,
set your g.region using system(g.region n= s= w= e=)
on R and use readRAST6 to load your map
as SGDF. Of course, if you are under windows,
you know that depending the size of your grid
you will get troubles :-)
best
milton
2010/2/5 stephen
Hi There,
I put my 2cents on the Markus' suggestion. This book changed my life :-)
Thanks Tom!
best regards
milton
2010/1/27 Rich Shepard rshep...@appl-ecosys.com
On Wed, 27 Jan 2010, Markus Neteler wrote:
Let me recommend this book:
http://geomorphometry.org/book
Thank you, Markus.
Hi Rich,
try g.region nsres=5 ewres=5, may be you can bypass this.
best regards
milton
2010/1/27 Rich Shepard rshep...@appl-ecosys.com
In -6.4svn from last Friday's weekly snapshot.
After setting g.region rast=aber5m I tried running r.flow elevin=aber5m
aspin=aber5aspect
Jan 2010, Milton Cezar Ribeiro wrote:
try g.region nsres=5 ewres=5, may be you can bypass this.
milton,
That's how I defined the resolution, but it was returned as slightly less
for some reason. See:
GRASS 6.4.0svn (Oregon):/usr4/grassbase g.region res=5 -p
projection: 99 (Lambert
rshep...@appl-ecosys.com
On Wed, 27 Jan 2010, Milton Cezar Ribeiro wrote:
But g.region res=5 and g.region nsres=5 ewres=5 produce the same result?
I
never tryed.
Milton,
Yes. res is equal to setting both nsres and weres to the same values.
Rich, another way is you use n= s= w= e
Margherita,
Check with g.region -p and see how many 100x100 pixels you have.
May be it is very small for your threshold.
best
milton
2010/1/25 Margherita Di Leo direg...@gmail.com
Hi list!
I often used r.watershed without problems, but today i had a very strange
one. Please can anyone
Hi Glynn,
Thanks for the reply. By the way, where I can have access to
the list of datatypes for a raster map? I ran on my raster map
and got datatype=CELL. I was expecting to get byte,float,integer...
bests
milton
2010/1/22 Glynn Clements gl...@gclements.plus.com
Milton Cezar Ribeiro wrote
Hey someone, don't push..
r.mapcalc NewMap=if(OldMap==999,null(),OldMap)
bests
milton
2010/1/20 maven apache apachemav...@gmail.com
Hi:
I have a geotiff now, and some cells have a not-expected value, so I want
to Interpolation them, and I notice that there is a command named
r.fillnull,
Hi Maven,
do you think that if you have min = -1267650600228229401496703205376.00
is the same value you used on r.null setnull=-1.26765060022823e+030 ?
I think following the Hamish's suggestion you will get there :-)
bests
milton
2010/1/20 maven apache apachemav...@gmail.com
...@gclements.plus.com
Milton Cezar Ribeiro wrote:
I am using r.series to join several large raster maps, but
the south part of my map is completely empty, and
whem I try r.what I get a error message can't read.
I was wondering if it is a problem with LFS (large file system)
flag. I
Dear Helmut and Markus
I checked out the Helmut's suggestion, and in fact are there a MinGW-w64
that is a mix between 32-64b. I think it is a very promising solution for
windows-based users, mainly because many of new computers that we buy for
GIS end-users area, in general, with large memory
Dear all,
I am using r.series to join several large raster maps, but
the south part of my map is completely empty, and
whem I try r.what I get a error message can't read.
I was wondering if it is a problem with LFS (large file system)
flag. I compiled grass 6.4.0svn two weeks ago using
Dear all,
I have used grass under Vista, and compiled it using
Msys/OSgeo4W version. If I am not wrong I will get only
a 32bit grass, because Msys/gcc and some of libs downloadable
from the links http://trac.osgeo.org/grass/wiki/CompileOnWindows
deal with 32bit instead 64.
Is there a way of I
Dear all,
I have some vector files generated using r.stream.extract, and
now I need to convert it to KML. But my mapset is on Albers projection.
Is there a way of I export automatically my vector map using v.out.ogr
withour projection transformation?
v.out.ogr.exe --o input=myvect
Dear friends,
I generated a map with slopes using:
r.param.scale input=srtm output=srtm_SLOPE_ws007 param=slope size=07
The output range from r.info is
min = 0.00 max = 3.930307
May I consider that all values 1 is equivalent to 100% (or 45 degrees) of
steepnees?
Case not, how can I
Hi Rich,
Have you tried r.mask ?
bests
milton
2010/1/1 Rich Shepard rshep...@appl-ecosys.com
While the raster DEM displays quickly in the GUI it is unacceptably slow
trying to display in the CLI monitor. Does the large number of colors
explain
the time difference?
GRASS 6.4.0svn
Hi Paulo,
Have you tried g.region -d ?
ciao
milton
2009/12/30 Paolo Cavallini cavall...@faunalia.it
Hi all.
If I zoom to a small map full of nulls, with only a non-nulla area on one
side, and
zoom back to the full extent, I do not see the difference:
===
g.region
Hi Helmut,
Thanks for the reply. Apparently evething is working fine, thanks.
Have happy holidays,
milton
2009/12/30 Helmut Kudrnovsky hel...@web.de
Hi Milton,
Dear all,
I am still trying to compile the grass under Vista/MSYS,
and following the instructions available at:
When I
Hey Markus,
You are the same guy that is working on the Sandro's (UFZ) project and that
wrote the r.stream grass program!? That small world. Good to know.
cheers
miltinho
2009/12/29 Markus Metz markus.metz.gisw...@googlemail.com
Milton Cezar Ribeiro wrote:
Dear all,
I am (finally
Dear all,
I extracted drainage from a large number of tiles of SRTM DEMs, for several
regions of Brazil. The regions have very different relief conditions,
ranging from almost flat to very inclined. I have some cartographic maps
at scale 1:50,000, and the (reference) densities ranges from 7 to
Dear all,
I have compiled grass using the instructions available at
http://trac.osgeo.org/grass/wiki/CompileOnWindows
But now I need to compile some Addons, and I must confess
that I have no idea of how to do that. I know that
I need to download the addons sources, but I can't
figure out what
Dear colleagues,
I am just updating my grass system, to compile it
under Vista. I am following the the instructions available at
http://trac.osgeo.org/grass/wiki/CompileOnWindows.
But when trying to download the Pre-built binaries
bc and readline, I can't find/download it from
sourceforge. Any
Dear all,
It was solved. I don't know why my internet explorer (under vista) not
download the files, but Firefox do.
cheers
milton
2009/12/28 Milton Cezar Ribeiro miltinho.astrona...@gmail.com
Dear colleagues,
I am just updating my grass system, to compile it
under Vista. I am following
Dear all,
I am (finally :-) extracting the drainage from a DEM
using r.stream.extract. How can I extract also
the stream heads?
bests
milton
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Dear all,
I have a large raster project (~60,000 x 48,000 pixels)
and I extracted the drainage from DEM for ~1,000 subbasin.
Now I would like to join all the pieces of drainage, but
whem I tryed :
g.region rast=`g.mlist pat=ANA_COD5_drenbin_* sep=,`
r.series input=`g.mlist
Hi Markus,
So, if I understood well the practical theory you need is not that one
described by Urban Keitt (2001), because they use nodes and edges, and you
want a patch-based graph theory, isn't it? May be Fall et all (2007) is a
better technical approach?
Andrew Fall, Marie-Josee Fortin,
Hi guys,
sorry for my delay. I am trying your suggestions.
cheers
milton
2009/11/14 Rich Shepard rshep...@appl-ecosys.com
On Sat, 14 Nov 2009, Milton Cezar Ribeiro wrote:
I have a DEM, a drainage and a Cover mapa, and I need to estimate - for
ANY pixel of my drainage - what is the amount
Dear all,
I have a DEM, a drainage and a Cover mapa, and I need to
estimate - for ANY pixel of my drainage - what is the
amount of my cover classes that contribute (or are upstream)
of that pixel.
Any help are VERY welcome.
Cheers
milton
___
Hi Rich,
Are you using v.in.ogr with -o flag?
bests
milton
2009/11/14 Rich Shepard rshep...@appl-ecosys.com
For my current project, almost all data come from the Oregon GIS office
(now called the Geographic Enterprise Office). All the data available for
download (.shp and .e00 primarily)
Hi Flavio,
how about Python?
http://grass.osgeo.org/wiki/GRASS_and_Python
saludos
milton
2009/11/4 Flavio ESPECHE NIEVA flavio.espe...@gmail.com
De mi mayor consideración:
Soy nuevo en la lista y estoy comenzando a trabajar con GRASS.
Necesito desarrollar aplicaciones (en C, Java o PHP)
Hi Maning,
Sometimes I have the same issue, but I don't solve this on vector.
Just supose you have a map where 1 is your raster-based-polygon
and NULL is outside of polygon. You can use r.mapcalc to
invert it, in the maner that 1 come to be your non-polygon, and
NULL your polygon. So you can run
To: Milton Cezar Ribeiro miltinho.astrona...@gmail.com
Cc: grass-user grass-user grass-user@lists.osgeo.org
Received: Monday, 28 September, 2009, 7:14 PM
Milton Cezar Ribeiro wrote:
Dear all,
I have a DEM with dimensions 10,000 x 6,000. Now
I need to
extract all the stream
(sensu Tom Hengl!) from large DEM (10,000x6,000), please let me
know.
bests
milton
2009/9/28 Markus Metz markus.metz.gisw...@googlemail.com
Milton Cezar Ribeiro wrote:
Dear all,
I have a DEM with dimensions 10,000 x 6,000. Now I need to
extract all the stream or drainage, as well
Dear all,
I have a DEM with dimensions 10,000 x 6,000. Now I need to
extract all the stream or drainage, as well as generated some
other stream/flow related features like flow direction,
stream lenght, etc.
I work on a computer with 6Gb under Vista, and the grass
version is the OSGeo4W one. But
Dear all,
I have a set of 10,000 distance maps. On this map I have
negative (-300 to 0) and posivie (0 to +300) values.
I would like to attrib a color table to those maps
from yellow-cyan-dark green when the negative values
goes from 0 to -300, and from yellow-orange-red
when values goes from 0
May be something like:
(please, check several values!)
r.mapcalc B=if(A==0, sum(A[-1,-1], A[0, -1], A[1,-1], A[-1,0], A[1,0],
A[-1,1], A[0, 1], A[1,1])/8, A)
cheers
milton
2009/8/28 stephen sefick ssef...@gmail.com
if(0, (sum([-1,1], [0, 1], [1,1], [-1,0], [0,0], [1,0],[-1,-1],
Hi stephen,
just to remember not include yourmap[0,0]
bests
milton
2009/8/28 stephen sefick ssef...@gmail.com
I think so- let me try it
On Fri, Aug 28, 2009 at 12:04 PM, achima...@jupiter.uni-freiburg.de
wrote:
r.mapcalc newmap = if ( yourmap==0 , ( sum( yourmap[-1,1] ,
yourmap[0,1] ,
Hi Stephen, may be you can share some picture?
bests
milton
2009/8/28 stephen sefick ssef...@gmail.com
This does not quite work for my purposes. The problem is the the 0
values are in a 2 or 3 grid wide seam in between patched raster maps,
so the value is lower than it should be using
Hi stephen,
May be this?
g.region rast=`g.mlist pat=srtm* sep=,`
r.series input=`g.mlist pat=srtm* sep=,` output=srtm_leste method=maximum
of you can play with r.mapcalc to identify where is zero, and calculate the
mean using [-1,-1][-1,0], [1,1] (not use [0,0]) to average (sum/8).
good
It is amazing!!!
Thanks hamish!
milton
2009/8/20 Hamish hamis...@yahoo.com
Mark:
If I do 'g.list vect walker.list', the list is not in one
column and seems to be separated by tabs, with 4 columns and
a bunch of rows of vector files.
g.mlist
I'm building an animated GIF of the
Hi Mark,
Have you tried something like grass.mlist_grouped(type = 'rast') (may be you
need change to vect) on python?
good luck
milton
2009/8/20 M S msei...@gmail.com
Greetings All:
How would one read the vector maps in a current mapset into a file, or a
list in an array (using python)?
Hi Achim,
could you, please, share with us your region -p ?
bests
milton
2009/8/20 achim a...@jupiter.uni-freiburg.de
Hi,
I tried a lot. And I found a solution:
I made a buffer around the area with 0 distance. Then v.to.rast works.
If anyone knows why, it would be very interesting for
Dear Grass-gurus,
I am running grass64 available on OSGeoW4 Express installation.
Now I need to play with grass python and sqlite3.
I gone on OSGeoW4 installer again, and when I try to
choose the sqlite3 lib to install the installer
(available at
Hi Maning,
O flyed on your email and saw only warnings, not errors.
It appears to worked.
bests
milton
2009/8/14 maning sambale emmanuel.samb...@gmail.com
I am importing a polygon shapefile and I get this error. The
shapefile was created using QGIS.
v.in.ogr layer=forest_p116r048_repair
Hi Hamish,
Thanks for your encourager's email.
I started to play with numpy for other purposes,
but I will give a look in deep for this.
If I get success I will be happy report it here.
bests
milton
2009/8/12 Hamish hamis...@yahoo.com
Milton Cezar Ribeiro wrote:
I am building
Dear all,
I am building some codes on python that read grass informations.
If I start msys - grass - select my location mapset, I am able
to both get the list of rasters or read a raster map.
To get the list of raster maps I use something like:
Dear all,
I am building a simulation python code that read a raster maps on grass
mapset.
As my maps is not so large (512x512 pixels) I dump it on a text file
(using r.out.ascii), after I read the text file on python, parse it using a
function that
I wrote, and after create a matrix-like object
Dear all, [Windows 64 / XP]
Sorry if this is not the best place to ask for this.
I installed the Osgeo4W grass, using the
installer available at:
http://trac.osgeo.org/grass/wiki/CompileOnWindows
After startup the installer, I choose Express instalation,
and installed grass from it. Grass
Dear friends,
I can run some simple scripts on python if I start
Msys - grass64 - python myscrypt.py
But now I would like to know if I can build a python
code outside of a msys/grass session, and get
access on a mapset withour stay running grass.
thanks a lot,
milton
Dear all,
how can I read all lines of a raster map and
assing it on a matrix (list of lists) on python.
I am able to get all informations about a raster map,
using for example grass.raster_info('MYMAP')
but I need to load the grass raster map as a
grid on python.
Any help are welcome.
Cheers
Hi Edmond,
Any error message?! XP / VISTA / 32 / 64 ?
MSYS or Standalone version?
I can't help, but I think this information could be useful for helpers.
Cheeers
milton
2009/8/6 Edmondo Elisei edmondo.eli...@gmail.com
Dear Grass lists,
the old GUI doesn't start.
It happens with 6.4 RC5
.
Anyway Following the suggestion by Micha (remove .grassrc6)
everything is ok now!!!
Thanks a lot Nikos Micha!
milton
2009/8/5 Micha Silver mi...@arava.co.il
Nikos Alexandris wrote:
On Tue, 2009-08-04 at 19:33 -0400, Milton Cezar Ribeiro wrote:
Hi Nikos.
Thanks for the reply
Dear all,
Is this possible? I installed standalone grass 6.4. from
http://grass.itc.it/grass64/binary/mswindows/native/WinGRASS-6.4.0RC5-1-Setup.exe
After start this mswindows version I can start MSYS/grass64, and
also run python test.py. Now I would like to run some grass-python code
but when I
1 - 100 of 211 matches
Mail list logo