On 15/06/2010 09:51, Sandile Gumede wrote:
if I run r.info -g rainfall, I get:

north=-33.679583
south=-34.34875
east=19.17125
west=18.29875

and if I run v.info -g catchments, I get:

north=-33.6795831
south=-34.3487498
east=19.1712501
west=18.2987501
top=0.000000
bottom=0.000000

OK, now we see that the regions are identical.
I'd like to see also the full output of
r.info rainfall
(it will give the max-min values of the raster) and also the output of
gdalinfo rainfall.tif (the original tiff file)
Perhaps then we can understand where the -NULL values are from?
 


2010/6/13 Micha Silver <[email protected]>
(back on the ML)

Hi Sandile:
The error is popping up, apparently, because of the strange "-NULL" value. What is -NULL??
Can you display the rainfall raster? Does it look OK (some value everywhere?)

Perhaps run a check on the original rainfall.tif with gdalinfo to see what range of values it is showing? Then do r.info rainfall to show what range the GRASS raster has.

--
Micha


On 13/06/2010 12:13, Sandile Gumede wrote:
Hi,

Whats wrong with the rainfall data (rainfall.tif) if you get a DBMI-DBF driver error when running v.rast.stats vector=catchments raster=rainfall colprefix=precip?

SQL parser error: syntax error, unexpected NULL_VALUE processing 'NULL'
in statement:
UPDATE catchments SET precip_cf_=-NULL WHERE cat=2
Error in db_execute_immediate()

ERROR: Error while executing: 'UPDATE catchments SET precip_cf_=-NULL WHERE
cat=2'

This mail was received via Mail-SeCure System.


-- 
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918
    



--
Kind Regards
TS Gumede
CSIR, Meraka Institute
072 258 1650


This mail was received via Mail-SeCure System.


-- 
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to