how do i show txsite on shapefile

2 views (last 30 days)
Femi Erunkulu
Femi Erunkulu on 17 Sep 2019
Commented: Jacob Halbrooks on 20 Sep 2019
hello,
i am working on displaying coverage of transmitter on a shapefile. i used this code to read in the shape file
ax= worldmap([-27 -17],[19 30]);
states = shaperead('BOT_outline', 'UseGeoCoords', true);
geoshow(ax, states, 'FaceColor','none')
botsmap.jpg
how do i insert transmitter on the shapefile
for example
names = ["Palapye","Gaborone","francistown"];
lats = [-22.55,-24.6541,-21.1711];
lons = [27.133,25.9087,27.5002];
fq = 24e9;
txs = txsite('Name', names,...
'Antenna',dipole,'Latitude',lats,...
'Longitude',lons, ...
'TransmitterFrequency',fq);
  1 Comment
Jacob Halbrooks
Jacob Halbrooks on 20 Sep 2019
The txsite function is integrated into its own 3-D terrain map called Site Viewer, which you can launch by calling:
>> show(tx)
That map has a picker in the upper-right to let you choose alternative basemaps, including a couple that are atlas-style street maps.
Can you describe why you want the visualization on a different map than Site Viewer?
Also, what type of visualization are you looking for? Do you want to see a point or marker on the map corresponding to the txsite location, or do you want a coverage map, or something else?

Sign in to comment.

Answers (0)

Categories

Find more on RF Propagation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!