Re: [R] map of a country and its different geographical levels

2009-11-07 Thread Roger Bivand
On Sat, 7 Nov 2009, hadley wickham wrote: If readShapePoly() (deprecated - use readShapeSpatial() instead) says that the data are not polygons, then they are not. If you want to fill administrative boundaries polygons, you need polygons, not lines. The source you are using is based on OpenStreet

Re: [R] map of a country and its different geographical levels

2009-11-07 Thread hadley wickham
> If readShapePoly() (deprecated - use readShapeSpatial() instead) says that > the data are not polygons, then they are not. If you want to fill > administrative boundaries polygons, you need polygons, not lines. The source > you are using is based on OpenStreetMaps, so more likely to be lines, and

Re: [R] map of a country and its different geographical levels

2009-11-07 Thread Roger Bivand
Perhaps asking on R-sig-geo might help (as well as reading the function help files, scripts found lying around somewhere may be stale ...)? If readShapePoly() (deprecated - use readShapeSpatial() instead) says that the data are not polygons, then they are not. If you want to fill administrative b

Re: [R] map of a country and its different geographical levels

2009-11-07 Thread CE.KA
Hi Greg I downloaded the file "france.shapefiles.zip" Then i unziped it. There were 4 files interesting me: - france_administrative.dbf - france_administrative.prj - france_administrative.shp - france_administrative.shx How can i do to read the map "france_administrative" with R I tried this s

[R] map of a country and its different geographical levels

2009-11-05 Thread CE.KA
Hi R users I need the map of France’s « communes » (towns) to build a map Is there a way to get it? More generally: How to do to get the map of a country and its different geographical levels? Best regards -- View this message in context: http://old.nabble.com/map-of-a-country-and-its-dif