SuperMap iObjects Java 11i 范例程序说明
选址分区分析(FindLocation)  

范例简介

示范地址分区分析的使用。

示例数据

安装目录\SampleData\City\Changchun.udb

关键类型/成员

控件/类 方法 事件
MapControl   GeometrySelectedEvent、MouseEvent、MapDrawnEvent
TransportationAnalystSetting setNetworkDataset、setEdgeIDField、setNodeIDField、setTolerance、setWeightFieldInfo、ssetFNodeIDField、setTNodeIDField  
TransportationAnalyst load、findLocation、setAnalystSetting  
LocationAnalystParameter setFromCenter、setExpectedSupplyCenterCount、setWeightName、setSupplyCenters  
SupplyCenters add、remove、set、get、getCount  
SupplyCenter setID、setMaxWeight、setType  
LocationAnalystResult getDemandResults、getSupplyResults  
Colors makeRandom  

使用步骤

  1. 选取中心点;
  2. 设置中心点的最大阻力及中心点类型;
  3. 设置期望用于最终设施选址的资源供给中心数量;
  4. 分析得出结果;

范例程序位置

安装目录\SampleCode\FindLocation\


  版权所有© 北京超图软件股份有限公司。保留所有权利。