Re: [GRASS-user] Creation and managing Location/Mapset

2010-05-18 Thread Luisa Peña
Hi Nikos and Luis Thanks for your replies I still have a few issues regarding this: 1- How can a region not to be a Square? If I have to set North/South/East/West boundaries? 2- In my case, my mask is a Vectorial. Can I use a vectorial as a mask? Thank you once again No dia 17 de Maio de 2010

Re: [GRASS-user] Importing Landsat images with different coordinates

2010-05-18 Thread Jenny Turner
Greetings Firman, but imagine that I have rasters in UTM for differente zones (e.g. huge countries like USA, etc). How can I produce an automatic importing tool that uses gdalwarp to project an image to WGS84 and import to GRASS? Thanks for your help Best regards, Jenny On Mon, May 17, 2010 at

Re: [GRASS-user] Importing Landsat images with different coordinates

2010-05-18 Thread Firman Hadi
Dear Jenny, Yes, I am agree that will be such a huge work :D. Actually I am not familiar with shell script but maybe I can imagine the workflow and perhaps someone in this list can help. I think the algorithm of such script is: 1. Put all the imageries in one folder 2. Use gdalinfo command to

Re: [GRASS-user] Re: r.lake - starting from shell problem

2010-05-18 Thread Annalisa Minelli
An update: Thanks to Glynn Clements, switching from 64 to 65 solved all my problems and now my python script works fine on win XP too giving the command: python complete_path_to_the_script+options from the command line of the layer manager. Otherwise I was unable to use the 70 GRASS version

[GRASS-user] GRASS Script for importing data with different source_coordinates/projection

2010-05-18 Thread Jenny Turner
Greetings This almost a follow-up from a previous message that I sent regarding Landsat-7 image importing. I need to develop a script to import images from multi-SOURCE_COORDINATE_SYSTEM to defined target_COORDINATE_SYSTEM (WGS84). Since my input images come from different UTM zones it won't be

Re: [GRASS-user] GRASS Script for importing data with different source_coordinates/projection

2010-05-18 Thread Hamish
Jenny wrote: This almost a follow-up from a previous message that I sent regarding Landsat-7 image importing. I need to develop a script to import images from multi-SOURCE_COORDINATE_SYSTEM to defined target_COORDINATE_SYSTEM (WGS84). Since my input images come from different UTM zones it

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-18 Thread Martin Landa
Hi, 2010/5/16 Glynn Clements gl...@gclements.plus.com: I've already replaced the SWIG bindings in 7.0 with the ctypesgen version. trying ctypesgen version I have problem with G_find_raster2() mapset = grass.G_find_raster2(elevation, ) print mapset WARNING: Illegal filename �pT�. Character

[GRASS-user] Adding a addon to the WinGRASS-OSGEO

2010-05-18 Thread Luisa Peña
Greetings I'm using GRASS6.4 in OSGEO and I would like to add a GRASS'Addon to my GRASS6.4. How can I do that? Best regards, Luisa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] GRASS sites file

2010-05-18 Thread Luisa Peña
Greetings I'm a ORFEO TOolbox user and I realized, through a few messages from Antonio and Hamish, that GRASS has an addon module, called i.pr, that performs a few classification methodologies. The i.pr.training uses a interactive (based on Xterminals) and a non-interactive based on (citing

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-18 Thread Glynn Clements
Martin Landa wrote: I've already replaced the SWIG bindings in 7.0 with the ctypesgen version. trying ctypesgen version I have problem with G_find_raster2() mapset = grass.G_find_raster2(elevation, ) print mapset WARNING: Illegal filename �pT�. Character not allowed. Odd. Can you

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-18 Thread Martin Landa
Hi, 2010/5/18 Glynn Clements gl...@gclements.plus.com: Odd. Can you try it under GDB and check what arguments G_find_raster2() is getting? Also, are you calling G_gisinit() first? sample script below --- #!/usr/bin/env python import os, sys from grass.lib import grass, raster from ctypes

Re: [GRASS-user] Importing Landsat images with different coordinates

2010-05-18 Thread Micha Silver
Jenny Turner wrote: Greetings Firman, but imagine that I have rasters in UTM for differente zones (e.g. huge countries like USA, etc). How can I produce an automatic importing tool that uses gdalwarp to project an image to WGS84 and import to GRASS? Using gdalwarp you don't have to specify

Re: [GRASS-user] US states and county layers?

2010-05-18 Thread Markus Neteler
On Tue, May 18, 2010 at 12:17 AM, Matthew Mulbrandon mulb...@hotmail.com wrote: Hello, I was looking for grass layer with US states and US counties. Can't find using google but it must be around somewhere. Does anyone know where I can download this info or is it back to converting shp files.

Re: [GRASS-user] Problem importing vector

2010-05-18 Thread Kurt Springs
OKay, That solved the problem Thanks. Kurt On May 18, 2010, at 4:32 AM, Markus Metz wrote: Kurt Springs wrote: I am having a problem importing a vector from a shape file. I am am running: v.in.ogr -o -e dsn=/Users/kurtsprings/grassdata/NED/03604870/03604870.shp output=steam_water