Displaying 2 results from an estimated 2 matches for "mytil".
Did you mean:
mytel
2009 Jul 15
1
Read PNG file and display with more than 256 colors RGDAL
...for....)
Ideally I would like to read in the png image and display in its original form as a plot background, hopefully with all its colors represented rather than being converted to a 256 color scale.
A code example is below:
png(file="file.png", 4000,4000)
par(mar=c(0,0,0,0))
myTile <- readGDAL("basemap.png",silent=TRUE); #basemap.png is a PNG file returned from googlemaps
myTile at data <- myTile at data[,1:3]
col <- SGDF2PCT(myTile,ncolors=256) ## myTile is a spatialGridDataFrame with 3 bands
myTile$ind <- col$idx ## add the colour index to the d...
2011 Jun 07
1
RgoogleMaps Axes
R Help,
I posted a question on StackOverflow yesterday regarding an issue I've been having with the RgoogleMaps packages' displaying of axes. ?Here is the text of that submission:
http://stackoverflow.com/questions/6258408/rgooglemaps-axes
"I can't find any documentation of the following problem I'm having with the axis labels in RGoogleMaps:
library(RgoogleMaps)
datas