Skip to content

Instantly share code, notes, and snippets.

View JordanMakesMaps's full-sized avatar
🤠

Jordan Pierce JordanMakesMaps

🤠
View GitHub Profile
"""
A very simple script that makes you aware the power your stored location
data has on you. From your smartphone, use the location data
tutorial here (https://emerywolf.wordpress.com/)
to view your locations using Google Street View, through
instantstreetview.com.
The script takes the data it needs (lat,lon,time) from JSON file (default=Emery),
converts it (slightly), and stores it in a container. It then
forces open a webbrower using (GeckoDriver) and redirects to instantstreetview.
"""
This is a program to help clean up the School Shooting Dataset that was
web-scraped from Wikipedia.
Basically removes all of the excess data from the file and outputs the
location, date, deaths, injuries, and description of the event to a
clean .csv which can then easily be thrown into ArcGIS Online or any
other mapping software. Because the locations are only given as cities
and states, I'm using geopy's geolocator to get an approximate lat/lon
the point-shape files can be plotted in ArcGIS.
#Jordan Pierce
#This is a program that can be used with a Lowrance fishfinder in order to obtain
# the GPS locations, depth soundings, elevation, and temperatures. The program
# takes in a file in .csv format, strips the data listed above and stores it into a
# multidimensional array. The array then goes through and transforms the
# GCS positions (Lowrence uses a Mercator meter format), to an decimal degree format
# that can be used to project the locations on an standard projection (WGS84),
# [Function: MeterstoDeg()]. The last thing it does it takes all of the excess values,
# the zeros, and the NULL values for each record and removes them. The GPS records
# a position between .1-.9 seconds, while the depth sounder records a value every