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

Garbin, David david.garbin at noblis.org
Mon Aug 6 15:51:37 EDT 2007

We will pursue this route here at Noblis where Spencer worked over the
summer.  Our folks who installed the gdal libraries will be in touch,
probably next week as we will be out of town this week.  Thanks for your
quick response.

David A. Garbin 
Senior Fellow
3150 Fairview Park Dr S
Falls Church, VA 22042
Phone:  +1 703.610.2050
Cell:     +1 703.795.6010
Email:   david.garbin at noblis.org

-----Original Message-----
From: grassuser-bounces at grass.itc.it
[mailto:grassuser-bounces at grass.itc.it] On Behalf Of Frank Warmerdam
Sent: Monday, August 06, 2007 4:00 PM
To: Spencer Fogg
Cc: grassuser at grass.itc.it
Subject: Re: [GRASS-user] "Random read is not supported by OGR for this
layer, cannot build support."

Spencer Fogg wrote:
> 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
> I'm working with shapefiles, and want to display them in GRASS. Some
> 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
> created using shp2pgsql. When I run v.external, however, I get a
> 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.


On review of the OGR PostGIS driver I think this is a bug in the
"TestCapabilities" method.  Are you in a position to rebuild your GDAL
a patch?  I'd appreciate your filing a bug against GDAL/OGR for this
and we can pursue the discussion there.


Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo,

grassuser mailing list
grassuser at grass.itc.it

More information about the grass-user mailing list