This script is used to analyze and visualize the signal distribution of users from provider Telkomsel in the Banten region, Indonesia. The process includes spatial data processing, tower data from cellmapper.net, and implementation using network analysis and Nearest Neighbor algorithm.
- Spatial Data Processing
- Tower Datas
- User Data Telkomsel
- Network Analysis
- Nearest Neighbor
- Visualization
Ensure the following libraries are installed:
geopandas
pandas
matplotlib
networkx
shapely
To install all these libraries, use:
pip install geopandas pandas matplotlib networkx shapely
shape_Banten/indonesia_Province_level_1.shp: Shapefile for the Indonesian region. tower.py: Module for extract data tower. sampel.py: Module for simulating user and signal data.
Ensure all related files (shapefile, tower module, and sampel module) are in the same directory as the main script.
Run the script with Python:
python mapping_network.py
The signal distribution and network map will be displayed after the simulation completes.
Signal Distribution Map: Shows tower and user locations based on signal strength:
- Green: Strong signal.
- Yellow: Medium signal.
- Red: Weak signal.
- Network Graph: Displays the connection between towers and users using the MST algorithm.