Re: [GRASS-user] importing a adf file - resolution question

2013-09-25 Thread Markus Metz
On Tue, Sep 24, 2013 at 6:57 PM, Kirk Wythers kirk.wyth...@gmail.com wrote: I just used r.in.gdal to import a .adf. The files came from the global aridity and pet database hosted by CGIAR CSI CGIAR CSI produces a lot of misaligned raster data.

[GRASS-user] Grass70 PostgreSQL problem

2013-09-25 Thread Martin Album Ytre-Eide
Hello all. I have done this before on different installs, but this time I can't get it right. I am trying to add a table to a postgres database, by importing a .shp-file. It fails to import the table and gives this error: DBMI-PostgreSQL driver error: Connection failed. fe_sendauth: no

[GRASS-user] Grass SQLite driver math funtions

2013-09-25 Thread Enrico Gallo
Dear list, I am struggling with the use of simple math functions in SQL expression, using SQLIte and db.execute. I am writing a script for multiplatform end-users, so nor compiling SQLite math contrib library nor piping data to bc using command line seem to me feasable solutions. Do you have any

[GRASS-user] Plugin for (g)vim

2013-09-25 Thread Stefan Lüdtke
Dear friends, all emacs users might just ignore this mail, but this is obvious from the subject. I put a little plugin for (g)vim on github I use to script python code and GRASS scripts in python. https://github.com/sluedtke/python_grass What it does, briefly: In a running vim session, you

Re: [GRASS-user] Plugin for (g)vim

2013-09-25 Thread Markus Neteler
On Wed, Sep 25, 2013 at 11:11 PM, Stefan Lüdtke slued...@gfz-potsdam.de wrote: Dear friends, all emacs users might just ignore this mail, but this is obvious from the subject. I put a little plugin for (g)vim on github I use to script python code and GRASS scripts in python.

Re: [GRASS-user] Grass SQLite driver math funtions

2013-09-25 Thread Markus Neteler
On Wed, Sep 25, 2013 at 11:42 AM, Enrico Gallo enrico.ga...@gmail.com wrote: Dear list, I am struggling with the use of simple math functions in SQL expression, using SQLIte and db.execute. I am writing a script for multiplatform end-users, so nor compiling SQLite math contrib library nor

[GRASS-user] Local Relief Model tool

2013-09-25 Thread Eric Goddard
Hi all, I've created a grass python script that generates a local relief model (LRM) from a high-resolution (such as from LIDAR) DEM based on Hesse, Ralf (2010): LiDAR-derived Local Relief Models - a new tool for archaeological prospection. Archaeological Prospection 17:67-72. I've tested it on

Re: [GRASS-user] Local Relief Model tool

2013-09-25 Thread Vaclav Petras
Hi Eric, actually I was working on the same module (named r.local.relief), so we have some duplication now. It is also based on [Hesse2010]. I was about to commit it to GRASS Addons but I need to write documentation first. For now, I'm adding the Python script into a attachment. I've quickly