[GRASS-user] r.terraflow: what's wrong?

2009-02-27 Thread FAROUX STEPHANIE
Hello, I tried this command: r.terraflow.short -s elev=world_dem4 filled=world_dem4_filled dir=world_dem4_mfdir swatershed=world_dem4_watershed accumulation=world_dem4_accu tci=world_dem4_tci memory=1000 STREAM_DIR=/home/faroux/ --overwrite (world_dem4 is the gtopo30 dem) the first filled,

[GRASS-user] categories in raster map

2009-02-26 Thread FAROUX STEPHANIE
Hello, I see the function r.cats which allows to read categories of a raster map, but how can i define these attributes? Should i pass by a vector map? In the database menu, it doesn't seem possible to add a table for a raster map. Thank you Stéphanie

Re: [GRASS-user] categories in raster map

2009-02-26 Thread FAROUX STEPHANIE
Moritz Lennert wrote: On 26/02/09 11:47, FAROUX STEPHANIE wrote: Hello, I see the function r.cats which allows to read categories of a raster map, but how can i define these attributes? Should i pass by a vector map? In the database menu, it doesn't seem possible to add a table for a raster

Re: [GRASS-user] categories in raster map

2009-02-26 Thread FAROUX STEPHANIE
FAROUX STEPHANIE wrote: Moritz Lennert wrote: On 26/02/09 11:47, FAROUX STEPHANIE wrote: Hello, I see the function r.cats which allows to read categories of a raster map, but how can i define these attributes? Should i pass by a vector map? In the database menu, it doesn't seem possible

Re: [GRASS-user] categories in raster map

2009-02-26 Thread FAROUX STEPHANIE
Moritz Lennert wrote: On 26/02/09 13:34, FAROUX STEPHANIE wrote: FAROUX STEPHANIE wrote: Moritz Lennert wrote: On 26/02/09 11:47, FAROUX STEPHANIE wrote: Hello, I see the function r.cats which allows to read categories of a raster map, but how can i define these attributes? Should i pass

Re: [GRASS-user] problem with export of raster data

2009-02-24 Thread FAROUX STEPHANIE
Markus Neteler wrote: On Mon, Feb 23, 2009 at 12:15 PM, FAROUX STEPHANIE stephanie.far...@meteo.fr wrote: Hello I try to export a raster integer map whose values range from - to 5880712. How can i specify that i want integer 4 bytes and not integer 2 bytes (it makes integer 2 bytes

[GRASS-user] problem with export of raster data

2009-02-23 Thread FAROUX STEPHANIE
Hello I try to export a raster integer map whose values range from - to 5880712. How can i specify that i want integer 4 bytes and not integer 2 bytes (it makes integer 2 bytes)?? Thank you. Stéphanie ___ grass-user mailing list

Re: [GRASS-user] v.digit

2009-02-20 Thread FAROUX STEPHANIE
Hamish wrote: stephanie.faroux wrote: i do submit and i have the error: Cannot update table: DBMI-DBF driver error: SQL parser error in statement: update australia set where cat = 4 Error in db_execute_immediate() update australia set where cat = 4 is missing something between set

Re: [GRASS-user] v.digit

2009-02-20 Thread FAROUX STEPHANIE
Markus Neteler wrote: On Thu, Feb 19, 2009 at 6:14 PM, FAROUX STEPHANIE stephanie.far...@meteo.fr wrote: Nikos Alexandris wrote: And... what exactly does db.connect -p say? driver:dbf database:$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/australia2.dbf schema:(null) group:toto

Re: [GRASS-user] v.digit

2009-02-20 Thread FAROUX STEPHANIE
Nikos Alexandris wrote: Stephanie: now i have a little problem: i try to make a outline and i have difficulty to close it. My map is global at 1/120° resolution; maybe it's linked to the big distances? I changed the threshold in the settings but it doesn't seem to be enough What

[GRASS-user] to define a region which is not rectangular

2009-02-19 Thread FAROUX STEPHANIE
Hi, In my raster map sea pixels and missing data have the same null value. I'd like to separate the two but i don't have a sea/land mask. Missing data are concentrated in some areas. How can i do it? I thought to define regions in which missing data would be gathered but if i only use the

[GRASS-user] to link two raster maps

2009-02-19 Thread FAROUX STEPHANIE
Hi, Is it possible to link two raster maps in order to be able to get both pixels values by clicking on points with the mouse? Thank you Stéphanie ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] v.digit

2009-02-19 Thread FAROUX STEPHANIE
Hello, I try v.digit; i want to define a new outline. When i want to close the outline, it opens a window form: attributes; new record was created. Assume data encoding as: [choice between utf-8,ascii,iso88859-1,koi8-t]; i do submit and i have the error: Cannot update table: DBMI-DBF driver

Re: [GRASS-user] v.digit

2009-02-19 Thread FAROUX STEPHANIE
Nikos Alexandris wrote: On Thu, 2009-02-19 at 17:28 +0100, FAROUX STEPHANIE wrote: Hello, I try v.digit; i want to define a new outline. When i want to close the outline, it opens a window form: attributes; new record was created. Assume data encoding as: [choice between utf-8,ascii

Re: [GRASS-user] v.digit

2009-02-19 Thread FAROUX STEPHANIE
Nikos Alexandris wrote: [...] Yes i forgot to connect but it isn't enough to work... And... what exactly does db.connect -p say? driver:dbf database:$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/australia2.dbf schema:(null) group:toto I destroyed my vector layer and tried to make a new

Re: [GRASS-user] v.digit

2009-02-19 Thread FAROUX STEPHANIE
Martin Landa wrote: Hi, 2009/2/19 FAROUX STEPHANIE stephanie.far...@meteo.fr: [...] group:toto What is group 'toto'? Martin nothing ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass

[GRASS-user] error at launching GRASS

2009-02-19 Thread FAROUX STEPHANIE
aoutch When i try to open grass, it doesn't work and i have the message: D2/3: G__read_Cell_head D2/3: G__read_Cell_head_array D3/3: region item: proj: 3 D3/3: region item: zone: 0 D3/3: region item: north: 90N D3/3: region item: south: 90S D3/3: region item: east:

Re: [GRASS-user] v.generalize for area boundaries?

2009-02-17 Thread FAROUX STEPHANIE
Hi, Is it possible with grass to replace missing values in a map by surrounding values by a sort of interpolation, knowing that sometimes many missing values are numerous one near another? If yes, how? Thank you very much Stéphanie ___ grass-user

[GRASS-user] replacing missing data in a map

2009-02-17 Thread FAROUX STEPHANIE
Sorry i forgot to change the subject. FAROUX STEPHANIE wrote: Hi, Is it possible with grass to replace missing values in a map by surrounding values by a sort of interpolation, knowing that sometimes many missing values are numerous one near another? If yes, how? Thank you very much

Re: [GRASS-user] problem with reprojection of Hydro1k data

2009-02-16 Thread FAROUX STEPHANIE
Thank you for your answer Markus. I didn't read the note in the r.proj page. I will try again and then we will see. Stéphanie Markus Neteler wrote: Stéphanie, On Fri, Feb 13, 2009 at 2:18 PM, FAROUX STEPHANIE stephanie.far...@meteo.fr wrote: Hello, First i'd like to know if anybody

Re: [GRASS-user] problem with reprojection of Hydro1k data

2009-02-16 Thread FAROUX STEPHANIE
I did it; results are not exactly the same but it's not enough because gaps between continents are still more important. FAROUX STEPHANIE wrote: Thank you for your answer Markus. I didn't read the note in the r.proj page. I will try again and then we will see. Stéphanie Markus Neteler wrote

Re: [GRASS-user] problem with reprojection of Hydro1k data

2009-02-16 Thread FAROUX STEPHANIE
I try the v.in.region + v.proj + g.region + r.proj process (explained in the r.proj page) with a region whose reprojection doesn't allow to get a closed boarder: the projection of the raster doesn't work. Is it normal? Thank you FAROUX STEPHANIE wrote: I did it; results are not exactly

[GRASS-user] problem with reprojection of Hydro1k data

2009-02-13 Thread FAROUX STEPHANIE
Hello, First i'd like to know if anybody already used the Hydro1k data from USGS? I try to make global maps of parameters from continental ones. The initial projection is lambert azimutal equal area, with different latitude and longitude of origins for different continents. I defined one