OrientDB 传送器无法从 PostGis 转换 GIS 数据
OrientDB teleporter fails to convert GIS data from PostGis
我正在尝试将一个大型 postgresql 数据库导入到 OrientDB 中,其中包含一些使用 PostGIS 存储的空间数据。
虽然传送器可以处理大多数标准表,但它无法转换任何几何字段。典型的错误消息采用以下形式:
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 content
'0101000020346C00000000000028AC174100000000B4C92841': content must be
between { }^
DB name="nis1e"
这些表出现在输出 OrientDB 数据库中,但缺少任何几何字段。 OrientDB 社区版的 2.2 版和 3.0.0RC2 版都会出现这种情况。
PostGIS 几何数据包括点、线和区域,可以使用例如 OK 查看。 Postgres 数据库上的 QGIS。
谢谢,
罗恩
很遗憾,由于许可问题,Teleporter 不支持 PostGIS。
顺便说一句,请问迁移成功了吗?如果您需要 OrientDB 中的这些特定字段,现在没有简单的快速解决方案,但如果您只是想避免此异常,您可以在迁移过程中排除有问题的列。
我正在尝试将一个大型 postgresql 数据库导入到 OrientDB 中,其中包含一些使用 PostGIS 存储的空间数据。
虽然传送器可以处理大多数标准表,但它无法转换任何几何字段。典型的错误消息采用以下形式:
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 content '0101000020346C00000000000028AC174100000000B4C92841': content must be between { }^ DB name="nis1e"
这些表出现在输出 OrientDB 数据库中,但缺少任何几何字段。 OrientDB 社区版的 2.2 版和 3.0.0RC2 版都会出现这种情况。
PostGIS 几何数据包括点、线和区域,可以使用例如 OK 查看。 Postgres 数据库上的 QGIS。
谢谢, 罗恩
很遗憾,由于许可问题,Teleporter 不支持 PostGIS。
顺便说一句,请问迁移成功了吗?如果您需要 OrientDB 中的这些特定字段,现在没有简单的快速解决方案,但如果您只是想避免此异常,您可以在迁移过程中排除有问题的列。