OrientDB Teleporter转换PostGIS空间数据失败问题求助
问题:PostGIS几何字段无法通过Teleporter导入OrientDB
最近我在尝试把一个包含PostGIS空间数据的大型PostgreSQL数据库导入OrientDB时,碰到了棘手的问题:Teleporter工具能正常处理大部分标准表,但完全无法转换任何几何字段,每次都会抛出类似这样的错误:
ERROR: Problem encountered during the extraction of the values from
the records. Vertex Type: TR_AirNodes; Property: geom; Record: id:1
com.orientechnologies.orient.core.exception.OSerializationException -
Error on unmarshalling JSON content0101000020346C00000000000028AC174100000000B4C92841: content must be
between { }^
DB name="nis1e"
导入完成后,OrientDB数据库里能看到对应的表结构,但所有几何字段都直接缺失了。这个问题在OrientDB社区版2.2版本以及3.0.0RC2版本里都存在。另外需要说明的是,PostGIS里的几何数据包含点、线、面三种类型,我用QGIS是可以正常查看PostgreSQL数据库里的这些数据的。
内容的提问来源于stack exchange,提问作者Ron Fowler
相关产品推荐
相关产品推荐

