This is the main, details page. A title for the bird count area can be entered at the top of this screen, replacing 'PPC Plots 2022'. Each observation point is described by replacing Plot 1, Plot 2, etc. and latitude and longitude enter in the next two text fields. More conveniently pressing the + button to the right of the 'Your Location' will enter the coordinates in the lat/lon fields. After moving to the next observation point location entry can be repeated. This can be repeated for up to a total of 20 locations. If more points are needed for the bird count additional sets of 20 locations can be recorded.
Once all the locations have been entered, either from a first walk of the bird count area of from a set of coordinates, tapping the longitude field of the first row will highlight the lat/lon fields and display the distance to this fist point above the map. Moving towards the marker on the map will provide the distance to this point. Be aware of your surroundings as the distance is as the 'bird flies'. Follow available paths to this point. From each point touching the longitude field in the next row will provide the distance to the next point.
The SAVE page. The current location can be saved, added to the local device database after moving to the Save tab. You can edit entries on this page if necessary. Click the save button to save this location set.
It is possible to save multiple Location Sets to the iPhone (Files areas) or if connected iCloud (possibly in a folder called "Bird Count"). The Location Sets file in an iCloud folder can be accessed on your Macintosh computer (or iPad) for editing and archiving. Files in a suitable csv format can be placed in the iCloud folder on the computer for access on the iPhone.
The Load page. A location set stored on the device can be retrieved from this page. Here there two files file, Clicking on a green button will load the data for that location set. Multiple locations can be stored on the device or your iCloud account. Location sets can be deleted from the device store by swiping left. These could be developed in a spreadsheet, such as Numbers, and saved as a .csv file.
Technologies Used:
SwiftUI
MapKit with UIViewRepresentable
LocationManager to find the User
@EnvironObject to allow 'global' variables
CoreData for multiple location sets