Dear all,
I am looking for example code that lets me use the kmlPolygon() function
(pckg: maptools) with a simple (non projected) data frame of lat/lons.
I found the documentation on converting data frames to SpatialPolygons in
the package sp very sparse and that seems to be a prerequisite to use
kmlPolygon() ?

Wishful thinking would be the following:

x <- cbind(lat = c(38.100, 38.100, 38.116, 38.116, 38.100), lon =
c(-122.400, -122.384, -122.384, -122.400, -122.400) )
kmlPolygon(x, ....)

Thx,

Markus Loecher

	[[alternative HTML version deleted]]

