[GRASS-stats] readVECT6 problem fo importing null data

Jarosław Jasiewicz jarekj at amu.edu.pl
Tue Nov 27 07:03:00 EST 2007


Roger Bivand pisze:
> On Mon, 26 Nov 2007, Jarek Jasiewicz wrote:
>
>> Dear Collages!
>>
>> I found some Issue (seems problematic) with readVECT6 (there are all 
>> commands I used, complete my answer)
>>
>> I have vector file attached table (pgSQL) with null values both for 
>> int4 and char columns (example table):
>> I import the table via RdbiPgSQL
>
> Dear Jarek,
>
> Could you please try readOGR() directly from the PostgreSQL/PostGIS 
> source? This will remove the imposition of the intermediary DBF 
> format, and if it succeeds provides a feasible solution, and if it 
> doesn't, suggests that OGR drivers have problems with missing value 
> handling in some implementations (in GRASS and in rgdal, where 
> v.in.ogr and readOGR() use the same basic approach, as do v.out.ogr 
> and writeOGR()).
>
> Roger
>
>


So the problem is in r.out.ogr?. There are some other methods as you 
describe. So I solved problem easyly. I rather point out issue, maybe 
for some other R and GRASS users.
Best ragards

Jarek


More information about the grass-stats mailing list