Re: [R-sig-Geo] readOGR and nonASCII character

2007-07-22 Thread Agustin Lobo
Roger, read.shapefile() and read.dbf() yields weird symbols for non-ascii characters in the input file also. Exporting to csv and reading in with read.csv(filename,sep=";") works fine (yes, it's odd, excel puts ";" instead of "," for CSV in spanish locale as "," could be used for decimal separa

[R-sig-Geo] Distmap Inconsistency?

2007-07-22 Thread Agustin Lobo
Dear list, I have 2 raster (im) objects (ai and escenai) which are identical except by 1 single pixel at position 356,777: > ai$v[356,777] [1] 255 > escenai$v[356,777] [1] NA I calculate distmap for both: refdist <- distmap(as.owin(ai)) adist630 <- distmap(as.owin(escenai)) As the only diffe