access to phone network

mapping the range of GSM and 4G

For this exercises we use the data from opencellid

Step 1: import administrative data for Cambodia

// import administrative data
var provinces = ee.FeatureCollection("projects/servir-mekong/admin/KHM_adm1");
// select province of interest
var kampongThum  = provinces.filter(ee.Filter.eq("NAME_1", "Kâmpóng Thum"));

// add layer to map
Map.addLayer(kampongThum,{},"Kampong Thum");

Step 2: import the cell id data

// import data for cell id
// data was obtained from https://www.opencellid.org/
var phoneTowers = ee.FeatureCollection("projects/servir-mekong/undp/phoneTowers");

Map.addLayer(phoneTowers,{},"cell towers");

Step 3: print numer of items and study the metadata

print("first item", phoneTowers.first())
print("number of towers:", phoneTowers.size())
print(phoneTowers.aggregate_histogram("radio"))

Step 4: show the different types of signals

var GSM = phoneTowers.filter(ee.Filter.eq("radio","GSM"))
var LTE = phoneTowers.filter(ee.Filter.eq("radio","LTE"))
var UMTS = phoneTowers.filter(ee.Filter.eq("radio","UMTS"))

// gsm can reach up to 70km
Map.addLayer(GSM.draw("blue"),{},"gsm")

// UMTS (Universal Mobile Telecommunications Service) is a third-generation (3G) broadband, packet-based transmission of text, digitized voice, video, and multimedia at data rates up to 2 megabits per second (Mbps)
Map.addLayer(UMTS.draw("green"),{},"UMTS")

Map.addLayer(LTE.draw("red"),{},"LTE")

Step 5: filter for your province of interest and compute the range

// filter for aoi
phoneTowers = phoneTowers.filterBounds(kampongThum);

// buffer the range
phoneTowers = phoneTowers.map(function(feat){
  return feat.buffer(feat.get("range"));
});

var GSM = phoneTowers.filter(ee.Filter.eq("radio","GSM"))
var LTE = phoneTowers.filter(ee.Filter.eq("radio","LTE"))
var UMTS = phoneTowers.filter(ee.Filter.eq("radio","UMTS"))

// gsm can reach up to 70km
Map.addLayer(GSM.draw("blue"),{},"gsm")

// UMTS (Universal Mobile Telecommunications Service) is a third-generation (3G) broadband, packet-based transmission of text, digitized voice, video, and multimedia at data rates up to 2 megabits per second (Mbps)
Map.addLayer(UMTS.draw("green"),{},"UMTS")

Map.addLayer(LTE.draw("red"),{},"LTE")

Step 6: import and show the buildings

// import and vizualize buildings
var building = ee.FeatureCollection("projects/servir-mekong/undp/KHM_buildingsv1").filterBounds(kampongThum);
Map.addLayer(building,{},"buildings")

Leave a Reply