search for: che_adm1

Displaying 2 results from an estimated 2 matches for "che_adm1".

2012 Aug 10
3
Trouble with Spatial Data Example Script
...e email), well, nothing happens and I certainly do not see a map of Switzerland. I am not familiar with the sp package, but am I missing the obvious? Any help is appreciated. Best Regards Lorenzo ########################################? library(sp) con <- url("http://gadm.org/data/rda/CHE_adm1.RData") print(load(con)) close(con) language <- c("german", "german", "german","german", "german","german","french", "french", "german","german","french", "french",...
2011 Mar 31
0
Help: creating owin{spatstat} objects from GIS data
..." (observation window) in the package spatstat from GIS mapping data. Here's an example of my problem. Everything goes well until the last line of code. I get the error message shown at the bottom: library(spatstat) library(sp) library(maptools) con <- url("http://gadm.org/data/rda/CHE_adm1.RData") class(con) print(load(con)) close(con) SP <- as(gadm, "SpatialPolygons") W <- as(SP, "owin") "Error in owin(poly = opls) : Polygon data contain overlaps between polygons" Thanks for any help, Axel. [[alternative HTML version deleted]]