20241/26继续尝试
准备环境:
Arcgis:error=-15——在license点启动
下载sDNA(略过)【注意163不可,gmail可】
步骤1:
准备文件:dxf或者shp(cad文件是需要dxf,并且注意不要画白色的线)(需要有基本的wgs84地理坐标)
导入数据库:新建数据库,添加单个feature
步骤2:
转换成投影坐标:project工具,转换成50n
炸开:编辑模式。全选打断,我选1m(炸开工具为灰色可能勾选太多图层)
【退出编辑模式】(一定要退出否则会失败,会prepare掉很多线条)
【本次的数据库是bi24
今天暂时成功了,没有损失很多路网,可能因为炸开了
步骤3:
1、prepare:勾选 splits links
2、 integral:
可能的报错arcgis 10.2 - Why did sDNA prepare report an error - Geographic Information Systems Stack Exchange
报错:Nonetype object has no attribute PartCount"
原因:有些道路是孤立的,没有和任何线连接
解决:用Repair Geometry修复shp文件
--------------------------------------------------------------------------------------
----------------------------2023失败版旧文章-----------------------------
--------------------------------------------------------------------------------------
今天尝试了一下sDNA,虽然失败了
下载地址:
software download 中下载
software sign up中注册 邮箱收到注册码
注册完打开License manager 完成注册
For Arcgis
ArcToolbox里右键选择Add Toolbox
For Qgis
在插件管理器中安装即可(需要自己从官网下载,再去安装)
尝试分析(失败)
0、创建数据库(not for QGIS
打开目录,右键想要创建的位置 new- file geodatebase
创建好之后右键-import-single feature-导入要分析的路网文件
PS.图层命名规范
ERROR000361:the name starts with an invalid character——命名不能以数字开头
1、Multipart to Singlepart(Qgis和arcgis都有
否则会报错Error:polyline 31 has multiple parts
2、sDNA工具箱-"prepare network(Qgis报错AttributeError: 'dict' object has no attribute 'iteritems',
AttributeError: 'dict' object has no attribute 'iteritems'_醉小义的博客-CSDN博客
改了之后还是报错....TypeError: can only concatenate str (not "bytes") to str
acrgis倒是可以运行但是删减很多道路,不明白 放弃
参考文章
Spatial Design Network Analysis (sDNA) Manual — sDNA 4.0.2 documentation