Re: [GRASS-user] Display of Terrain Perameter Maps

2010-03-02 Thread Hamish
Rich: Is there a way to get smoother output maps run eg 'r.neighbors method=mode' to smooth/denoise maps 'r.param.scale param=feature' also offers a simplified version. both modules allow you to change the search window size. the bigger the window, the more smoothing. Hamish

Re: [GRASS-user] Terrain Curve Values

2010-03-02 Thread Hamish
Rich wrote: Just to confirm: the curve output from r.slope.aspect is positive when the curve is convex and negative when the curve is concave. Correct? There's nothing on the man page about this. Perhaps a sentence could be added. please run an experiment after creating a pseudo

[GRASS-user] Univariate Statistics

2010-03-02 Thread Luis Lisboa
Greetings I need to do some univariate statitstics that goes beyond the max/min/median/average/standard deviation. I need to do some outliers detection, distribution analysis and some more basic statistics. Since GRASS doesn't perform this I would like to know what are people using? Some

Re: [GRASS-user] Univariate Statistics

2010-03-02 Thread Jarosław Jasiewicz
Luis Lisboa pisze: Greetings I need to do some univariate statitstics that goes beyond the max/min/median/average/standard deviation. I need to do some outliers detection, distribution analysis and some more basic statistics. Since GRASS doesn't perform this I would like to know what are

Re: [GRASS-user] Univariate Statistics

2010-03-02 Thread Jose A. Ruiz-Arias
You probably should consider R. Take a look at http://grass.itc.it/statsgrass/grass_geostats.html Jose Luis Lisboa escribió: Greetings I need to do some univariate statitstics that goes beyond the max/min/median/average/standard deviation. I need to do some outliers detection, distribution

Re: [GRASS-user] ps.map issue

2010-03-02 Thread Hamish
Rich wrote: This is for my information only now as I don't need an answer right away. I have a ps.map script that uses a raster map, two boundary vline maps, and a vpoints map. There are also clauses for text, colortable, and vlegend. It make for a pretty map. However, if I add

Re: [GRASS-user] Export/define region with Map Scale

2010-03-02 Thread Franz Schiller
Greetings Hamish yes. the ps.map module knows its output plots will be on paper, and it knows how big that piece of paper is. therefore it can correctly calculate and use the scale for PostScript (and so PDF format too) hardcopies. Ok. So I just need to define the scale-output . Seems

Re: [GRASS-user] Features Extraction

2010-03-02 Thread Hamish
ab der wrote: i'd hope to post those scripts but i don't know how or where to post them see http://grass.osgeo.org/wiki/GRASS_AddOns https://trac.osgeo.org/grass/wiki/HowToContribute#WriteaccesstotheGRASS-Addons-SVNrepository regards, Hamish

Re: [GRASS-user] POW() in SQLite?

2010-03-02 Thread Hamish
Hamish wrote: I am trying to use POW(x,n) with SQLite but it fails: ... no such function: POW Glynn: Nope; not in SQLite: http://www.sqlite.org/lang_corefunc.html .. Similar problem if I try x^n: unrecognized token: ^ SQLite doesn't have a power operator:

Re: [GRASS-user] Apply a segmentation to derive objects

2010-03-02 Thread Nikos Dumakis
Hi Regarsding segmentation, has anyone implemented a method to segment an image in a unsupervised way? (i.smap is supervised). Or anyone developed some method to do image segmentation? Thanks Nikos On Mon, Jan 18, 2010 at 11:22 PM, Markus Neteler nete...@osgeo.org wrote: On Mon, Jan 18,

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Kim Besson
Hi I have installed R from Ubuntu repositories. My grass installation is a Weekly snapshot. I had to install rgdal since it doesn't exist in UBUNTU repositories neither CRAN and the same with spgrass6. Ok I will rebuild grass and reply again to mailing list Thanks Kim Did you install grass

[GRASS-user] Creating mosaics of images

2010-03-02 Thread Gilbert Ferrara
Greetings Is there any function or application to create image mosaics in GRASS? Thanks Gilber ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Re: [r.resample] null values for min and max range of data values

2010-03-02 Thread baobazz
Hi, Thanks for your answer! I didn't launch r.in.gdal after r.resample. It's just part of the raster history info given by the r.info command. Here is the complete workflow without the info commands. The goal is to produce an image with a less precise resolution. 1)r.in.gdal

Re: [GRASS-user] Creating mosaics of images

2010-03-02 Thread Alberto Pettazzi
Hi, check with d.frame command Gilbert Ferrara escribió: Greetings Is there any function or application to create image mosaics in GRASS? Thanks Gilber ___ grass-user

Re: [GRASS-user] Creating mosaics of images

2010-03-02 Thread Νίκος Αλεξανδρής
Gilbert Ferrara wrote: Is there any function or application to create image mosaics in GRASS? gdalwarp outside grass, r.patch inside grass. Check the archive [1] (and maybe the wiki [2]) for examples (like [3]). Regards, Nikos --- [1]

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Kim Besson
Ok I have just installed latest GRASS snapshot and I got the following error precip30n - readVECT6(precip_30ynormals, ignore.stderr=TRUE) ERROR: Incompatible library version for module. You need to rebuild GRASS or untangle multiple installations. What I would like to know is the versions

Re: [GRASS-user] problem with spgrass6

2010-03-02 Thread Leo Hardtke
Hi, thanks for the fast replay // Daniel McInerney escribió: Hi Leo, these type of questions are best sent to the grass-st...@list.osgeo.org [1] list (cc'd here), which discusses GRASS-GIS, R spgrass6 issues. What does sessionInfo() give? sesioninfo() gives /R version 2.9.2

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Νίκος Αλεξανδρής
On Tue, 2010-03-02 at 12:05 +, Kim Besson wrote: Ok I have just installed latest GRASS snapshot Latest snapshot of grass65 or grass70? and I got the following error precip30n - readVECT6(precip_30ynormals, ignore.stderr=TRUE) ERROR: Incompatible library version for module. You need to

Re: [GRASS-user] grass env

2010-03-02 Thread Markus Neteler
On Tue, Mar 2, 2010 at 12:05 PM, maven apache apachemav...@gmail.com wrote: Hi: I have post this problem before, I want to run grass in command line model so I can call them in java at that time,however it often cause some unexpeced errors. So today I change to Ubuntu, and I install grass use

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Markus Neteler
2010/3/2 Kim Besson kimbesson1...@gmail.com: Ok I have just installed latest GRASS snapshot and I got the following error precip30n - readVECT6(precip_30ynormals, ignore.stderr=TRUE) ERROR: Incompatible library version for module. You need to rebuild GRASS        or untangle multiple

Re: [GRASS-user] grass env

2010-03-02 Thread maven apache
It seems that the batch job is easy,however I still have some questions: 1) during my process the location and mapset maybe changed, can it be set in the script file? 2) My application is to support multiple users, so each user should have a gisrc file, can it be set before run the batch job?

[GRASS-user] run grass in linux command -- r.fillnulls errors

2010-03-02 Thread maven apache
Hi: When I run grass in command line model, the r.fillnulls can not be completed, I post the input and output in the terminal , I hope some one can check it : GRASS 6.4.0RC5 (spearfish60):~/grass/GrassDataBase g.gisenv GISDBASE=/home/kk/grass/GrassDataBase

Re: [GRASS-user] Terrain Curve Values

2010-03-02 Thread Rich Shepard
On Tue, 2 Mar 2010, Markus Neteler wrote: Here the answer from Helena (not on this list): yes - convex is positive and concave is negative. It is the same as in v.surf.rst. Thank you both. Rich ___ grass-user mailing list

Re: [GRASS-user] Raster attributes

2010-03-02 Thread Ned Horning
Hamish, Thanks for the tips. Doing the raster to vector and then vector to raster conversion probably won't work so well for this application. The image is quite large and I don't want to risk modifying the data in the conversion process. I'll see what I can do with regard to writing a

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Leo Hardtke
Hi Kim I am using R 9.2 (ubuntu repo), grass6.5 (source), and grass6.4(ubuntugis) works too, rgdal (source, not the lates thttp://cran.r-project.org/src/contrib/Archive/rgdal/rgdal_0.6-21.tar.gz ), and spgrass6 (install.packages(spgras6) in R) Hope it works Leo Hardtke Kim Besson escribió:

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Kim Besson
Ok I reinstalled rgdal R CMD INSTALL rgdal And then: R library(spgrass6) Output: Loading required package: sp Loading required package: rgdal Geospatial Data Abstraction Library extensions to R successfully loaded Loaded GDAL runtime: GDAL 1.5.4, released 2009/01/07 Path to GDAL shared files:

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Leo Hardtke
Kim I think you have to update gdal (1.6.3-2 in ubuntugis-unstable repo) and maybe use grass 6.4rc5 (ubuntugis) leo library(spgrass6) Loading required package: sp Loading required package: rgdal Geospatial Data Abstraction Library extensions to R successfully loaded Loaded GDAL runtime:

Re: [GRASS-user] Display of Terrain Perameter Maps

2010-03-02 Thread Glynn Clements
Rich Shepard wrote: The output maps from r.slope.aspect. r.resamp.rst, and even r.topidx the output maps have values for each cell rather than trends. This is very difficult to interpret by non-technical viewers. I've seen maps of slopes, profile and planar curvature, and topographic

Re: [GRASS-user] grass env

2010-03-02 Thread Glynn Clements
maven apache wrote: I have post this problem before, I want to run grass in command line model so I can call them in java at that time,however it often cause some unexpeced errors. So today I change to Ubuntu, and I install grass use sudo apt-get install grass. Now I also want to call

Re: [GRASS-user] Display of Terrain Perameter Maps

2010-03-02 Thread Rich Shepard
On Tue, 2 Mar 2010, Glynn Clements wrote: Filter the input data with r.neighbors[1], r.mfilter, etc. [1] I wouldn't use method=mode if you're going to calculate derivatives. I'm not so sure about method=median either. I appreciate learning of options that did not strike me as appropriate

Re: [GRASS-user] Display of Terrain Perameter Maps

2010-03-02 Thread Dylan Beaudette
On Monday 01 March 2010, Rich Shepard wrote: The output maps from r.slope.aspect. r.resamp.rst, and even r.topidx the output maps have values for each cell rather than trends. This is very difficult to interpret by non-technical viewers. I've seen maps of slopes, profile and planar

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Kim Besson
Following Leo's suggestion I installed GDAL 1.6.3 and I tried again: library(spgrass6) Loading required package: sp Loading required package: rgdal Geospatial Data Abstraction Library extensions to R successfully loaded Loaded GDAL runtime: GDAL 1.6.3, released 2009/11/19 Path to GDAL shared

Re: [GRASS-user] Display of Terrain Perameter Maps

2010-03-02 Thread Rich Shepard
On Tue, 2 Mar 2010, Dylan Beaudette wrote: I have found that with a certain amount of smoothing (r.param.scale , r.neighbors) and the right color scheme (r.colors [-e]) one can generate pretty nice looking maps that display overall trends. Dylan, I used r.param.scale extensively; will

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Alex Mandel
Kim Besson wrote: Following Leo's suggestion I installed GDAL 1.6.3 and I tried again: library(spgrass6) Loading required package: sp Loading required package: rgdal Geospatial Data Abstraction Library extensions to R successfully loaded Loaded GDAL runtime: GDAL 1.6.3, released 2009/11/19

Re: [GRASS-user] Display of Terrain Perameter Maps

2010-03-02 Thread Dylan Beaudette
On Tuesday 02 March 2010, Rich Shepard wrote: On Tue, 2 Mar 2010, Dylan Beaudette wrote: I have found that with a certain amount of smoothing (r.param.scale , r.neighbors) and the right color scheme (r.colors [-e]) one can generate pretty nice looking maps that display overall trends.

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Leo Hardtke
Kim you have to plot the R object precip, not the grass vector precip30n plot(precip,lwd=2, col="brown") should work! Leo Kim Besson escribi: Following Leo's suggestion I installed GDAL 1.6.3 and I tried again: library(spgrass6) Loading required package: sp Loading required package:

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Gilbert Ferrara
EEHEHEHEEH You are absolutely right :) On Tue, Mar 2, 2010 at 5:58 PM, Leo Hardtke leohard...@gmail.com wrote: Kim you have to plot the R object *precip,* not the grass vector *precip30n* plot(precip,lwd=2, col=brown) should work! Leo Kim Besson escribió: Following Leo's suggestion I

Re: [GRASS-user] R-GDAL incompatible libraries

2010-03-02 Thread Kim Besson
EHEHE this is true inglorious. Me and Gilbert were trying to compile and put this working and a simple typo was our final error. Thanks. Now it's working See ya Kim ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] GRASS6.4.0 Ubuntu updates

2010-03-02 Thread Luisa Peña
Hi Besides SVN and Linux/GNU generic weekly snapshots, is there any other way to easily update GRASS for ubuntu? like a special Ubuntu distribvution GRASS 6.4.0 Weekly snapshot ? Thanks Best regards Luisa ___ grass-user mailing list

Re: [GRASS-user] Univariate Statistics

2010-03-02 Thread Luis Lisboa
Thank you I realized that there is a r.univar.zone and an r.univar. What is the main difference between them? (they seems alike) Luis On Tue, Mar 2, 2010 at 9:33 AM, Jose A. Ruiz-Arias jarar...@ujaen.eswrote: You probably should consider R. Take a look at

[GRASS-user] Custom Projection Problems

2010-03-02 Thread Casey Vandenberg
I am trying to create a new project using a custom proj4 string. The parameters I specify are '+proj=utm +zone=6 +ellps=clark66 +towgs84=-5,135,172'. After creating the project however, and verifying the projection settings using *g.proj -j -f -p* I get the following info:

Re: [GRASS-user] Univariate Statistics

2010-03-02 Thread Jarek Jasiewicz
Luis Lisboa pisze: Thank you I realized that there is a r.univar.zone and an r.univar. What is the main difference between them? (they seems alike) Luis On Tue, Mar 2, 2010 at 9:33 AM, Jose A. Ruiz-Arias jarar...@ujaen.es mailto:jarar...@ujaen.es wrote: You probably should consider R.

Re: [GRASS-user] Custom Projection Problems

2010-03-02 Thread Paul Kelly
On Tue, 2 Mar 2010, Casey Vandenberg wrote: I am trying to create a new project using a custom proj4 string. The parameters I specify are '+proj=utm +zone=6 +ellps=clark66 +towgs84=-5,135,172'. After creating the project however, and verifying the projection settings using *g.proj -j -f -p* I

Re: [GRASS-user] run grass in linux command -- r.fillnulls errors

2010-03-02 Thread Markus Neteler
On Tue, Mar 2, 2010 at 2:55 PM, maven apache apachemav...@gmail.com wrote: Hi: When I run grass in command line model, the r.fillnulls can not be completed, I post the input and output in the terminal , I hope some one can check it : GRASS 6.4.0RC5

[GRASS-user] Connecting Vectors to Attribute Tables

2010-03-02 Thread Andrew Lewin
Dear All, I am having some difficulty viewing an attribute table from a vector file that is connected to a sqlite database table. Here is the terminal snippet of my commands with errors: GRASS 6.4.0RC5 (SantaMonicaBayMM):~ v.in.db driver=sqlite database=/ USers/andrewlewin/MM_SMB.db

Re: [GRASS-user] Connecting Vectors to Attribute Tables

2010-03-02 Thread Micha Silver
Andrew Lewin wrote: Dear All, I am having some difficulty viewing an attribute table from a vector file that is connected to a sqlite database table. Here is the terminal snippet of my commands with errors: GRASS 6.4.0RC5 (SantaMonicaBayMM):~ v.in.db driver=sqlite

Re: [GRASS-user] Custom Projection Problems

2010-03-02 Thread Paul Kelly
On Tue, 2 Mar 2010, Casey Vandenberg wrote: Thanks Paul, That was a typo on my part when specifying the ellipsoid. By typing in clrk66, it does maintain the correct ellipsoid and datum transform parameters. It is unnerving though how when I specify the Nad27 datum with an associated datum

[GRASS-user] sistemi di coordinate proiezioni

2010-03-02 Thread Matteo Toro
Salve, ho dei file tiff scannerizzati ai quali sono associati dei .tfw. questi sono del tipo: 2.11975401429604 0.00 0.00 -2.11975401429604 906737.1811447544

Re: [GRASS-user] run grass in linux command -- r.fillnulls errors

2010-03-02 Thread maven apache
2010/3/3 Markus Neteler nete...@osgeo.org On Tue, Mar 2, 2010 at 2:55 PM, maven apache apachemav...@gmail.com wrote: Hi: When I run grass in command line model, the r.fillnulls can not be completed, I post the input and output in the terminal , I hope some one can check it :

Re: [GRASS-user] grass env

2010-03-02 Thread Hamish
... and if *any* user editable inputs will be visible from the web side of the app make 100% sure that you have bounds checked and sanitized every single one of them. Stripping all punctuation and limiting the string length before passing as a module option is a good first step. I've no idea

Re: [GRASS-user] grass env

2010-03-02 Thread maven apache
Hi: I found that the grassBatchJob is so excited that I like it,however I wonder that each time a user who want to run grass in my web application have to write a .sh file and then call the grass with the BATCH_JOB may cause low effectivity? after all, this is realated the IO operation, isn't it?