[GRASS-dev] OGR write access

Martin Landa landa.martin at gmail.com
Sat Oct 17 11:16:00 EDT 2009


Hi,

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


More information about the grass-dev mailing list