ArcGIS Server + SilverLight + NetWorkAnalyst 网络分析错误:routing error:error solving route,unable to find attribute invalid!
2011-10-30 12:27
543 查看
ESRI有很多源码资源,可以直接拿来用,是我入门的重要学习资源。今天做网络分析的时候,用Resource Center中的RoutingBarries做测试,碰到了错误“routing error:error solving route,unable to find attribute invalid!”
百度后发现,是网络分析时默认使用了Hierarchy属性的结果,具体参照http://blog.csdn.net/moofell/article/details/6237641,添加该属性后,仍然报错,于是在调用网络分析前将其参数设置为不使用该属性即可!如下:
_routeParams.UseHierarchy = false;
_routeTask.SolveAsync(_routeParams);
百度后发现,是网络分析时默认使用了Hierarchy属性的结果,具体参照http://blog.csdn.net/moofell/article/details/6237641,添加该属性后,仍然报错,于是在调用网络分析前将其参数设置为不使用该属性即可!如下:
_routeParams.UseHierarchy = false;
_routeTask.SolveAsync(_routeParams);
相关文章推荐
- ArcGIS Server + SilverLight + NetWorkAnalyst 网络分析错误:routing error:error solving route,unable to find
- 一个ArcGIS网络分析的最短路径例子||A Network Analyst Shortest Route of ArcGIS
- 一个ArcGIS网络分析的最短路径例子||A Network Analyst Shortest Route of ArcGIS[转]
- 错误:espliseappcompat_v7] ERROR: In <declare-styleable> MenuView, unable to find attribute android:pre
- Android中出现Error:In <declare-styleable> FontFamilyFont, unable to find attribute android:font 解决办法
- arcgis10.4 server第一次发布地图报错:We were unable to connect to...Error:Proxy server got bad address...
- Midas三层结构中“Unable to find record. No key specified”错误分析及解决方案
- "Unable to find record. No key specified"错误分析及解决办法
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- [Python3.5]解决安装一些模块时出现“error: Unable to find vcvarsall.bat”的错误
- Android中出现Error:In (declare-styleable) FontFamilyFont, unable to find attribute android:font
- Zend Server 错误:The server encountered an internal error or misconfiguration and was unable to comple
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing异常解决
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- silverlight API的网络分析出现错误(invalid context)的解决办法
- silverlight API的网络分析出现错误(invalid context)的解决办法
- PHP错误The server encountered an internal error or misconfiguration and was unable to complete your re
- zabbix configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config
- Zend Server 错误:The server encountered an internal error or misconfiguration and was unable to comple