Creating maps in R: Missing islands? -


i trying map harbour (conception bay south) in newfoundland, canada but, main island (bell island) missing. i've been trying days figure out how fix it.

when add world.cities city on island shows up, island missing.

i know maps has river layer , lake layer can added needed, there island layer i'm not finding? or have data other way? if so, how that?

i prefer not have plot in ggplot or ggmap, because except missing islands 'maps' working me. i'll if there isn't solution.

here code:

require(maps) require(mapdata) map('worldhires','canada',            xlim=c(-53.5, -52.500),             ylim=c(47.2,48.25),             col="grey75", fill=true) map.axes(cex.axis=0.8) map.scale(-53.41,47.29,           ratio=false,           relwidth=0.1,           cex=0.5) 

use raster package level 2 admin data canada:

require(raster) cdn = getdata("gadm",country="can",level=2) plot(cdn, xlim=c(-53.5, -52.500), ylim=c(47.2,48.25)) 

shows small island in bay , more on end of peninsula.

this base r graphics plot, use base plotting functions put things on top, change colour, axes etc.


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -