[Gfoss] attributi ed errori di "topologia"

Markus Neteler neteler a osgeo.org
Mar 7 Feb 2012 10:49:14 CET


On Tue, Feb 7, 2012 at 10:32 AM, Sandro Santilli <strk a keybit.net> wrote:
> On Tue, Feb 07, 2012 at 10:23:56AM +0100, marco.donnini a tiscali.it wrote:
>
>> v.db.update map=Geo_Francia_prova a Alpi layer=1
>> column=LITO value=cc where=urn_litho1='Limestone'
>> DBMI-SQLite driver
>> error:
>> Error in sqlite3_prepare():
>> no such column: Limestone
>>
>> ERRORE:
>> Error while executing: 'UPDATE Geo_Francia_prova SET LITO='cc'
>>
>> WHERE urn_litho1=Limestone
>>         '
>
> E' un'altro errore di apostrofi (e non grammaticale).
> La shell si e' mangiata il single-quote attorno a 'Limestone'.
>
> Prova quotandole:
>
>  ... where=urn_litho1=\'Limestone\'
>

Qualche esempio si trova anche qui:
http://grass.osgeo.org/grass64/manuals/html64_user/sql.html

ciao
Markus


Maggiori informazioni sulla lista Gfoss