Dear Ruser, > > > I am trying to use the map library. But unfortunately I am facing the > warning message above: > Warning message: > *In readGDAL(destfile, silent = TRUE) : GeoTransform values not available > *
I want to use that library because I intend to plot some station in a Brazilian map. I really appreciate any help. > > ===here what I was testing======== > library(rgdal) > > library(RgoogleMaps) > > GetMap(markers = > '40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc', > destfile = "MyTile1.png"); > Read 1 item > [1] > "40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc" > [1] " > http://maps.google.com/staticmap?size=640x640&maptype=terrain&format=png32&key=ABQIAAAAxI1cqe7mY9FLRX4CNqunWxR8LwkFvv97NF1lW-Y0LTl6YI7YUhQOrY33MnadojnlYov4VGE9c1Msrg&sensor=true&markers=40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc > " > > > > tmp <- PlotOnStaticMap(lat = c(40.702147,40.711614,40.718217), lon = > c(-74.015794,-74.012318,-73.998284), destfile = "MyTile1.png", > cex=1.5,pch=20,col=c('red', 'blue', 'green'), add=F) > Read 1 item > [1] " > http://maps.google.com/staticmap?center=40.710182,-74.007039&zoom=15&size=640x640&maptype=terrain&format=png32&key=ABQIAAAAxI1cqe7mY9FLRX4CNqunWxR8LwkFvv97NF1lW-Y0LTl6YI7YUhQOrY33MnadojnlYov4VGE9c1Msrg&sensor=true > " > center, zoom: 40.71018 -74.00704 15 > [1] "map Tile received" > tmp2:[1] -0.0007824726 1.0007824726 -0.0007824726 1.0007824726 > par('usr')[1] -320 320 -320 320 > List of 4 > $ : num 40.7 > $ : num -74 > $ : num 15 > $ : int [1:640, 1:640] 683 683 683 683 683 683 683 683 683 683 ... > ..- attr(*, "COL")= chr [1:1047] "#000000" "#0044DF" "#004EF4" "#0052FF" > ... > ..- attr(*, "type")= chr "rgb" > NULL > [1] -204.0063 204.0063 > [1] -246.9831 247.0129 > Warning message: > *In readGDAL(destfile, silent = TRUE) : GeoTransform values not available > * > > > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.