Hi,

2009/10/17 Markus Metz <[email protected]>:

> It seems that GV_FORMAT_OGR refers now to both OGR layers linked with
> v.external and direct OGR access, but these two require different handling.
> Add new GV_FORMAT_OGR_DIRECT ? See temporary workaround in [1].

I am not sure if it's really needed, direct read/write access is valid
only for vector maps from 'OGR' mapset.

Map->format == GV_FORMAT_OGR && strcasecmp(Map->mapset, "ogr")

But probably GV_FORMAT_OGR_DIRECT would be better solution.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to