参考:https://my.oschina.net/HeAlvin/blog/378257http://www.loginsight.cn/http://www.cnblogs.com/gisblogs/p/5144183.html