[GRASS-user] Import sqlite table using db.in.ogr

Moritz Lennert mlennert at club.worldonline.be
Wed Aug 3 08:42:26 PDT 2016


On 03/08/16 17:31, Markus Neteler wrote:
> Hi,
>
> note the differences:
>
> On Wed, Aug 3, 2016 at 3:52 PM, Moritz Lennert
> <mlennert at club.worldonline.be <mailto:mlennert at club.worldonline.be>> wrote:
>
>     On 03/08/16 12:35, Johannes Radinger wrote:
>
>         ...
>         db.in.ogr
>         input=/media/grassgis_data/GRASS_locations/nc_spm_08_grass7/PERMANENT/sqlite/sqlite.db
>
>
> -->  nc_spm_08_grass7
>
>
>
>
>     v.db.connect -p streams
>     Vector map <streams> is connected by:
>     layer <1/streams> table <streams> in database
>     </data/GRASS/DATA7/nc_spm_08/PERMANENT/dbf/> through driver <dbf>
>     with key <cat>
>
>
> -->  nc_spm_08
>
> The latter is for G6, not G7... just to avoid confusion.


Well, it's my set for GRASS7, but I guess somewhen way back in time I 
must have taken the GRASS6 version and run v.build.all in it to use it 
in GRASS7... ;-)

Anyhow, Johannes: what does 'v.db.connect -p streams' give you ?

Moritz


More information about the grass-user mailing list