[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
Noblis
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
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.

Spencer,

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

   http://trac.osgeo.org/gdal/

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,
http://osgeo.org

_______________________________________________
grassuser mailing list
grassuser at grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser




More information about the grass-user mailing list