[GRASS-user] Re: v.external ogr error building topology

G. Allegri giohappy at gmail.com
Mon Dec 17 18:44:13 EST 2007


I can see it's something with this lines of code:

 /* test layer capabilities */
    if ( !OGR_L_TestCapability ( Map->fInfo.ogr.layer, OLCRandomRead ) ) {
	G_warning ("Random read is not supported by OGR for this layer,
cannot build support." );
	return 0;
    }

inside grass6/lib/Vector/Vlib/build_ogr.c, which seems to be the same
since Wed Jun 14 21:32:05 2006 [1]

Giovanni

[1] http://freegis.org/cgi-bin/viewcvs.cgi/grass6/lib/vector/Vlib/build_ogr.c

2007/12/18, G. Allegri <giohappy at gmail.com>:
> I'm trying to use v.external with a Postgis point layer, but I get
>
> "Random read is not supported by OGR for this layer, cannot build support."
>
> I can view the geometries but the topology has not been created (and
> no connection to db is present).
> I know it's a metioned bug [1], maybe due to the Postgis OGR driver. I
> was asking if it's been investigated and/or solved...
>
> I'm using gdal 1.4.2, grass 6.2.3, potgresql 8.2 + postgis 1.2.1.
> I'm working on Kubuntu 7.10
>
> Thanks,
> Giovanni
>
>
> [1] http://lists.osgeo.org/pipermail/grass-user/2007-August/040707.html
>


More information about the grass-user mailing list