shapely and geos break在distance方法
2015-11-22 16:19
357 查看
问题
from shapely.geometry import Point print Point(0,0).distance(Point(1,1))
报错
python: GeometryComponentFilter.cpp:34: virtual void geos::geom::GeometryComponentFilter::filter_ro(const geos::geom::Geometry*): Assertion `0' failed. Aborted (core dumped)
貌似是GEOS的bug
运行环境
I’m running CentOS 6, python 2.7, geos 3.4.2 (although it creates a link from libgeos_c to 1.8.2)谷歌策略
卸了重装svn co http://svn.osgeo.org/geos/trunk@3960 geos-svn cd geos-svn ./autogen.sh ./configure make make check
测试通过安装
make install ldconfig
相关文章推荐
- LINUX下网站压力测试工具webbench
- 四大组件Activity之两个Activity之间的交互
- 使用CSpreadSheet读写excel的方法以及详细步骤
- poj 2196 Going Home(最小费用最大流)
- Android studio 代码混淆、分渠道打包和反编译
- 黑马程序员 JavaSE-04 Java基础语法3:方法、数组
- VS工程文件解析
- POJ2892 Tunnel Warfare (平衡树)
- LeetCode 061 Rotate List
- 视图Ext.Viewport和窗口Ext.Window用法
- ofbiz 获取connection
- POJ2892 Tunnel Warfare (平衡树)
- Scala语法笔记
- [LeetCode]Largest Rectangle in Histogram
- C# 构造函数与析构函数
- SqlConnectionStringBuilder基础
- CMWAP 和 CMNET 的区别是什么?
- Java I/O底层是如何工作的?
- CityEngine CGA语法之替换函数 i(insert)
- 回调函数--讲解的比较深入浅出的。