As of the last time I compiled code like the following (17-June-2008),
it displayed an indicator map:
require(sp)
data(meuse)
# indicator: which observations have high Zn content?
meuse$ind <- (meuse$zinc > 300)
table(meuse$ind)
coordinates(meuse) <- ~x +y
class(meuse) # SpatialPointsDataFrame
sp
Jim Burke asked how to compute the intersection
between a set of lines (roads) and a set of polygons (regions).
This can be done using the spatstat package.
1. convert the polygons from the class SpatialPolygons (in the sp package)
to the class owin (in the spatstat package). See
There is a shapefile (works well with maptools and sp packages) with a world
map and time zone information at:
http://openmap.bbn.com/data/shape/timezone/
It has the info needed to color the countries or parts of countries based on
time zone, but does not have polygons for time zone stripes over
Dear R - Mapping specialists,
for a prospective publication on using date/times etc in R,
we are looking for a way to draw a world map additionally with
the "timezone stripes".
Thanks to Roger Bivand, it was easy to get to the world map:
I've used this
http://spatial.nhh.no/R/etc/world_map_int
On Wed, 18 Feb 2009, Hans-Jörg Bibiko wrote:
Hi,
I'm using the river database 'wdb_rivers_l.b' downloaded from
ftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.11.zip.
If I do this:
rivers_low <- Rgshhs("wdb_rivers_l.b")
I get a list of rivers as SpatialLines with
bbox(rivers_low[[1]]
Marius,
I've got a shapefile of Sweden at the municipality level from Statistics
Sweden some years ago. I am not sure about all the other Nordic
countries but you may search in their websites or drop them an e-mail if
you do not find what you are looking for. That is what I did.
Best,
Virgilio
Dear all,
Do you have any suggestions on where it is best to search for
Shapefiles for the Nordic countries? Preferably on a postcode level,
but anything will do.
Thanks in advance.
Regards,
Marius
___
R-sig-Geo mailing list
R-sig-Geo@stat.math.
Hi,
I'm using the river database 'wdb_rivers_l.b' downloaded from ftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.11.zip
.
If I do this:
> rivers_low <- Rgshhs("wdb_rivers_l.b")
I get a list of rivers as SpatialLines with
> bbox(rivers_low[[1]])
min max
r1 0.000278 359.9