[英]“plotGoogleMaps enable to start device png” error
When plotting as spatialDataFrame with a factor as the first column and many levels you get the error "plotGoogleMaps enable to start device png". 当将因数作为第一列和许多层级绘制为spatialDataFrame时,会出现错误“ plotGoogleMaps enable to start device png”。
What's wrong? 怎么了?
The problem is that it is trying to plot all the levels and the legend gets tooooo long. 问题在于,它试图绘制所有级别,并且图例变得太长了。 You should try to use a more meaningful column for the legend.
您应该尝试对图例使用更有意义的列。
I created a fork that fixes this and other issues (some values in the data.frame could prevent plotGoogleMaps from plotting) : https://bitbucket.org/cmbce/plotgooglemaps . 我创建了一个叉子来解决此问题和其他问题(data.frame中的某些值可能会阻止plotGoogleMaps绘制): https ://bitbucket.org/cmbce/plotgooglemaps。 It is easy to install with devtools.
使用devtools可以轻松安装。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.