[GRASSLIST:514] Re: v.extract works from inside QGIS and not inside GRASS

Radim Blazek radim.blazek at gmail.com
Fri Mar 31 09:00:43 EST 2006


Try where='area>400'

Radim

On 3/31/06, Luca Casagrande <luca.casagrande at gmail.com> wrote:
> Hi Radim!
> I was working with v.extract and noticed this (taken from grass prompt..):
>
> [Starting v.extract from GRASS TOOLS in QGIS]
> [...]
> option: input=strada at Luca
> option: type=area
> option: layer=1
> option: where=area>400
> option: output=strada_400
> command: v.extract input=strada at Luca type=area layer=1 where=area>400
> output=strada_400 exitCode = 0
>
> The file was succesfull created and so the tab
>
> [Quit QGIS]
>
> GRASS 6.1.cvs (tevere):~ > g.remove vect=strada_400
> REMOVE [strada_400]
> GRASS 6.1.cvs (tevere):~ > v.extract input=strada at Luca type=area layer=1
> where=area>400 output=strada_400 Load cats from the database (table =
> strada, db = /home/geko/lavoro/gis/grass/dati/tevere/Luca/dbf/). DBMI-DBF
> driver error:
> SQL parser error in statement:
> SELECT cat FROM strada WHERE area
> Error in db_open_select_cursor()
>
> -1 cats loaded from the database
> Writing attributes ...
>
> The matter if that the same command gives error in GRASS but not in QGIS..
>
> Thx
> Luca
>
> --
> "E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise
> Pascal)."
>
> GENTOO-GIS Development Team
> jabber: casagrande at jabber.linux.it
>
>
>




More information about the grass-user mailing list