NetLogo GIS扩展:不支持的文件类型21错误 [英] NetLogo GIS extension: Unsupported file type 21 error

查看:93
本文介绍了NetLogo GIS扩展:不支持的文件类型21错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试在NetLogo中添加.shp文件(点),但显示此错误:

I have been trying a add a .shp file (point) in NetLogo, but it showing this error:

扩展例外:不支持的形状类型21观察者运行GIS时出错:LOAD-DATASET由过程SETUP调用由"Go"按钮调用

Extension exception: unsupported shape type 21 error while observer running GIS:LOAD-DATASET called by procedure SETUP called by Button 'Go'

推荐答案

类型21是PointM-带有度量的点(作为几何字段的一部分,而不是单独的字段).显然NetLogo不支持此功能.

Type 21 is PointM - a point with measure (as part of geometry field, rather than as a separate field). Apparently NetLogo does not support this.

通常,您可以使用GDAL ogr2ogr工具或许多GIS系统从该文件中删除M值并将几何转换为常规Point,然后尝试将转换后的文件加载到NetLogo.

You can typically just remove M value from this file and convert geometry to regular Point, using GDAL ogr2ogr tool or many GIS systems, then try to load converted file to NetLogo.

这篇关于NetLogo GIS扩展:不支持的文件类型21错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆