标签: geodjango
根据GeoDjango GIS文档,LineString是表示为元组或Point对象列表的一系列Point,而Point可以包含Z维度。
但是,当我得到的数据也是一条具有Z轴的线时,我得到一个django.db.utils.DataError: Geometry has Z dimension but column does not。
django.db.utils.DataError: Geometry has Z dimension but column does not
我的数据库是启用了GIS扩展的postgres。
是否存在正确的方法来存储带有Z轴的线串?还是我不得不剥离Z轴数据?