All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 416 posts ]  Go to page 1, 2, 3, 4, 5 ... 17  Next
Author Message
 Post subject: What is the Maximum Range I can Get?
PostPosted: Sun Aug 30, 2015 1:30 am 
Offline
FlightAware Member
abcd567 - FlightAware user avatar

Joined: Sat Feb 15, 2014 3:08 am
Posts: 1977
Location: Toronto CYYZ
INTRODUCTION
The Maximum Range achievable at any location depends on
(1) Curvature of earth
(2) The terrain around that location. Terrain plays a very important role as hills & changes in ground level will restrict maximum range.

This is due to the fact that propagation of radio waves in GHz/Microwave range is line of sight. The range is therefore limited by curvature of earth, and is about 250 nautical miles / 450 km for an ideal condition of perfectly level terrain. Hills & rise in ground levels further restrict maximum range to less than 250 nautical miles / 450 km.

FIND YOUR MAXIMUM POSSIBLE RANGE
In order to determine what maximum possible range you can get at your location, follow the steps below:
(1) Visit the site http://www.heywhatsthat.com
(2) Select tab "new panorama"
(3) Enter your latitude and longitude
(4) Enter your elevation (=enter elevation of your antenna)
(5) Enter title
(6) Hit "submit request" button
(7) Wait and view sponsor's advertisement while panorama is generated
(8) When panorama is generated, scroll down to map, and click "up in the air" tab on top right of map.
(9) Zoom-out the map till you see two circular curves in blue & yellow colors, showing maximum distance of aircrafts at 10,000 feet & 30,000 feet elevation.
(10) Below the map you will see text boxes light yellow & light blue with default aircraft heights 10,000 feet & 30,000 feet. Change these to suite your requirements, and press "Enter" button. The two curves will modify to new height figures you have entered.

Image


The layers of air cause refraction of radio waves, and radio line of sight may extend beyond optical line of sight by as much as 50 to 100 nautical miles. Your maximum possible range will therefore be about 50 to 100 nautical miles more than the maximum possible range shown by the curves you got from heywhatsthat.com site.

Image

To achieve your maximum possible range, your antenna should be installed at a height where it is above trees & houses surrounding it, and can "see" the horizon.


.


Last edited by abcd567 on Sat Sep 05, 2015 12:41 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Fri Sep 04, 2015 10:53 am 
Offline
FlightAware Member
elpipila - FlightAware user avatar

Joined: Thu May 22, 2014 2:48 pm
Posts: 196
This "how to" should have a sticky for reference.

A great tool for installation planning since it can predict the reception coverage area at a specific antenna location.

The 35000+ contour correlates closely with my dump_1090 map. I would expect a similar correlation at the lower elevations


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Sat Sep 05, 2015 11:54 am 
Offline
FlightAware Member
PeterHR - FlightAware user avatar

Joined: Sat Jan 18, 2014 11:02 am
Posts: 700
Location: UK
To find you latitude and longitude

Use google maps, satellite view.

Zoom in onto your location.

Right click where your antenna is and select "What's here" - that will give your latitude and longitude in decimal degrees - just what you need!

(PS. Do it on a PC, right clicking on a tablet or phone is the same as left clicking :) )


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Tue Nov 03, 2015 11:45 am 
Offline
FlightAware Member
lignumaqua - FlightAware user avatar

Joined: Fri Oct 16, 2015 12:05 am
Posts: 125
Location: Austin, TX
I contacted the owner of the 'heywhatsthat.com' site and asked about incorporating the results of his up in the air script directly into dump1090-mut maps. He was extremely helpful and told me of an undocumented API call which he is happy for us to use.

Once you have created a view on his site you can then use the ID of that site in this call:

Code:
http://www.heywhatsthat.com/api/upintheair.json?id=myviewid&alts=10000


It will return a JSON variable with the coordinates for the visible polygon at whatever height you request in meters (I've asked for 10,000 meters in the example above). As an example, here's what I get returned for my location at 10,000 meters:

Code:
{"refraction":0.25,"rings":[{"alt":"10000","points":[[32.6099729128549,-97.876768],[32.5901622333547,-97.8276043022589],[32.5673846459684,-97.7793775165884],[32.5655488532864,-97.7307222595661],[32.5863844642117,-97.6801231545666],[32.5947967976855,-97.6298317870926],[32.6139858492118,-97.577642480855],[32.6108792611117,-97.5277710188791],[32.6618229528375,-97.46854839268],[32.6718832866013,-97.414742619004],[32.667236916199,-97.3633611571435],[32.6640859728,-97.3114932008198],[32.6724139533899,-97.2564134608061],[32.6883209188023,-97.1984117962444],[32.711278079929,-97.1370882912527],[32.6997334669719,-97.085524219504],[32.7022761307569,-97.0290093863512],[32.7379290977988,-96.9594011286083],[32.7614361833418,-96.8923034366697],[32.8012092987617,-96.8165141819994],[32.7888400040195,-96.7613377415058],[32.7757616658363,-96.7062890924466],[32.7944433274222,-96.6352669475262],[32.8233999621334,-96.5570081184367],[32.9300910669407,-96.4335874931481],[33.0462957712831,-96.2978267292865],[33.000992495958,-96.2521192427864],[32.9760593673483,-96.1946912976481],[33.0216454089557,-96.090800130452],[32.9942775453606,-96.0330035022767],[32.976128565657,-95.9685979282578],[32.9009131439631,-95.9461154923305],[32.8713842838939,-95.8909724860003],[32.8153975156823,-95.8571101512141],[32.7845411637993,-95.8038373826219],[32.7528870235899,-95.7512497263126],[32.7204455729789,-95.699363773431],[32.6872275373622,-95.6481958269935],[32.6532438851523,-95.5977618965079],[32.6185058232462,-95.5480776927984],[32.5983354115957,-95.4832259107467],[32.5618806119711,-95.4347712868977],[32.524701701086,-95.3871173961451],[32.6172513658613,-95.1889421825222],[32.5763608175978,-95.140260179903],[32.5347436293933,-95.0924755852299],[32.621898401127,-94.8778384652919],[32.5763223251441,-94.8292576499855],[32.6324190021194,-94.6386344165945],[32.5832401579718,-94.5899951029521],[32.6276713482288,-94.4002960677756],[32.5749061316618,-94.3519310715182],[32.5456762935365,-94.2653101145802],[32.4908929668869,-94.2187843805835],[32.4354183449082,-94.1734531026608],[32.3792705342451,-94.1293287449837],[32.3210992622313,-94.0890117667188],[32.2636992692387,-94.0473635377301],[32.2056818638333,-94.006955924262],[32.1470658237839,-93.9677995152791],[31.9995480223953,-94.1257935288164],[31.9427521282225,-94.0908619389264],[31.885439669577,-94.0571440636717],[31.8276289952179,-94.0246483428695],[31.7693385756371,-93.9933827762535],[31.7105869964665,-93.9633549240458],[31.7043918812588,-93.7799030178845],[31.6424398463509,-93.7513969317779],[31.5800688349838,-93.7241996688379],[31.5327801118376,-93.6450930023988],[31.4688278285055,-93.6202549424113],[31.4023546689786,-93.6051265771242],[31.3378217826354,-93.5830155889247],[31.2729664913611,-93.5622531013292],[31.2078091123931,-93.5428427743985],[31.101701063609,-93.7333411539814],[31.0391424189131,-93.7173052534019],[30.9763522910139,-93.7025636993156],[30.9133501691264,-93.6891184715623],[30.8501555680952,-93.6769711364077],[30.7867880222842,-93.6661228494302],[30.7630680995857,-93.2658628729439],[30.6933188970681,-93.2596641384975],[30.6242328676637,-93.244793420535],[30.5542014109277,-93.2425824776252],[30.4843538837352,-93.2380097483372],[30.4147119331317,-93.2241995150438],[30.3446783040539,-93.2151103203326],[30.2744356301004,-93.212989796514],[30.2043901535692,-93.224466866499],[30.1341772283622,-93.2230472647185],[30.0635525036947,-93.2163027075995],[29.9932435746293,-93.2196589412837],[29.924097663556,-93.2384448837089],[29.8531946348673,-93.2353675909833],[29.780870947198,-93.2228539792702],[29.7139028879881,-93.2580724571511],[29.6458338088319,-93.2804615724779],[29.5881574177761,-93.3669916628374],[29.5303166724136,-93.4396710621586],[29.4667221695105,-93.4722472051174],[29.3904286671805,-93.4401289351269],[29.3237874985067,-93.459088007187],[29.2655189278671,-93.5134703614521],[29.2043492137074,-93.5520135444905],[29.1492895425469,-93.6111956036496],[29.0901719300002,-93.6519285896716],[29.0062149277611,-93.6086944997096],[28.956027259458,-93.6783294999947],[28.8930804497676,-93.7057045858548],[28.8123820547657,-93.6830791921383],[28.7321173862997,-93.666592365894],[28.6614827324497,-93.6790560169692],[28.6330748682913,-93.7962789171853],[28.6192343665542,-93.9404236853745],[28.5601634877766,-93.9738553510283],[28.4757963253562,-93.9529821162448],[28.4164836200724,-93.9882692025744],[28.3946614677332,-94.0978525069599],[28.3477083283372,-94.1540481020991],[28.3112286126236,-94.2280497214318],[28.285053022547,-94.3176238047698],[28.2318372700904,-94.3575237574186],[28.2090510411001,-94.447312433906],[28.157928430403,-94.4887934205334],[28.0965276471991,-94.5145912717658],[27.991847496967,-94.4779873847092],[27.8634452549297,-94.4135863442776],[27.7731941786557,-94.4089942597085],[27.7037951227078,-94.435479898286],[27.6599070367323,-94.4959488367183],[27.6061460217448,-94.5436591787904],[27.5471736266161,-94.5854694278778],[27.4747159219384,-94.6125934145953],[27.442407809267,-94.6859127124029],[27.4561965321293,-94.8073135123751],[27.4316989797509,-94.8847424884595],[27.3397946804606,-94.8933480061486],[27.2843612059548,-94.9403649690196],[27.2325446259756,-94.9914751932372],[27.1872326506172,-95.0489496233558],[27.1698863329203,-95.130840764275],[27.1203737910491,-95.1842882306048],[27.0825973913184,-95.2477323576493],[27.0629349052193,-95.3251681920274],[27.0383859543035,-95.3978445216288],[27.0719081617334,-95.5118990957481],[27.1229499682871,-95.6345102133276],[27.0896020217219,-95.6957908202524],[27.0571822330361,-95.7576786195233],[27.026292841694,-95.8205252508084],[27.075568448416,-95.9313152473253],[27.046699938504,-95.9933716598795],[27.0187708242009,-96.055951978738],[26.9917889025525,-96.11903845328],[26.9643168154285,-96.1818850468225],[26.9392408243671,-96.2459578412543],[26.9126644081817,-96.3093499166504],[26.8090001977514,-96.3392192511983],[26.7869315521333,-96.4064330494421],[26.8488331462396,-96.5066454869047],[26.9427854910681,-96.6153244587319],[26.9256834397182,-96.6801657207443],[26.9081246219366,-96.7448058348565],[26.8915429008814,-96.8097598600112],[26.834457219578,-96.8629678602559],[26.8196676302728,-96.9292843350778],[26.8058800844445,-96.9958629828758],[26.8784575476864,-97.0823491943286],[26.9278224626136,-97.1606122548946],[26.9175076371322,-97.2250837628846],[26.9081664892529,-97.2897360745921],[26.893193616258,-97.3535428208009],[26.9857399564966,-97.4319646413757],[26.980459417724,-97.4953868587815],[26.9751854738236,-97.5587883479365],[26.9831255247005,-97.6232106102805],[27.1093911584831,-97.6939372176238],[27.1070930269173,-97.7548524811059],[27.1684363675992,-97.8169963355301],[27.167985621161,-97.876768],[27.1216282113594,-97.9374312865163],[27.1230004940423,-97.9980776505987],[27.1662220595079,-98.056349169126],[27.2227072875589,-98.1120590370698],[27.2266986585214,-98.1707583828356],[27.2993461636935,-98.2215876824536],[27.3404080311962,-98.2740526403205],[27.3663424815757,-98.3274857725946],[27.4058182406729,-98.3778256603091],[27.4202304206503,-98.4317586441235],[27.4824892293891,-98.4752603317574],[27.4919206501605,-98.5289627988991],[27.5021605889145,-98.5824815500781],[27.5899961604962,-98.614786385644],[27.6227339391992,-98.6601738329818],[27.6559185320889,-98.7045635754528],[27.6844345907734,-98.7496666397982],[27.6979749996187,-98.799481080658],[27.7122646561464,-98.8490341811378],[27.701570123772,-98.9086053098492],[27.7508681088178,-98.9440108550148],[27.7673295787433,-98.9925452968945],[27.7845205333308,-99.0407631506382],[27.7495655162544,-99.1145168350978],[27.6511514190609,-99.223152294542],[27.6748129980533,-99.2720217731418],[27.7345020428031,-99.3006586013126],[27.7563437035895,-99.3495191043332],[27.7789189006897,-99.3979619499883],[27.7947769264451,-99.4506836821301],[27.7682562156309,-99.5317011901128],[27.7634591263661,-99.600518730855],[27.7826246944435,-99.65395250954],[27.8059106375022,-99.7047721661119],[27.8338346019346,-99.75229103006],[27.9345825169535,-99.7419739685642],[27.9630485921797,-99.7870142907467],[27.9921894968419,-99.8315100100636],[28.0127416567184,-99.8836463740976],[27.9777012782577,-99.9873652148164],[28.0098601049603,-100.031605462472],[27.9779458551977,-100.138778844473],[27.9304497941121,-100.266158627027],[28.0070174623911,-100.26916615448],[28.0874973787774,-100.264944037797],[28.1375441650391,-100.291647522153],[28.2002644912361,-100.302504868555],[28.2443177621296,-100.333814256252],[28.2816591389678,-100.37294960845],[28.3195848016974,-100.411367449236],[28.3578969228766,-100.449306815653],[28.3969620376231,-100.486258157263],[28.4250636827215,-100.539036586701],[28.4773158503341,-100.557023953824],[28.529646433067,-100.573625160707],[28.5803451542737,-100.591540362828],[28.6412764831405,-100.591242139333],[28.7082079908877,-100.578040465585],[28.7586846199352,-100.591024021627],[28.7998261216278,-100.620177559995],[28.8321985567841,-100.666457250665],[28.8742966240079,-100.694529875287],[28.9169804982764,-100.721439860558],[28.9638381091495,-100.739200425192],[29.0144614671084,-100.747608790027],[29.0744377281122,-100.732025844088],[29.1496860602757,-100.674189280425],[29.2294128264176,-100.596545536339],[29.2934617011788,-100.552566144165],[29.3376432483705,-100.560304271185],[29.3849346176496,-100.557290686115],[29.4275125847952,-100.567412286754],[29.4735033327751,-100.564979627934],[29.535459467136,-100.501497995858],[29.5945032512799,-100.439103154737],[29.64273913174,-100.411636659614],[29.6810458721345,-100.423257800635],[29.7275917882281,-100.394708266721],[29.7749155722283,-100.355371394217],[29.8123545262369,-100.364338434311],[29.8648965070618,-100.276846310833],[29.9085455843454,-100.231194461553],[29.9498938921533,-100.190835680986],[29.9848267596206,-100.19626023964],[30.017365354724,-100.227366936162],[30.0528385818081,-100.231443044632],[30.086664004754,-100.26167744225],[30.1226438199123,-100.264366238474],[30.1588476822152,-100.260641892466],[30.1948009327247,-100.261875844458],[30.2308831591021,-100.222134849834],[30.2662451162395,-100.221906921952],[30.3015982559811,-100.220964504467],[30.3387272940677,-100.261720215673],[30.3809541605242,-100.369874366602],[30.4232339299041,-100.432766342713],[30.4684104909974,-100.506339672868],[30.5042046939099,-100.463582963937],[30.5431635944344,-100.45787481266],[30.5824322579077,-100.454424694619],[30.623691894553,-100.463795368059],[30.662635697218,-100.455657822097],[30.7068546085435,-100.477101493346],[30.7519258016463,-100.4979957393],[30.79136527147,-100.48725288286],[30.8317548841699,-100.48067282619],[30.873140632609,-100.477506788354],[30.9135750342295,-100.469424371889],[30.956362189571,-100.469278228068],[30.992381232665,-100.444152142447],[31.0309722815814,-100.428475252243],[31.0787886716587,-100.441255207263],[31.1193099466771,-100.429636695388],[31.1623040896231,-100.424313454623],[31.2262213650432,-100.473495293841],[31.2675019207751,-100.458830276275],[31.3098474125634,-100.446197949721],[31.3441811553185,-100.414117904013],[31.3748706984609,-100.374704262825],[31.3779891965122,-100.277749616142],[31.3970538504662,-100.219382475555],[31.4100986779203,-100.151918843762],[31.4442207295443,-100.127567072855],[31.47879181029,-100.103994847119],[31.5121808135592,-100.078210282741],[31.5318228652819,-100.029260708936],[31.5461305458562,-99.9732846746746],[31.5775388084974,-99.9460781730548],[31.61423534656,-99.926802039597],[31.6507458596975,-99.9066180692406],[31.6107990724479,-99.7787535895058],[31.6226325873404,-99.7277339890501],[31.6503272666364,-99.6988983343459],[31.6335638656583,-99.6142063077306],[31.6595452830615,-99.58512830571],[31.6850842302409,-99.5555061497986],[31.7101725645077,-99.5253488197037],[31.7386826091323,-99.4988954749962],[31.7629090053277,-99.4676150422764],[31.7866599690387,-99.4358261361445],[31.8272473827167,-99.4205153233814],[31.8053649052453,-99.344925944129],[31.8272593150401,-99.3122399013506],[31.8399739488663,-99.2714689097477],[31.7765481793916,-99.1668880716027],[31.7957625713997,-99.1347920163679],[31.8144899616085,-99.1022933435296],[31.8327243495389,-99.0694022069416],[31.8991783869723,-99.0714327150763],[31.9169340693635,-99.0367699089628],[31.9341642528936,-99.0017343635459],[31.9727857001305,-98.9804056192273],[32.0206499009328,-98.9635780614643],[32.0619365958853,-98.9412070739342],[32.0777027953801,-98.903129207492],[32.1249936721082,-98.8820036663312],[32.1685147345495,-98.8573211376363],[32.1829990336221,-98.8170018977824],[32.0695860912244,-98.7173180956255],[32.0819747687372,-98.6790805590709],[32.0937848367649,-98.6405837736476],[32.3184351903368,-98.6857398881849],[32.4000645979647,-98.6681498879711],[32.5468479211339,-98.6701143247382],[32.4704575134878,-98.5930973661767],[32.4809090810056,-98.5464069355448],[32.4906548423258,-98.4994972317053],[32.3917810199443,-98.424521500389],[32.3997028470975,-98.3795065103325],[32.4069445310399,-98.3343273367148],[32.3352909496924,-98.2739826126182],[32.34095146974,-98.2301744881734],[32.3459504047887,-98.1862511708641],[32.3502861223756,-98.1422269600057],[32.4958803296507,-98.1131781845773],[32.4990900807535,-98.0659891804369],[32.5015876475757,-98.0187381719322],[32.6401431656783,-97.9772523877613],[32.6095990458952,-97.9263447809932]]}],"lat":30.216392,"elev_amsl":269.096,"id":"MAKIULAL","lon":-97.876768}


It is then fairly straightforward to plot those coordinates as an overlay on the map (the red polygon is the 10,000 ft view, i.e.3048 meters).

Image


He also told me how you can change the refraction value that his script uses to one more suitable for RF. If you enter his site through the URL: http://www.heywhatsthat.com/?refraction=1 then, when you create a new view, you are given the option to set the refraction value. He suggests using 0.25 instead of the default 0.14 which is used for visible light.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Tue Nov 03, 2015 2:38 pm 
Offline
FlightAware Member
abcd567 - FlightAware user avatar

Joined: Sat Feb 15, 2014 3:08 am
Posts: 1977
Location: Toronto CYYZ
@lignumaqua:
This is great. Thanks for sharing.
Can you please give detailed step-by-step method of adding the above data / json output to the gmap.html of dump1090/dump1090-mutability? This will greatly help Linux noobs, who will otherwise will not be able to benefit from your valuable effort. Thanks.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Thu Nov 05, 2015 12:38 pm 
Offline
FlightAware Member

Joined: Sat Apr 11, 2015 6:56 pm
Posts: 87
Thanks! I hard coded mine into script.js.

Warning, this is an ugly way to do it, and will probably make people giggle. :-)

Image

I converted the list of Lat/Long to a Javascript array and added a function called by script.js

Here's my one file, 10000.js (most of the lat/long pairs have been remove to make this post smaller:

function drawPoly10000() {
// Define the LatLng coordinates for the polygon's path.
var triangleCoords = [
{lat: 45.6135146602288, lng: -77.6161519},
{lat: 45.6537535024284, lng: -77.5529012740097},
{lat: 45.6943856556383, lng: -77.4874881034763},
{lat: 45.6131185010622, lng: -77.6783436514525}
];

// Construct the polygon.
var tenkTriangle = new google.maps.Polygon({
paths: triangleCoords,
strokeColor: '#FF0000',
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: '#FFFFFF',
fillOpacity: 0.35
});
tenkTriangle.setMap(GoogleMap);
}


Then in script.js I added this right before "if (SiteCircles) {"

drawPoly10000();

Also, add this to gmap.html

<script type="text/javascript" src="10000.js"></script>


Repeat process for other radius polygons if desired.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Fri Nov 06, 2015 12:39 pm 
Offline
FlightAware Member
abcd567 - FlightAware user avatar

Joined: Sat Feb 15, 2014 3:08 am
Posts: 1977
Location: Toronto CYYZ
@wnypoker:

Great! Thanks.
You made life easier for noobs with little knowledge of coding HTML/javascript/Linux.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Tue Nov 10, 2015 11:46 am 
Offline
Maffewem - FlightAware user avatar

Joined: Wed Jan 28, 2015 5:47 pm
Posts: 49
Location: Newcastle, United Kingdom
I have been a bit inactive over the last few months but thought I'd spring back in a moment or two ... looking at mine (I do live in a bit of a ditch);
I'm lucky to reach what is within 'Orange line' and certainly don't reach the blue at all, I have reached near Edinburgh in the past but not sure what happened. Unfortunately my antenna is only facing North as it's at the front of my house and I could try placing it in the loft/attic however the USB cable would have to be pretty lengthy for this to attempt it or since my garden got re-done I guess I could attempt to put it outside and have the PI near the door in the kitchen but I don't want to ruin the door seal.


Image


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Thu Nov 12, 2015 6:02 pm 
Offline
FlightAware Member
jvcdcarlos - FlightAware user avatar

Joined: Thu Apr 23, 2015 4:57 am
Posts: 195
nice post thanks for sharing


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Fri Nov 13, 2015 7:05 pm 
Offline
FlightAware Member
ieand - FlightAware user avatar

Joined: Tue Sep 29, 2015 12:20 am
Posts: 104
Code:
http://www.heywhatsthat.com/api/upintheair.json?id=myviewid&alts=10000


Is anyone able to get the json query to work now?
I just get a "200 OK" response but no data, maybe they have disabled that API function :(


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Sun Nov 15, 2015 8:32 pm 
Offline
FlightAware Member
lignumaqua - FlightAware user avatar

Joined: Fri Oct 16, 2015 12:05 am
Posts: 125
Location: Austin, TX
ieand wrote:
Code:
http://www.heywhatsthat.com/api/upintheair.json?id=myviewid&alts=10000


Is anyone able to get the json query to work now?
I just get a "200 OK" response but no data, maybe they have disabled that API function :(


Yes, it's working fine. I suspect you have used the wrong id to substitute for 'myviewid' in the API call. It's not the name that you give the view, it's the ID that the website assigns. You can see that on the view page (indicated text here). In my case, even though I called the view 'lignum14138' my website assigned ID is 'MAKIULAL'

Image


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Mon Nov 16, 2015 1:51 am 
Offline
FlightAware Member
ieand - FlightAware user avatar

Joined: Tue Sep 29, 2015 12:20 am
Posts: 104
lignumaqua wrote:

Yes, it's working fine. I suspect you have used the wrong id to substitute for 'myviewid' in the API call.


Thanks lignumaqua, that was the problem. The call is working fine now.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Wed Nov 25, 2015 12:55 pm 
Offline
FlightAware Member
jprochazka - FlightAware user avatar

Joined: Sat Aug 22, 2015 12:18 am
Posts: 517
Location: Elyria, Ohio USA
Looking at what I came up with as well as wnypoker's screen shot using his instructions and the coordinates from the API the resulting range is WAY off. Looking at the coordinates coming from the API and comparing them to the HeyWhatsThis.com map the API coordinates appear to be off almost as if they were scaled up by 400 percent.

Here is the output for a max range at 10000 feet as displayed on heywhatsthat.com.

Image

Now a plot in Dump1090's gmap.html using the data for 10000 feet from the API.

Image


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Wed Nov 25, 2015 7:08 pm 
Offline
FlightAware Member
lignumaqua - FlightAware user avatar

Joined: Fri Oct 16, 2015 12:05 am
Posts: 125
Location: Austin, TX
The API uses meters, so you need to request data for 3048 m if you want 10,000 ft. I suspect you asked for 10,000? :D

jprochazka wrote:
Looking at what I came up with as well as wnypoker's screen shot using his instructions and the coordinates from the API the resulting range is WAY off. Looking at the coordinates coming from the API and comparing them to the HeyWhatsThis.com map the API coordinates appear to be off almost as if they were scaled up by 400 percent.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Wed Nov 25, 2015 7:24 pm 
Offline
FlightAware Member
jprochazka - FlightAware user avatar

Joined: Sat Aug 22, 2015 12:18 am
Posts: 517
Location: Elyria, Ohio USA
lignumaqua wrote:
The API uses meters, so you need to request data for 3048 m if you want 10,000 ft. I suspect you asked for 10,000? :D

jprochazka wrote:
Looking at what I came up with as well as wnypoker's screen shot using his instructions and the coordinates from the API the resulting range is WAY off. Looking at the coordinates coming from the API and comparing them to the HeyWhatsThis.com map the API coordinates appear to be off almost as if they were scaled up by 400 percent.


Now that would make sense!
Will check it out again here shortly.

Works good thanks for pointing out the coordinates are in meters.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Mon Dec 14, 2015 8:18 am 
Offline
FlightAware Member
antthomas - FlightAware user avatar

Joined: Sat May 30, 2015 8:20 am
Posts: 90
That's a great addition.

Good to see theoretical limits when you think you might be missing out but really it's actually impossible to get further in a certain direction.

Added 40000 and 10000

edit: Went the full way and added 40k, 30k, 20k and 10k. Maybe a bit cluttered. Should probably change the colours to match the plane altitude colours.

Image


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Sun Dec 20, 2015 12:45 pm 
Offline
FlightAware Member
antthomas - FlightAware user avatar

Joined: Sat May 30, 2015 8:20 am
Posts: 90
I must admit I'm quite surprised at how accurate the heywhatsthat overlays can be

Image

Image


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Sun Dec 20, 2015 6:56 pm 
Offline
dschieszer - FlightAware user avatar

Joined: Sat Jun 27, 2015 12:12 am
Posts: 4
Well I guess I just appreciate a good hack, but I think this is a great solution! Before I go dig out my "sed and awk" book did you have a quick way to change the json results into your javascript array?

I hadn't even experimented yet with customizing the dump1090 web page until I read this. Now I have mine auto centering on my location and marking it, pretty cool. I will likely add one or two of these polygons now.



wnypoker wrote:
Thanks! I hard coded mine into script.js.

Warning, this is an ugly way to do it, and will probably make people giggle. :-)

Image

I converted the list of Lat/Long to a Javascript array and added a function called by script.js

Here's my one file, 10000.js (most of the lat/long pairs have been remove to make this post smaller:

function drawPoly10000() {
// Define the LatLng coordinates for the polygon's path.
var triangleCoords = [
{lat: 45.6135146602288, lng: -77.6161519},
{lat: 45.6537535024284, lng: -77.5529012740097},
{lat: 45.6943856556383, lng: -77.4874881034763},
{lat: 45.6131185010622, lng: -77.6783436514525}
];

// Construct the polygon.
var tenkTriangle = new google.maps.Polygon({
paths: triangleCoords,
strokeColor: '#FF0000',
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: '#FFFFFF',
fillOpacity: 0.35
});
tenkTriangle.setMap(GoogleMap);
}


Then in script.js I added this right before "if (SiteCircles) {"

drawPoly10000();

Also, add this to gmap.html

<script type="text/javascript" src="10000.js"></script>


Repeat process for other radius polygons if desired.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Sun Dec 20, 2015 11:42 pm 
Offline
dschieszer - FlightAware user avatar

Joined: Sat Jun 27, 2015 12:12 am
Posts: 4
I am curious how did you do airplane colors by altitude?

antthomas wrote:
That's a great addition.

Good to see theoretical limits when you think you might be missing out but really it's actually impossible to get further in a certain direction.

Added 40000 and 10000

edit: Went the full way and added 40k, 30k, 20k and 10k. Maybe a bit cluttered. Should probably change the colours to match the plane altitude colours.

Image


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Mon Dec 21, 2015 3:19 am 
Offline
FlightAware Member
mgunther - FlightAware user avatar

Joined: Fri Nov 28, 2014 10:27 am
Posts: 330
dschieszer wrote:
Before I go dig out my "sed and awk" book did you have a quick way to change the json results into your javascript array?

I used the basic text editing app on my Mac and did a number of Search/Replace operations. I used nano on the Pi to edit the javascript and just copied in my array definition.

dschieszer wrote:
I am curious how did you do airplane colors by altitude?

Dump1090-mutability version 1.15~dev does this by default.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Mon Dec 21, 2015 11:07 am 
Offline
FlightAware Member

Joined: Sat Apr 11, 2015 6:56 pm
Posts: 87
dschieszer wrote:
Well I guess I just appreciate a good hack, but I think this is a great solution! Before I go dig out my "sed and awk" book did you have a quick way to change the json results into your javascript array?

I hadn't even experimented yet with customizing the dump1090 web page until I read this. Now I have mine auto centering on my location and marking it, pretty cool. I will likely add one or two of these polygons now.



I used BBEDIT and find/replace to build a list of values and then prepend and append to format the list. It was a one off so I didn't bother scripting it, only took about 20 seconds.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Mon Dec 21, 2015 12:01 pm 
Offline
FlightAware Member
phillx19090 - FlightAware user avatar

Joined: Fri Nov 06, 2015 10:14 am
Posts: 150
Location: Valencia, Spain
I thought I was getting to grips with the piaware.

Especially when I read this thread and nearly understood it! :roll: Anyway, what ever I did, didn't work, but at least I haven't broken it this time. The map still displays, aircraft still show up, but my hoped for visibility limit hasn't appeared.

Bound to be finger trouble somewhere. fault finding, don't you just love it!

Phill


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Mon Dec 21, 2015 12:45 pm 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3443
basic support in dump1090-mutability here

You need to download the json file and put it in dump1090's html dir by hand, as heywhatsthat.com doesn't allow cross-origin script access to the API so the map script can't just request it directly.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Mon Dec 21, 2015 1:07 pm 
Offline
dschieszer - FlightAware user avatar

Joined: Sat Jun 27, 2015 12:12 am
Posts: 4
Thanks guys! I got it working too. I did the same, just a few find/replace strings and edited the rest by hand.

I am running the "PiAware" image right now so I am not sure if I want to mess with swapping out my dump1090 version, although I do like the color thing!

I built the scripts for 10K,20K,30K, and 40K feet, but I am only using the first three as my range obviously drops off before I ever get to the 40K ring. No suprise to me that these things are pretty circular, I live in a pretty flat part of the country, but I do think it is a funny coincidence that my range for 10K feet lines up pretty closely with the 100nm ring, 20K feet with the 150nm ring, and 30K feet with the 200nm ring. I think in all honesty I could either turn off the range rings or leave out my calculated rings.

Oh, and one thing that heywhatsthat can't calculate is that I have my antenna in a north facing window and I am almost completely blind to the south because of that. That is why you don't see much south of my location.

Image

mgunther wrote:
dschieszer wrote:
Before I go dig out my "sed and awk" book did you have a quick way to change the json results into your javascript array?

I used the basic text editing app on my Mac and did a number of Search/Replace operations. I used nano on the Pi to edit the javascript and just copied in my array definition.

dschieszer wrote:
I am curious how did you do airplane colors by altitude?

Dump1090-mutability version 1.15~dev does this by default.


Top
 Profile  
 
 Post subject: Re: What is the Maximum Range I can Get?
PostPosted: Mon Dec 21, 2015 5:06 pm 
Offline
FlightAware Member
abcd567 - FlightAware user avatar

Joined: Sat Feb 15, 2014 3:08 am
Posts: 1977
Location: Toronto CYYZ
dschieszer wrote:
I am curious how did you do airplane colors by altitude?

mgunther wrote:
Dump1090-mutability version 1.15~dev does this by default.

Hi dschieszer!
Member mgunther has given an excellent method to build & install dump1090-mutability v1.15 ~dev in thread What is Easiest Way To Install Dump1090-Mutability. Click here to see the procedure.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 416 posts ]  Go to page 1, 2, 3, 4, 5 ... 17  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: