[GRASS-dev] v.external with PostGIS and categories issue

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Thu May 15 22:48:18 PDT 2014


Hi again,

I saw some sentences were a bit incomplete, sorry for that.

The point is:
d.vect mytable_grass where="id=21" returns the record where the attribute "id" has the value 20, cat has value 18 and the internal GRASS id has the value 19 and 

Furthermore:
d.vect mytable_grass where="name='foo'" returns the record with name = 'bar', which has id 19 (while record foo had id 20).

And finally,
d.vect mytable_grass where="id=1" returns a record with id 1, but it does not have any attributes attached to it.

I am working with GRASS 7.0 (r5820, on Ubuntu 12.04 with PostGIS 2.1.2dev), so maybe this issue is already fixed in trunk?

Cheers
Stefan


More information about the grass-dev mailing list