search for: ndistrict

Displaying 1 result from an estimated 1 matches for "ndistrict".

Did you mean: district
2006 Nov 30
2
*** caught segfault *** error
...districts.shp <- read.shapefile("~/Documents/SAHSU/MD/data/ carthography/districts_ok") Attaching package: 'foreign' The following object(s) are masked from package:shapefiles : read.dbf The following object(s) are masked from package:shapefiles : write.dbf > ndistricts <- length(districts.shp$shp$shp) > keys <- districts.shp$dbf$dbf$DISTRICT_2 > vertices <- list() > for(i in 1:ndistricts){ + vertices[[i]] <- districts.shp$shp$shp[[i]]$points + } > > districts.map <- list(codigo=keys, vertices=vertices)#, nombre=wardnames) &g...