[GRASS5] Can't get d.vect to display my data from PostGRASS

Funkmeister funkmeister at lynxseismicdata.com
Thu May 20 10:19:25 EDT 2004


Thank you Radim, I did not see that posting previously.

What would be the best approach for using a PostGIS database with 
GRASS? Import the shp file with shp2pgsql and then link to the PostGIS 
database as described in your posting?

Thanks again,
Craig

On 19-May-04, at 11:38 PM, Radim Blazek wrote:

> On Wednesday 19 May 2004 23:42, you wrote:
>> Since posting the last message, I executed a v.build on the map. Now
>> all the ids are 0 (instead of 301) and I get a bus error from d.vect. 
>> I
>> am not very familar with the GRASS code, but it appears that
>> Line->offset is always 0 in V2_read_line_post():
>>    Line = Map->plus.Line[line];
>>    return Vect__Read_line_post (Map, line_p, line_c, Line->offset);
>>
>> Could this mean that the files in the GRASS database are not built
>> properly? Or have i screwed something up somewhere?
>>
>> Craig
>>
>> On 19-May-04, at 1:09 PM, Funkmeister wrote:
>> <snip>
>>
>>> Note the id=301.
>
> PostGIS support was removed from GRASS 5.7.
> http://grass.itc.it/pipermail/grassuser/2004-May/025539.html
>
> Radim
>




More information about the grass-dev mailing list