Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanzimanyi committed Jul 9, 2024
1 parent 8f863ab commit b8d5297
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 24 deletions.
32 changes: 10 additions & 22 deletions develop/html/ch03s05.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,7 @@
The final statistics visualization will look like this:
</p><div class="figure"><a name="idm1246"></a><p class="title"><b>Figure 3.13. Statistic visualization of number of flights by license
type</b></p><div class="figure-contents"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="30%"><tr><td><img src="images/StatisticVisualizationByFlightType.png" width="100%" alt="Statistic visualization of number of flights by license type"></td></tr></table></div></div></div><br class="figure-break"></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="idm1253"></a>Flights Taking-off in Some Interval of Time (User-Defined)</h3></div></div></div><p>
<span class="strong"><strong>Note:</strong></span>
This query makes used
of a sample set of data that has 200 flights to return results.
<span class="quote"><span class="quote">flight_traj_sample</span></span>
is just a sampled version of
<span class="quote"><span class="quote">flight_traj</span></span>. As of the writing of this workshop,
Grafana does not support display of vectors, and so individual
latitude and longitude points are used as a proxy.
<span class="strong"><strong>Note:</strong></span> This query makes used of a sample set of data that has 200 flights to return results. <span class="quote"><span class="quote">flight_traj_sample</span></span> is just a sampled version of <span class="quote"><span class="quote">flight_traj</span></span>. As of the writing of this workshop, Grafana does not support display of vectors, and so individual latitude and longitude points are used as a proxy.
</p><p>
In order to make the query use Grafana global time range panel replace
the hard-coded timestamps with the ‘[${__from:date}, ${__to:date} )’.
Expand Down Expand Up @@ -317,22 +310,17 @@
</p></li><li class="listitem"><p>
Color scheme: Green-Yellow-Red (by value)
</p></li></ul></div></li><li class="listitem"><p>
We will also add a manual override (top right of panel options, beside "All") to limit the minimum value of vertrate. This will make all values
below the minimum the same color, making larger values more obvious. This can be used to quickly
pinpoint locations where a large rate of ascent existed.
</p><p>
We will also add a manual override (top right of panel options, beside "All") to limit the minimum value of vertrate. This will make all values below the minimum the same color, making larger values more obvious. This can be used to quickly pinpoint locations where a large rate of ascent existed.
</p><p>
<span class="strong"><strong>Overrides</strong></span>
</p><div class="itemizedlist"><div class="itemizedlist"><ul class="itemizedlist compact" style="list-style-type: circle; "><li class="listitem"><p>
Min: 5
</p></li><li class="listitem"><p>
Max: 20
</p></li></ul></div><ul class="itemizedlist compact" style="list-style-type: disc; "><li class="listitem"><p>
</p><div class="itemizedlist"><ul class="itemizedlist compact" style="list-style-type: disc; "><li class="listitem"><p>
Add field override &gt; Fields with name &gt; vertrate
</p></li></ul></div></li></ol></div><p>
Here is a zoomed in version of how each individual flight ascent will look, as well as a view of
multiple flights at the same time. The marker size is increasing with altitude, and the color is showing
more aggressive vertical ascent rates. We can see towards the end of the visualized ascent period, there
is a short increased vertical ascent rate.
</p><div class="itemizedlist"><ul class="itemizedlist compact" style="list-style-type: circle; "><li class="listitem"><p>
Min: 5
</p></li><li class="listitem"><p>
Max: 20
</p></li></ul></div></li></ul></div></li></ol></div><p>
Here is a zoomed in version of how each individual flight ascent will look, as well as a view of multiple flights at the same time. The marker size is increasing with altitude, and the color is showing more aggressive vertical ascent rates. We can see towards the end of the visualized ascent period, there is a short increased vertical ascent rate.
</p><div class="figure"><a name="idm1319"></a><p class="title"><b>Figure 3.14. Zoomed in view of flight ascent</b></p><div class="figure-contents"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="60%"><tr><td><img src="images/ZoomedInViewOfFlightAscent.png" width="100%" alt="Zoomed in view of flight ascent"></td></tr></table></div></div></div><br class="figure-break"><p>
The final visualization will look like the below.
</p><div class="figure"><a name="idm1327"></a><p class="title"><b>Figure 3.15. Final visualization with multiple flight ascents</b></p><div class="figure-contents"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="70%"><tr><td><img src="images/FinalVisualizationWithMultipleFlightAscents.png" width="100%" alt="Final visualization with multiple flight ascents"></td></tr></table></div></div></div><br class="figure-break"></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part 2 - Working with Discrete Points </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Complete Flight Data Business Intelligence Dashboard</td></tr></table></div></body></html>
4 changes: 2 additions & 2 deletions develop/html/ch04s02.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
WITH temp AS (
SELECT trip_id, route_id, service_id, stop_sequence,
LEAD(stop_sequence) OVER w AS stop_sequence2,
MAX(stop_sequence) OVER (PARTITION BY trip_id),
shape_id, arrival_time, LEAD(arrival_time) OVER w, perc, LEAD(perc) OVER w
MAX(stop_sequence) OVER (PARTITION BY trip_id),
shape_id, arrival_time, LEAD(arrival_time) OVER w, perc, LEAD(perc) OVER w
FROM trip_stops WINDOW w AS (PARTITION BY trip_id ORDER BY stop_sequence)
)
SELECT * FROM temp WHERE stop_sequence2 IS NOT null;
Expand Down
Binary file modified develop/mobilitydb-workshop.epub
Binary file not shown.
Binary file modified develop/mobilitydb-workshop.pdf
Binary file not shown.

0 comments on commit b8d5297

Please sign in to comment.