Re: [GRASS-user] errors in r.drain (develbranch)

2009-04-06 Thread Markus Neteler
2009/4/7 Colin Nielsen : > This might be an error with my updates > (http://trac.osgeo.org/grass/changeset/36351). I'm not sure why there ah, so it was on develbranch_6/ - I didn't catch that. > wasn't any error reported for me or others, but I see that there is an > inconsistency in the code (my

Re: [GRASS-user] errors in r.drain (develbranch)

2009-04-06 Thread Guâno
Yes, that fixed it. many thanks Carlos 2009/4/6 Colin Nielsen : > This might be an error with my updates > (http://trac.osgeo.org/grass/changeset/36351). I'm not sure why there > wasn't any error reported for me or others, but I see that there is an > inconsistency in the code (my addition at

Re: [GRASS-user] errors in r.drain (develbranch)

2009-04-06 Thread Colin Nielsen
This might be an error with my updates (http://trac.osgeo.org/grass/changeset/36351). I'm not sure why there wasn't any error reported for me or others, but I see that there is an inconsistency in the code (my addition at 387 compared to lines 373 and 374). 387 dir_fd = open(tempfile3,

[GRASS-user] v.in.db accept DECIMAL'S?

2009-04-06 Thread Jhon Ortiz
Hi all, I'm trying to create a new vector (points) map from a mysql database table v.in.db --overwrite table=data_wells driver=mysql database="host=localhost,dbname=Eoceno" x=Este y=Norte z=Salinity_Index key=Cat output=Pozos but I get this error: WARNING: MySQL driver: column 'Salinity_Inde

Re: [GRASS-user] errors in r.drain (develbranch)

2009-04-06 Thread Guâno
>> - >> Errors in: >> /home/guano/pessoal/tmp_install/gis/grass6_devel/raster/r.drain > > (that's indeed grass7_devel/raster/r.drain/, right?) > It's develbranch 6 (GRASS 6.5) svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6 grass6_devel ... >> guano[grass6_devel]$ cd rast

[GRASS-user] Off Topic: Importing GRASS tiffs to GMT

2009-04-06 Thread Patton, Eric
I'll post here before checking on the GMT list; hopefully I can get some answers from a GRASS/GMT guru... I've exported a tiff from GRASS using r.out.tiff -t, producing a worldfile in the process. I then converted the tiff to an 8-bit Sun raster image using Imagemagick's convert utility (GMT wi

[GRASS-user] Re: GRASS & R : g.region command not found

2009-04-06 Thread Roger Bivand
Milton Cezar Ribeiro gmail.com> writes: > > > Dear all, >   > I am running grass65 under MSYS under Vista. > After launch MSYS  / GRASS / R, I get the information about > mapset without problem. But as my raster image are very large, > R can support the file. >   > But when I try run system("g

Re: [GRASS-user] errors in r.drain (develbranch)

2009-04-06 Thread Markus Neteler
2009/4/6 Carlos "Guâno" Grohmann : > Hello all, > > after a full SVN of develbranch, I'm getting errors in r.drain: > > - > Errors in: > /home/guano/pessoal/tmp_install/gis/grass6_devel/raster/r.drain (that's indeed grass7_devel/raster/r.drain/, right?) ... > guano[grass6_devel]$ cd raster/r.drai

[GRASS-user] Re: GRASS & R : g.region command not found

2009-04-06 Thread Milton Cezar Ribeiro
Oops, I forgot some important information: =By GRASS side > set !::='::\' !C:='C:\' ALLUSERSPROFILE='C:\ProgramData' APPDATA='C:\Users\famiglia\AppData\Roaming' ARCGISHOME='C:\Program Files (x86)\ArcGIS\' BASH=/bin/sh BASH_VERSINFO=([0]="2" [1]="04" [2]="0" [3]="1" [4]="release" [5

[GRASS-user] GRASS & R : g.region command not found

2009-04-06 Thread Milton Cezar Ribeiro
Dear all, I am running grass65 under MSYS under Vista. After launch MSYS / GRASS / R, I get the information about mapset without problem. But as my raster image are very large, R can support the file. So I decided to change the extent of the GRASS project using R to control the new extent (in fac

[GRASS-user] link image or application in DB sqlite

2009-04-06 Thread Gabriele N.
Hi to everyone. I have a vector of points and I want to connect each point to a photo and a link (to open a photo or a web page with the browser firefox). I have the attributes in SQLite. With sqlite manager I added a column 'image' of type blob. I uploaded an image but does not work. When I us

[GRASS-user] errors in r.drain (develbranch)

2009-04-06 Thread Guâno
Hello all, after a full SVN of develbranch, I'm getting errors in r.drain: - Errors in: /home/guano/pessoal/tmp_install/gis/grass6_devel/raster/r.drain -- In case of errors please change into the directory with error and run 'make'. If you get multiple errors, you need to deal with them in the or

Re: [GRASS-user] azimuth of lines with v.to.db?

2009-04-06 Thread Guâno
Hello. I did a full up of my develbranch but couldn't use the azimuth option: > v.to.db map=lineamentos type=line option=azimuth units=degrees columns=azimute ERROR: value out of range for parameter Legal range: cat,area,compact,fd,perimeter,length,count,coor,start,end,sides,query,slo

Re: [GRASS-user] Error in sqlite3_step()

2009-04-06 Thread Craig Leat
Dylan: > Yeah. I have recently noticed this type of behavior after switching to > sqlite. I was unable to patch two vectors (and att tables) after > defining new columns of type varchar(20). I re-made the columns as > 'text' and v.patch worked as expected. Maybe we need some special, > internal con

Re: [GRASS-user] Grass and Postgre limitation (if any)

2009-04-06 Thread Jarek Jasiewicz
I still don't know about the limit but I reached the number of 1000 for mapsets and 1 for tables which is enaugh for me Thanks for useful hint Jarek Moritz Lennert pisze: On 05/04/09 19:10, Jarek Jasiewicz wrote: Hi I have short question. I'm prepraring to create huge dataset, where dat

Re: [GRASS-user] Error in sqlite3_step()

2009-04-06 Thread Dylan Beaudette
Yeah. I have recently noticed this type of behavior after switching to sqlite. I was unable to patch two vectors (and att tables) after defining new columns of type varchar(20). I re-made the columns as 'text' and v.patch worked as expected. Maybe we need some special, internal conversions (varchar

[GRASS-user] error on scripting

2009-04-06 Thread Alberto Pettazzi
Dear All, I wrote a script that reads each day 48 hdf5 files and depicts their content on a raster. the script structure is the following: read file 1 open grass depict raster 1 exit grass read file 2 open grass depict raster 2 exit grass and so on Everything seems to work fine, but some

Re: [GRASS-user] Error in sqlite3_step()

2009-04-06 Thread Moritz Lennert
On 06/04/09 11:41, Moritz Lennert wrote: On 03/04/09 17:06, Craig Leat wrote: Moritz Lennert wrote: Don't have time to look into this now, but it must be a problem in the special sqlite implementation in that script: if [ "$driver" = "sqlite" ] ; then #echo "Using special trick for SQLi

Re: [GRASS-user] Grass and Postgre limitation (if any)

2009-04-06 Thread Moritz Lennert
On 05/04/09 19:10, Jarek Jasiewicz wrote: Hi I have short question. I'm prepraring to create huge dataset, where data for different regions will be stored in different mapset but with the same structure of data (names of files and so on). The number of planned mapset is about 200-230, with a

Re: [GRASS-user] displaying many thematic maps from one vector dataset

2009-04-06 Thread Moritz Lennert
On 04/04/09 01:13, Vishal Mehta wrote: A couple of strange behaviors with a test vector dataset whose columns are population projections every 5 years: I ran the following script below but: 1. I see it working ok on the x0 monitor; but the output png files are all blank.. 2. and i get messages

Re: [GRASS-user] Error in sqlite3_step()

2009-04-06 Thread Moritz Lennert
On 03/04/09 17:06, Craig Leat wrote: Moritz Lennert wrote: Don't have time to look into this now, but it must be a problem in the special sqlite implementation in that script: if [ "$driver" = "sqlite" ] ; then #echo "Using special trick for SQLite" # http://www.sqlite.org/faq.htm