[GRASS-dev] OGR write access
markus.metz.giswork at googlemail.com
Sat Oct 17 11:27:54 EDT 2009
Martin Landa wrote:
> 2009/10/17 Markus Metz <markus.metz.giswork at googlemail.com>:
>> 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 .
> 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.
Also to avoid rewriting existing code that uses GV_FORMAT_OGR for
v.external linked vectors, see e.g. [1,2].
More information about the grass-dev