Re: [GRASS-user] v.dissolve and r.cost problems

2009-04-03 Thread Markus Neteler
On Thu, Apr 2, 2009 at 6:37 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 02/04/09 18:12, Moritz Lennert wrote: On 02/04/09 16:58, Markus Neteler wrote: On Thu, Apr 2, 2009 at 4:51 PM, Moritz Lennert On 02/04/09 16:00, Markus Neteler wrote: On Thu, Apr 2, 2009 at 1:43 PM, Markus

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

2009-04-03 Thread Moritz Lennert
On 02/04/09 22:22, Craig Leat wrote: I am receiving the following error when patching two point vector maps: v.patch -e in=SBC1,SBC2 out=SBC_0607 Patching vector map s...@craig... DBMI-SQLite driver error: Error in sqlite3_step(): SQL logic error or missing database ERROR: Cannot insert new

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

2009-04-03 Thread Moritz Lennert
On 03/04/09 00:23, Vishal Mehta wrote: Hello all, I am better at GRASS raster capabilities than with GRASS vector handling, so I am writing to get your help. What I want to do is this: 1. I will have one vector dataset of watersheds. Each record is a polygon, an individual watershed. There

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

2009-04-03 Thread Craig Leat
Moritz wrote: What does v.db.connect -p show for each of the two maps ? v.db.connect -p map=SBC1 Vector map s...@craig is connected by: layer 1 table SBC1 in database /home/craig/GIS/grassdata/uMDM_ll/craig/sqlite.db through driver sqlite with key cat v.db.connect -p map=SBC2 Vector map

Re: [GRASS-user] meaning of r.param.scale features colours?

2009-04-03 Thread Markus Neteler
On Fri, Apr 3, 2009 at 12:28 AM, Paolo Cavallini cavall...@faunalia.it wrote: Hi all. I cannot find the meaning of the colours (values) produced by r.param.scale features; it is quite obvious that reds are peaks, green saddles, but I cannot find a full description. Wouldn't it be good to put

Re: [GRASS-user] v.dissolve and r.cost problems

2009-04-03 Thread Moritz Lennert
On 03/04/09 08:43, Markus Neteler wrote: On Thu, Apr 2, 2009 at 6:37 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 02/04/09 18:12, Moritz Lennert wrote: On 02/04/09 16:58, Markus Neteler wrote: On Thu, Apr 2, 2009 at 4:51 PM, Moritz Lennert On 02/04/09 16:00, Markus Neteler

Re: [GRASS-user] v.dissolve and r.cost problems

2009-04-03 Thread Markus Neteler
On Fri, Apr 3, 2009 at 9:20 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: ... Ok, try the attached diff to grass6 head. It implements the same behaviour for all data types: null values are sorted to the end. Perfect, this works. Please submit. Markus

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

2009-04-03 Thread Moritz Lennert
On 03/04/09 09:10, Craig Leat wrote: Moritz wrote: What does v.db.connect -p show for each of the two maps ? v.db.connect -p map=SBC1 Vector map s...@craig is connected by: layer 1 table SBC1 in database /home/craig/GIS/grassdata/uMDM_ll/craig/sqlite.db through driver sqlite with key cat

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

2009-04-03 Thread Craig Leat
Moritz, Thanks for the suggestions. I think I've got something: Craig Leat wrote: I am receiving the following error when patching two point vector maps: v.patch -e in=SBC1,SBC2 out=SBC_0607 Patching vector map s...@craig... DBMI-SQLite driver error: Error in sqlite3_step(): SQL logic

Re: [GRASS-user] v.dissolve and r.cost problems

2009-04-03 Thread Moritz Lennert
On 03/04/09 09:31, Markus Neteler wrote: On Fri, Apr 3, 2009 at 9:20 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: ... Ok, try the attached diff to grass6 head. It implements the same behaviour for all data types: null values are sorted to the end. Perfect, this works. Please

Re: [GRASS-user] meaning of r.param.scale features colours?

2009-04-03 Thread Hamish
I cannot find the meaning of the colours (values) produced by r.param.scale features; G r.category elev.features 0 1 Planar 2 Pit 3 Channel 4 Pass (saddle) 5 Ridge 6 Peak and G d.legend elev.features Hamish

Re: [GRASS-user] v.dissolve and r.cost problems

2009-04-03 Thread Markus Neteler
Paolo, On Fri, Apr 3, 2009 at 10:04 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 03/04/09 09:31, Markus Neteler wrote: On Fri, Apr 3, 2009 at 9:20 AM, Moritz Lennert ... It implements the same behaviour for all data types: null values are sorted to the end. Perfect, this works.

Re: [GRASS-user] Why v.extract produces columns of type CHARACTER?

2009-04-03 Thread Markus Neteler
On Wed, Jan 14, 2009 at 4:59 AM, Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de wrote: The columns produces by v.extract are of type CHARACTER and v.dissolve does not like this. It's an old issue. Just for the record: Fixed today (it liked it already unless and empty char field was

Re: [GRASS-user] problems with i.rectify

2009-04-03 Thread Martina Schäfer
Hi again! I installed GRASS 6.4 and first I got the same error. Then, I tried with defining a new group and subgroup in the XY mapset (not using the one that is created when importing) and with that it worked!! However, I also tried using wxpython, which looks neat, but there I get the error

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

2009-04-03 Thread Moritz Lennert
On 03/04/09 10:03, Craig Leat wrote: Moritz, Thanks for the suggestions. I think I've got something: Craig Leat wrote: I am receiving the following error when patching two point vector maps: v.patch -e in=SBC1,SBC2 out=SBC_0607 Patching vector map s...@craig... DBMI-SQLite driver error: Error

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

2009-04-03 Thread Markus Neteler
On Fri, Apr 3, 2009 at 10:59 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 03/04/09 10:03, Craig Leat wrote: ... Can I change the length of columns 2 and 3 in SBC1 and SBC2 or maybe I can copy the columns to new columns with the correct length? AFAIK, sqlite does not support

Re: [GRASS-user] meaning of r.param.scale features colours?

2009-04-03 Thread Paolo Cavallini
Hamish ha scritto: G r.category elev.features Thanks a lot. Perhaps this info could be put in the man page? All the best. -- Paolo Cavallini: http://faunalia.it/pc ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] v.dissolve and r.cost problems

2009-04-03 Thread Paolo Cavallini
Markus Neteler ha scritto: now it dissolves the map as expected. Also backported to 6.3 if that helps for you. Thanks a lot to all! -- Paolo Cavallini: http://faunalia.it/pc ___ grass-user mailing list grass-user@lists.osgeo.org

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

2009-04-03 Thread Craig Leat
I have a problem with v.db.dropcol, it's changing the length of columns. db.describe -c table=SBC1 driver=sqlite database=/home/craig/GIS/grassdata/uMDM_ll/craig/sqlite.db ncols: 6 nrows: 197842 Column 1: cat:INTEGER:20 Column 2: CLASS_NAME:CHARACTER:1 Column 3: LM:CHARACTER:1 Column 4:

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

2009-04-03 Thread Moritz Lennert
On 03/04/09 11:34, Craig Leat wrote: I have a problem with v.db.dropcol, it's changing the length of columns. db.describe -c table=SBC1 driver=sqlite database=/home/craig/GIS/grassdata/uMDM_ll/craig/sqlite.db ncols: 6 nrows: 197842 Column 1: cat:INTEGER:20 Column 2: CLASS_NAME:CHARACTER:1

[GRASS-user] Dem extraction

2009-04-03 Thread Raphael Saldanha
Hi! I would like to know how can I extract a DEM from an Ikonos Stereo Image with control points. I'm completely newbie with this... What books, articles, materials I must read? And can GRASS do this? King regards, Raphael Saldanha ___ grass-user

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

2009-04-03 Thread Craig Leat
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.html#q13 v.info --q -c

[GRASS-user] Please contribute to Gallery @ OSGeo

2009-04-03 Thread Markus Neteler
Hi, please upload your cool FOSS4G screenshots to: http://gallery.osgeo.org/ GRASS needs to be well represented of course :) Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

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

2009-04-03 Thread Vishal Mehta
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 while the script is running that include