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

Radim Blazek blazek at itc.it
Thu May 20 12:30:17 EDT 2004


On Thursday 20 May 2004 16:19, Funkmeister wrote:
> 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?

Yes, it is one possibility, but it is better to import data to GRASS,
because topology for OGR data sources is not fully supported.

Radim

> 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