diff --git a/img/GPS_Map.png b/img/GPS_Map.png new file mode 100644 index 0000000..d7c8fab Binary files /dev/null and b/img/GPS_Map.png differ diff --git a/img/Python_S1.png b/img/Python_S1.png new file mode 100644 index 0000000..8c0fe99 Binary files /dev/null and b/img/Python_S1.png differ diff --git a/img/Python_S2.png b/img/Python_S2.png new file mode 100644 index 0000000..a0e91ca Binary files /dev/null and b/img/Python_S2.png differ diff --git a/index.html b/index.html index 44a2e83..ff2e634 100644 --- a/index.html +++ b/index.html @@ -165,8 +165,41 @@
- ...
+ Moving onto week 4, although we were unable to obtain a GPS tracker, my team and I continued to work on
+ finding solutions for plotting captured pathway locations on a map. We discovered a website guide: a GPS
+ tracker that uses an SD card to record GPS locations, which can then be
+ used to plot the coordinates on a map using a Python script with the Cartopy library. Since the website is
+ relevant to our GPS location project, we decided to use the website as a fundamental foundation to guide,
+ assist and enhance our SEER Project.
+
+ Website link: https://makersportal.com/blog/portable-gps-tracker-with-arduino
+
+ At the current moment, my team and i are limited to only ESP32 NodeMCU and the python script guide (from
+ makersportal) that is available to
+ be worked and improved on. Hence, I decided to fill in randomly generated latitude & longtitude around Ngee
+ Ann Polytechnic in a csv file to try and test if the python script is capable of plotting
+ the Geo locations on a map.
+
+ To plot the pathway map, I used Jupyter Notebook to compile and execute the Python script. Initially, the
+ execution failed because the Cartopy library was missing. (Cartopy is a Python library for geospatial data
+ processing and visualization. It is built on top of the Matplotlib library and provides a variety of
+ features with geospatial data and support map projections.) Thus, using the anaconda prompt, i installed the
+ library via pip install cartopy.
- Python script guide from Makersportal -
+- How the python script works -
++ It works by parsing the GPS coordinates from a CSV file, and then formatting them for use with + Cartopy. Next, it creates a Cartopy GeoAxes object and projects it using the coordinate reference system + (CRS) of a street map. It then sets the extent of the map, adds the street map image, and plots the GPS + points. +
- Map output from python script -
+- Day 1 -
++ ... +
+- Day 2 -
++ ... +
+- Day 3 -
...