Re: [GRASS-dev] Re: [GRASS-user] Get current location projection in a Python Script

2010-05-31 Thread Markus Neteler
On Mon, May 31, 2010 at 3:50 AM, Glynn Clements gl...@gclements.plus.com wrote: [CC to grass-dev] Nikos Alexandris wrote:     # faster/ easier way: use of the grass.region() function     rows = int(grass.region()['rows'])     cols = int(grass.region()['cols']) In 7.0, these fields are

[GRASS-user] Re: Trying python scripts.

2010-05-31 Thread Marcello Gorini
On Mon, May 31, 2010 at 12:11 AM, Marcello Gorini gor...@gmail.com wrote: OK, right after a wrote that, I thought I was being too bold. Should I go for: svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 grass64_release Markus: Yes. Subsequently, it is sufficient to

Re: [GRASS-user] Re: Trying python scripts.

2010-05-31 Thread Martin Landa
Hi, 2010/5/30 Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de: Marcello Gorini: Yes, I think I need to move on and download a newer version. I will probably try to install GRASS 7. Gr7 is under continuous development. For real work better to use latest Gr64. or GRASS 6.5 (wxGUI is

Re: [GRASS-user] Re: Trying python scripts.

2010-05-31 Thread Marcello Gorini
On Mon, May 31, 2010 at 5:39 AM, Daniel Lee lee.daniel.1...@googlemail.com wrote: Hi Marcello, Great that everything's working for you ;) I'm also a beginner and loving GRASS and Linux... Anyway, 'nuff said. To Python: Your script worked in the new version? That means in the new 6-4? Hello

[GRASS-user] Python Error

2010-05-31 Thread Enrique Cerrillo Cuenca
Hi everyone, I’ve installed the latest release of GRASS 6.4. (RC6-2) on Snow Leopard, I downloaded the installer from Kyngchaos web. I had got several issues, but it seems that they are already solved. Nevertheless, GRASS freezes each time I try to run the wxpython gui. The next message

Re: [GRASS-user] Re: Trying python scripts.

2010-05-31 Thread Martin Landa
[back to ML] Hi, 2010/5/31 Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de: or GRASS 6.5 (wxGUI is frozen for several months in GRASS 6.4) Yet, 65 has more bugs (in general) right? In the wiki a _discouraging_ of its use has been signaled [/] specifically for end-users. right, on

Re: [GRASS-user] Re: Trying python scripts.

2010-05-31 Thread Nikos Alexandris
Hi Martin, Martin Landa: [back to ML] it was not my intention to send this off-list. Mis-clicked a button and did not notice it. or GRASS 6.5 (wxGUI is frozen for several months in GRASS 6.4) Nikos Alexandris: Yet, 65 has more bugs (in general) right? In the wiki a _discouraging_ of

[GRASS-user] Header information for Radiometric Correction

2010-05-31 Thread katrin eggert
Greetings all At http://www.grassbook.org/examples_menu3rd.php There is a function to import a Landsat image with metadata info. I went at ftp://ftp.glcf.umiacs.umd.edu/glcf/Landsat/WRS2/p016/r035/p016r035_7x2331.ETM-EarthSat/and I downloeaded landsat image but I didn't find any met file

[GRASS-user] projecting

2010-05-31 Thread Sandile Gumede
Hi, I'm trying to import two .tif raster data in the same LOCATION, I imported the first one fine but when I import the second raster image it gives me an error. 1 Over-riding projection check 2 Illegal latitude for North. -- Kind Regards TS Gumede Student Researcher Meraka Institute, CSIR

Re: [GRASS-user] Language of installed manual

2010-05-31 Thread Luigi Ponti
Hello, I could not find any further reply to this, and I just would like to mention that the problem (mixed languages in manual pages when installing wingrass from http://josef.fsv.cvut.cz/wingrass/grass64/) is gone as of WinGRASS-6.4.SVN-r42329-1-Setup.exe. Thanks and regards, Luigi On

Re: [GRASS-user] projecting

2010-05-31 Thread Micha Silver
On 05/31/2010 05:02 PM, Sandile Gumede wrote: Hi, I'm trying to import two .tif raster data in the same LOCATION, I imported the first one fine but when I import the second raster image it gives me an error. A single LOCATION is always identified by a particular coordinate

[GRASS-user] DAtum Warning while using r.in.gdal

2010-05-31 Thread Kim Besson
Greetings Following a few suggestions made at this list I'm using gdalwarp to project a few landsat images and only then yusing r.in.gdal. I'm using this expression to reproject image: gdalwarp -t_srs +proj=tmerc +lat_0=39.668258 +lon_0=-8.1331084 +k=1 +x_0=0 +y_0=0 +ellps=GRS80

Re: [GRASS-user] DAtum Warning while using r.in.gdal

2010-05-31 Thread Micha Silver
On 05/31/2010 07:25 PM, Kim Besson wrote: Greetings Following a few suggestions made at this list I'm using gdalwarp to project a few landsat images and only then yusing r.in.gdal. I'm using this expression to reproject image: gdalwarp -t_srs +proj=tmerc +lat_0=39.668258

Re: [GRASS-user] DAtum Warning while using r.in.gdal

2010-05-31 Thread Paul Kelly
On Mon, 31 May 2010, Kim Besson wrote: Greetings Following a few suggestions made at this list I'm using gdalwarp to project a few landsat images and only then yusing r.in.gdal. I'm using this expression to reproject image: gdalwarp -t_srs +proj=tmerc +lat_0=39.668258

Re: [GRASS-user] Header information for Radiometric Correction

2010-05-31 Thread Markus Neteler
Hi Katrin, On Mon, May 31, 2010 at 3:53 PM, katrin eggert katrineggert1...@gmail.com wrote: Greetings all At http://www.grassbook.org/examples_menu3rd.php  There is a function to import a Landsat image with metadata info. I went at 

Re: [GRASS-user] Re: Trying python scripts.

2010-05-31 Thread Markus Neteler
On Mon, May 31, 2010 at 3:19 PM, Martin Landa landa.mar...@gmail.com wrote: ... right, on the other hand please note that 6.4.0 is 1.5 year in RC stage!!! (which is unusually very long time for RC stage in which the development of new features should be frozen). In the result e.g. wxGUI will

Re: [GRASS-user] Language of installed manual

2010-05-31 Thread Markus Neteler
Hi Luigi, On Mon, May 31, 2010 at 4:49 PM, Luigi Ponti lpo...@inbox.com wrote: Hello, I could not find any further reply to this, and I just would like to mention that the problem (mixed languages in manual pages when installing wingrass from http://josef.fsv.cvut.cz/wingrass/grass64/) is

Re: [GRASS-user] Python Error

2010-05-31 Thread Markus Neteler
On Mon, May 31, 2010 at 2:46 PM, Enrique Cerrillo Cuenca ecerri...@iam.csic.es wrote: Hi everyone, I’ve installed the latest release of GRASS 6.4. (RC6-2) on Snow Leopard, I downloaded the installer from Kyngchaos web. I had got several issues, but it seems that they are already solved.

Re: [GRASS-user] projecting

2010-05-31 Thread Markus Neteler
On Mon, May 31, 2010 at 4:02 PM, Sandile Gumede akasand...@gmail.com wrote: Hi, I'm trying to import two .tif raster data in the same LOCATION, I imported the first one fine but when I import the second raster image it gives me an error. 1 Over-riding projection check 2 Illegal latitude

Re: [GRASS-dev] Re: [GRASS-user] Get current location projection in a Python Script

2010-05-31 Thread Glynn Clements
Markus Neteler wrote:     # faster/ easier way: use of the grass.region() function     rows = int(grass.region()['rows'])     cols = int(grass.region()['cols']) In 7.0, these fields are already integers; r40555 should be backported. AFAIK it has been backported some time ago.

Re: [GRASS-user] Re: Trying python scripts.

2010-05-31 Thread Glynn Clements
Marcello Gorini wrote: - I was also under the impression, that since you tell GRASS what kind of a script it is in the first line (*#!/usr/bin/env python*), that you don't need to save it as .py. Am I mistaken there? You are also right. I renamed it without the .py extension and it worked