[GRASS-user] “Random read is not supported by OGR for this layer, cannot build support.”

Spencer Fogg sfogg25 at gmail.com
Mon Aug 6 12:49:51 EDT 2007


Hi, GRASS users! I am a novice, and have only been using this program for a
couple of months now. I'm having a problem using GRASS with postgres for a
project at work, and I was wondering if you guys could help.



I'm working with shapefiles, and want to display them in GRASS. Some of
these files are large enough to crash GRASS while cleaning, and even more
take longer to draw and redraw than I'd like. To avoid this, I'm attempting
to use v.external to connect to the files in a postGIS table, created using
shp2pgsql. When I run v.external, however, I get a strange warning:
"Random read
is not supported by OGR for this layer, cannot build support." Then when I
try to display the created vector layer, GRASS crashes.



In the GRASS documentation, it mentions adding a unique ID column to the
postgres table, but with or without the column the same warning occurs, and
the program still crashes. I'm kinda stumped for what to do next, and so I
turn to you all for advice. Have you received this warning/crash yourselves,
and if so, how was it resolved? Thank you very much.

-- 
                                              -Spencer Fogg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20070806/c5e18a08/attachment.html


More information about the grass-user mailing list