maps.chandlerswift.com/layers/chains/kwik-trip
Chandler Swift 7957523c3c
Distribute data with layers instead of data/ dir
This was originally done to make the gitignoring easier, but ended up
being somewhat more complex when trying to include files, so they're
moving out closer to the point of use.
2023-07-25 19:14:05 -05:00
..
README.md Move chains to their own directory 2023-07-25 19:14:05 -05:00
get_data.py Distribute data with layers instead of data/ dir 2023-07-25 19:14:05 -05:00
layer.js Distribute data with layers instead of data/ dir 2023-07-25 19:14:05 -05:00
pin.svg Move chains to their own directory 2023-07-25 19:14:05 -05:00

README.md

See also https://chandlerswift.com/2022/04/16/the-holy-trinity.html

# Kwik Trip
# Export to CSV from https://www.kwiktrip.com/Maps-Downloads/Store-List
print("Searching for Kwik Trip locations")
kwiktrip_count = 0
with open('stores.csv') as f:
    reader = csv.DictReader(f)
    for row in reader:
        kwiktrip_count += 1
        stores.append({
            'chain': "Kwik Trip",
            'lat':  float(row['Latitude']),
            'long': float(row['Longitude']),
            'address': row['Address'].title(),
            'city': row['City'].title(),
            'state': row['State'],
            'zip': row['Zip'],
            'website': f"https://www.kwiktrip.com/locator/store?id={row['Store Number']}",
        })
print(f"{kwiktrip_count} locations found")