search for: basemap

Displaying 8 results from an estimated 8 matches for "basemap".

Did you mean: casemap
2006 Feb 10
1
the proper way to use panel functions in lattice package?
...topographic map readed in from esri shapefile with a contour map and a vector map. However, the plotMap(maptools) and contourplot(lattice) do not seem to work well on top of each other. Here is part of my code. xrange<-range(225000:350000) yrange<-range(2685000:2810000) basemap <- read.shape("Twn25_town_dxf_Polygon.shp") plot.Map(basemap,xlim=xrange,ylim=yrange,fg=0,ol=8,xlab="",ylab="") contourplot(var1.pred~x+y, spcgrid, aspect = "xy",label.style="align") I have tried to put panel function under plo...
2009 Jul 15
1
Read PNG file and display with more than 256 colors RGDAL
...ike 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 data frame myTile <- as.im...
2011 Dec 18
1
maptools/spatial analysis question
...n this context. Moreover, only a small minority of all the postal code areas has a measurement sation. Are there any ways/tools to "interpolate" the various (strategically chosen) measurement stations? I am looking for sensible ways to create plots like this: http://matplotlib.github.com/basemap/_images/etopo5.png > sessionInfo() R version 2.11.1 (2010-05-31) i686-pc-linux-gnu ...   Thank you in advance! Cheers!! Albert-Jan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ All right, but apart from the sanitation, the medicine, education, wine, public order,...
2009 Apr 24
3
Text Contrast in a Plot
...command but there is no effect. I even tried to plot a greater black text and then a smaller white one at the same place, but it doesn’t look good. Any ideas! Bellow is my plot code without the above mentioned attempts. I’d like to add this effect at the second text() command. png('BaseMap.png',width=5.2,height=3.6,pointsize=5,units='in',bg=NA,restoreC onsole=T,res=1200) par(mar=c(5,0,0,0)) map('worldHires','brazil',ylim=c(-5.15,-4.55),xlim=c(-37,-36.1),type='n') rect(-37.1,-5.25,-36,-4.9,density=NULL,angle=45,col='#dbf4ff',border=F) pl...
2005 May 22
2
Maps, Eastern Europe
Dear all, I would like to employ a European map in a presentation. My idea was to use: library(mapdata) map("worldHires", c("Austria", "Switzerland", "Germany")) where I include all countries from my analysis as a vector of character strings like in the example above. Unfortunately, I was unable to specify the Baltic States (Latvia, Lithuania, Estonia) or
2007 Nov 13
3
ESRI Shapefile for EU-25
Hi all, who knows how to get an ESRI Shapefile for the NUTS-2 Regions of the enlarged European Union? Particularly I want to draw maps of Germany, Poland, Czech Republik, Hungary and Austria. I've found Shapefiles for the US, Russia and other countries elsewhere in the web, but for Europe it seems really difficult. With many thanks for any hint Albrecht
2023 Oct 13
1
rnrfa package problems
R help email Hello I?m trying to work my way through the rnrfa package RJ-2016-036.pdf (r-project.org) <https://journal.r-project.org/archive/2016/RJ-2016-036/RJ-2016-036.pdf> I?ve got it loaded OK and can access the data by the catalogue() command - gives me a tibble with names, grid refs etc allStations <- catalogue() allStations This works OK But when I try to run the example
2004 Oct 01
3
Plotting panels at arbitrary places on a map, rather than on a lattice
I think it is easiest to describe what I want in terms of the concrete problem I have. I have data from a number of countries in each of which a sample of people was interviewed. In presenting the results in a forthcoming collaborative publication much emphasis will be placed on the multi-centre nature of the study. Although I suspect colleagues may do this with shaded maps I would prefer to