[GRASS-stats] Re: [R-sig-Geo] writing shapefiles / DBF files when input data contains NA

Roger Bivand Roger.Bivand at nhh.no
Thu Oct 9 06:26:48 EDT 2008


On Tue, 7 Oct 2008, Hamish wrote:

> Dylan:
>> It looks like the limiting factor in this equation is the
>> code used in v.out.ogr.
>
> maybe a silly question, but is a 3rd party format even needed here?
>
> $ ogrinfo --formats | grep -i grass
>  -> "GRASS" (readonly)
>
> at least in the one direction.
>

Right - if the user has the plugin installed, it handles null vector 
values correctly. However, up to rgdal 0.5-26, null vector values were 
broken both for reading and writing OGR, and v.out.ogr in 6.3 and 6.4 
doesn't handle them properly either. The plugin is autodetected and used 
if present in spgrass6, so from rgdal > 0.5-26, it will be the default for 
reading from GRASS.

Roger

>
> ?
>
> Hamish
>
>
>
>
>
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the grass-stats mailing list