[R-sig-Geo] How to plot map with overlay points

Endri Raco endri81 at gmail.com
Fri Apr 19 12:31:38 CEST 2013


Hi group.
I have coordinates as in file attached.
Trying to print this as points with different colors I follow the commands:


> al1 = get_map(location = c(41.325997,19.822027), zoom = 10, maptype = 'roadmap')> ggmap(al1) + geom_point(data=points, aes(x=lat, y=lon5,colour = type))

The problem is that with zoom = 10 I get very vague idea of points but
if I try to zoom more than 15 nothing is plotted.

Can you please advice any approach or R package to get out of this situation?

Thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20130419/9ec1423a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: points.csv
Type: text/csv
Size: 569 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20130419/9ec1423a/attachment.bin>


More information about the R-sig-Geo mailing list