Displaying 5 results from an estimated 5 matches for "plotonstaticmap".
2011 Jun 07
1
RgoogleMaps Axes
...ot;LAT","LON"),class="data.frame",
? ? ? ? ? ? ? ? ? ?row.names =c(1418L,1419L,1536L,1538L,1578L))
# Get bounding box.
boxt <-qbbox(lat =datas$LAT,lon =datas$LON)
MyMap<-GetMap.bbox(boxt$lonR,boxt$latR,destfile ="Arvin12Map.png",
maptype ="mobile")
PlotOnStaticMap(MyMap,lat =datas$LAT,lon =datas$LON,
? ? ? ? ? ? ? ? axes =TRUE,mar =rep(4,4))
When I run this on my computer the horizontal axis ranges from 300W to 60E, but the ticks in between aren't linearly spaced (300W, 200W, 100W, 0, 100E, 160W, 60W). Also, the vertical axis moves linearly from 300S to...
2010 Mar 19
1
error in map library
...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.0...
2011 Sep 15
0
RGoogleMpas error
...box(bb$lonR, bb$latR, destfile = "DC.png", GRAYSCALE =T,
markers = mymarkers);
#determine the max zoom, so that all points fit on the plot
# (not necessary in this case):
zoom <- min(MaxZoom(latrange=bb$latR,lonrange=bb$lonR));
#plot:
png("OverlayTest.png",640,640);
tmp <- PlotOnStaticMap(MyMap,lat = mymarkers[,"lat"], lon = mymarkers[,"lon"],
cex=1.5,pch=20,col=c('blue', 'green', 'red'), add=F);
tmp <- PlotOnStaticMap(MyMap,lat = mymarkers[,"lat"], lon = mymarkers[,"lon"],
col=c('purple'), add=T, FUN = lines...
2010 Mar 17
0
In readGDAL(destfile, silent = TRUE) : GeoTransform values not available
...gle.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&siz...
2010 Jun 29
0
how to create a shape file from a polygone
Dear R-users,
I have created a map with plot location using longitude/latitude coordinates
with the PlotOnStaticMap() function of the RgoogleMaps package. Everything
works fine until I try to put a polygon on the map. The polygon() function
doesn?t work and I need to use the special function PlotPolysOnStaticMap()
however this requires a shapefile (which I'm not sure what it is) and not XY
coordinates.
So...