shp to svg
On 09/03/11 13:22:19, Marc Mar? Dell'Olmo wrote:
I would like to convert a map in shp (shapefile arcview format) format to a svg format with R. Does anyone know how?
You probably have to use readShapeSpatial (sp package) to get the data into R. Then it's likely to be something like a SpatialPoints or similar data frame which you can plot (or of which you can plot single layers) using spplot. I guess the plotting device would then be CairoSVG (Cairo package). I'm just guessing since you didn't provide further info. Otherwise, you may also try a decent GIS with a scripting interface to get reproducible results. Regards, Georg. -- Research Assistant Otto-von-Guericke-Universit?t Magdeburg research at georgruss.de http://research.georgruss.de