[R-sig-Geo] Problems Plotting GeoTIFF

Roger Bivand Roger.Bivand at nhh.no
Tue Jul 19 11:10:15 CEST 2011


On Sat, 16 Jul 2011, Edzer Pebesma wrote:

> Although I can't reproduce the problem on my Ubuntu laptop,
>
> https://stat.ethz.ch/pipermail/r-help/2011-July/283568.html
>
> suggests 2.13.1 introduced a problem with image(), which is out of "our"
> hands (ie. cannot be fixed by the developers of spatial packages)

Fixed in 2.13.1 patched (Windows):

https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14628

Roger

>
> Let me know if you see this differently,
>
> On 07/16/2011 03:02 PM, Roman Luštrik wrote:
>> I'm afraid that without seeing the script(s), it will be hard to pinpoint
>> the problem.
>>
>> Cheers,
>> Roman
>>
>>
>>
>> On Sat, Jul 16, 2011 at 2:55 PM, Rodrigo Aluizio <r.aluizio at gmail.com>wrote:
>>
>>> Hi SIG List. I recently installed the new version of R (2.13.1, updated my
>>> packages and checked the built). After that, I needed "replot" some maps I
>>> had. Well, these maps were ok when plotted using the previous version of R
>>> (2.13.0), but when I ran the same script in the new version the image
>>> quality just get really low, almost incomprehensive (sometimes it doesn't
>>> even appear). I would like to ask you, if this problem is just mine, or if
>>> it's due to some kind of incompatibility between the new R release and some
>>> of the packages I'm using? And, if the problem is local, how can I fix it?
>>> Should I go back to R 2.13.0?
>>>
>>>
>>>
>>> Thank you for the attention, bellow is a link to an example of the actual
>>> final output of the image {sp} function (for a SpatialGridDataFrame).
>>>
>>> P.s.: The GeoTIFF was imported using the readGDAL {rgdal} function.
>>>
>>>
>>>
>>> http://dl.dropbox.com/u/2613625/BaciaPotiguarGE.png
>>>
>>>
>>>
>>> sessionInfo()
>>>
>>> R version 2.13.1 (2011-07-08)
>>>
>>> Platform: x86_64-pc-mingw32/x64 (64-bit)
>>>
>>>
>>>
>>> locale:
>>>
>>> [1] LC_COLLATE=Portuguese_Brazil.1252
>>>
>>> [2] LC_CTYPE=Portuguese_Brazil.1252
>>>
>>> [3] LC_MONETARY=Portuguese_Brazil.1252
>>>
>>> [4] LC_NUMERIC=C
>>>
>>> [5] LC_TIME=Portuguese_Brazil.1252
>>>
>>>
>>>
>>> attached base packages:
>>>
>>> [1] grDevices datasets  splines   graphics  stats
>>>
>>> [6] tcltk     utils     methods   base
>>>
>>>
>>>
>>> other attached packages:
>>>
>>> [1] rgdal_0.7-1     maptools_0.8-9  lattice_0.19-30
>>>
>>> [4] sp_0.9-83       foreign_0.8-44  mapdata_2.1-4
>>>
>>>  [7] maps_2.1-6      RODBC_1.3-2     svSocket_0.9-51
>>>
>>> [10] TinnR_1.0.3     R2HTML_2.2      Hmisc_3.8-3
>>>
>>> [13] survival_2.36-9
>>>
>>>
>>>
>>> loaded via a namespace (and not attached):
>>>
>>> [1] cluster_1.14.0 grid_2.13.1    svMisc_0.9-61
>>>
>>> [4] tools_2.13.1
>>>
>>>
>>>
>>> -------------------------------------------------------------------
>>>
>>> MSc.  <mailto:r.aluizio at gmail.com> Rodrigo Aluizio
>>>
>>>
>>>
>>>
>>>        [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> R-sig-Geo mailing list
>>> R-sig-Geo at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>>
>>
>>
>>
>
>

-- 
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
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 R-sig-Geo mailing list