forked from Ysurac/FlightAirMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.php
89 lines (68 loc) · 6.2 KB
/
about.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php
require('require/class.Connection.php');
require('require/class.Spotter.php');
$title = "About";
$top_header = "about.jpg";
require('header.php');
?>
<div class="info column">
<h1>About Barrie Spotter</h1>
<p>This is an open source project displaying <u>most</u> (mostly <a href="http://en.wikipedia.org/wiki/Instrument_flight_rules" target="_blank">IFR</a>) flights that have flown near the <a href="http://en.wikipedia.org/wiki/Barrie" target="_blank">Barrie, Ontario, Canada</a> area. The data is provided by <a href="http://flightaware.com/" target="_blank">FlightAware</a>. This project was created by me (<a href="http://www.mariotrunz.com" target="_blank">Mario Trunz</a>) as part of my passion of aviation and web design.</p>
<a name="history"></a>
<h3>History</h3>
<p>The project started in the summer of 2013 that captured only Airbus planes flying near Barrie, with data coming from <a href="http://flightradar24.com/" target="_blank">FlightRadar24</a>. It was setup so that FlightRadar24 would email me, and then from there posted to a Twitter account, and from there eventually to a database. Over time I have managed to find better sources and an additional need for data to become what it is today.</p>
<p>Currently this website hosts a large number of interesting statistics. The <a href="<?php print $globalURL; ?>/statistics">statistic pages</a> and any of the individual pages (such as aircraft, airlines, airports, routes etc.) have been designed based on what I actually wanted to see. It kind of served my needs to see the information in this database and I hope it will be useful for you too. And if you ever feel like you just can't find anything in particular you can always play to your heart's content in the <a href="<?php print $globalURL; ?>/search">search page</a> and combine any parameter to your liking.</p>
<p>I continue to make this database as useful as possible and evolve it over time. If you find any issues, data discrepancy or just want to give your feedback & suggestions <a href="<?php print $globalURL; ?>/contact">contact me</a>. I'll be very happy to assist anybody with any questions about the data or how to find it.</p>
<a name="coverage"></a>
<h3>Coverage</h3>
<p>I have set up a geofence of roughly 40-50km around Barrie, from the edge of Southern Georgian Bay to southern part of Innisfil and from around Collingwood eastward to just east of Lake Simcoe. The coverage area was designed for planes that are visible within the Barrie area. All airplanes flying above 30,000 feet are visible throughout the entire area from Barrie, as long as the weather cooperates off course. The map below points out the coverage area:</p>
<script>
$( document ).ready(function() {
//create the map
var map = L.map('map').setView([<?php print $globalCenterLatitude; ?>,<?php print $globalCenterLongitude; ?>], 8);
//initialize the layer group for the aircrft markers
var layer_data = L.layerGroup();
//a few title layers
L.tileLayer('https://{s}.tiles.mapbox.com/v3/{id}/{z}/{x}/{y}.png', {
maxZoom: 18,
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' +
'<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
'Imagery © <a href="http://mapbox.com">Mapbox</a>',
id: 'examples.map-i86knfo3'
}).addTo(map);
//create the bounding box to show the coverage area
var polygon = L.polygon(
[ [[90, -180],
[90, 180],
[-90, 180],
[-90, -180]], // outer ring
[[<?php print $globalLatitudeMin; ?>, <?php print $globalLongitudeMax; ?>],
[<?php print $globalLatitudeMin; ?>, <?php print $globalLongitudeMin; ?>],
[<?php print $globalLatitudeMax; ?>, <?php print $globalLongitudeMin; ?>],
[<?php print $globalLatitudeMax; ?>, <?php print $globalLongitudeMax; ?>]] // actual cutout polygon
],{
color: '#000',
fillColor: '#000',
fillOpacity: 0.2,
weight: 1
}).addTo(map);
});
</script>
<div id="map"></div>
<br /><br />
<a name="source"></a>
<h3>Source & Credits</h3>
<p>The data from FlightAware is coming from multiple sources. Not every aircraft is tracked on FlightAware, especially not older aircrafts as well as government aircrafts, however most modern airliners will work. You can learn more about how it works on <a href="http://flightaware.com/adsb/" target="_blank">FlightAware's ADS-B</a> page. Also, not every aircraft is shown to have flown exactly at that minute as seen on this site (aka real-time). There is a 5 minute delay on some of the sources.</p>
<p>However, none of this project would have been possible without the help and contributions of these organizations and people:</p>
<ul>
<li><a href="http://flightaware.com" target="_blank">FlightAware</a> - I use their API to access the data which allows me to get additional information. Data sources come from live ADS-B, FAA and other government agencies.</li>
<li><a href="http://sonicgoose.com" target="_blank">Sonic Goose (Rob Jones)</a> - Contributes ADS-B data within the Greater Toronto Area and South-central Ontario to numerous flight tracking sites, including FlightAware. A very big thank you to him! :)</li>
</ul>
<h3>Data License</h3>
<p>The data published by Barrie Spotter is made available under the Open Database License: <a href="http://opendatacommons.org/licenses/odbl/1.0/" target="_blank">http://opendatacommons.org/licenses/odbl/1.0/</a>. Any rights in individual contents of the database are licensed under the Database Contents License: <a href="http://opendatacommons.org/licenses/dbcl/1.0/" target="_blank">http://opendatacommons.org/licenses/dbcl/1.0/</a> - See more at: <a href="http://opendatacommons.org/licenses/odbl/#sthash.3wkOS6zA.dpuf" target="_blank">http://opendatacommons.org/licenses/odbl/#sthash.3wkOS6zA.dpuf</a></p>
<h3>Image Credits</h3>
<p>Airport icon from <a href="http://mapicons.nicolasmollet.com/">http://mapicons.nicolasmollet.com/</a> under <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons 3.0 BY-SA</a>.</p>
</div>
<?php
require('footer.php');
?>