Facility Network Analysis (facilityanalyst)

Introduction

Demonstrate upstream and downstream analysis, connectivity analysis and other network analysis.

Operation effect

Figure: Facility Network Analysis Operation Effect

Location

Android Studio

  • Product package: Product package\SampleCode\SampleCode_AndroidStudio\AndroidStudioSampleCode\facilityanalyst

ADT

  • Product package: Product package\SampleCode\SampleCode_ADT\FacilityAnalyst

Data

Storage location

  • Product package: Product package\SampleData\FacilityAnalyst

Deployment Location: mobile device internal storage\SampleData\FacilityAnalyst

License

Offline license, copy the license file to the "mobile device internal storage\SuperMap\License" folder.

Library

jar
com.supermap.data.jar, com.supermap.mapping.jar, com.supermap.analyst.jar
so
libimb2d.so, libgnustl_shared.so, libQt5Core.so, libQt5Gui.so, libQt5Svg.so, libQt5Widgets.so(Note: Starting from version 11.1, the last five so libraries need to be added.)

Key types/members

Control/Class Method
FacilityAnalystSetting setContentView(), setNetworkDataset(), setEdgeIDField(), setNodeIDField(), setFNodeIDField(), setTNodeIDField(), setDirectionField()
FacilityAnalyst setAnalystSetting(), load(), traceDownFromNode(), traceUpFromNode()

Basic steps

  1. Long press on the map and add points;
  2. After adding points (add at least two points for connectivity analysis), click the relevant analysis button for analysis;
  3. Click the [Clear] button to clear the analysis content.