[GRASSLIST:4152] Re: v.in.shape.pg won't import all the shapes.

Markus Neteler neteler at itc.it
Thu Jul 25 11:54:13 EDT 2002


On Sat, Jul 06, 2002 at 09:22:26PM -0400, Ben Logan wrote:
> I am trying to import some shapefiles with v.in.shape.pg, and the

Hi,

v.in.shape.pg is very outdated and disabled from the standard
compilation now.
Please use
v.in.shape + pg.in.dbf 
now (v.in.shape from pre4 or pre5).

Markus

> PostgreSQL part seems to be working fine.  However, the resulting
> vector file only contains a few shapes from the shapefile.  One
> shapefile was a county boundary with only one shape (which was
> imported), but all parts of the shape weren't there--the level of
> detail was very low.
> 
> Another shapefile contained several dozen lines, but only 3 were
> imported.  This resulted in a whole bunch of "Failed to attach an
> attribute ... to a line." messages since there were lots of attributes
> but only 3 lines imported.
> 
> I tried setting 'snapdist' to 0, and fiddling with 'scale,' but to no
> avail.  v.in.shape imports the shapefiles okay.
> 
> Thanks,
> Ben



More information about the grass-user mailing list