Monday, December 9, 2019

How To Subscribe to Heja Calendars on Android Devices

My child's sport team uses Heja to communicate. The app provides a web link to subscribe to the team schedule calendar, but very little information on how to do it, and the google instructions are not very useful either. So here is a detailed procedure for subscribing to them.
  1. On your android device, open Heja
  2. Tap "schedule"
  3. Tap on the kebab menu (the three dots) in the upper right corner
  4. Tap "subscribe to team schedule"
  5. Tap "copy link"
  6. Open gmail (or some other app you can message yourself with)
  7. Send yourself an email
  8. Paste the link into the email
  9. Repeat steps 1-8 for your other heja teams
  10. Get on your laptop
  11. Open the email you sent yourself
  12. Copy the webcal link
  13. Open your google calendar
  14. Click the + next to "other calendars" in the left side bar
  15. Click "subscribe to calendar"
  16. In the left bar under "add calendar" click "from URL"
  17. Paste in the webcal URL
  18. Check the "make calendar public" box so you can share the google link you are about to create and save your teammates these steps
  19. Click "add calendar"
  20. Give the calendar a meaningful name
  21. Scroll down to "public URL"
  22. Copy it and share it with your team
  23. On your android device once again...
  24. Open google calendar
  25. tap on the hamburger menu (the 3 lines) in the upper corner to open the sidebar
  26. Swipe up to the bottom and tap "settings"
  27. Find your gmail address
  28. If the new team calendar doesn't show up here, tap "show more"
  29. If it still doesn't show up here, power off your phone, and back on, and come back to this point
  30. Tap on the team calendar
  31. Tap "sync" to turn on syncing switch
At this point you should be able to see your team calendar on your phone and your laptop.

Tuesday, September 27, 2016

log2map: Upload your logs and look at pretty maps!

Over the last few days I've slapped together a web app for turning your logs into SVG format interactive equidistant azimuthal maps.
It's pretty much demo quality but I thought you guys might like this and it works on my machine with my cabrillo v2 logs from na.exe! Works pretty good on a phone too if you send the map link to yourself after you create it.
The app georeferences the QSOs via in order of preference:
  1. QRZ.com (global lat/lot, best accuracy, optional, requires subscription (no affiliation))
  2. Callook.info (US-only; zip code area or better)
  3. ctydat (DXCC entities, kinda boring for DX maps)
The app front end is Durandal.js and D3.js. The backend is Python Flask.
You can download both the SVG (with pan/zoom intact) and the GeoJSON file populated with all the QSOs and log attributes.
You can also bookmark the map URL and come back to it later but beware this is a demo and I will be wiping the DB periodically so download the SVG and geojson if you want to save it.
You can also fork me on github: https://github.com/n1ywb/log2map
Please give me your feedback! I have a long feature list in my head. There are all sorts of ways you can visualize this data and d3.js doesn't hold you back.

    Friday, September 23, 2016

    d3 v2 to v3: replacing geo projection origin() with rotate()

    d3 v3 took away the origin() method for GIS projections and replaced it with the rotate() method which works just slightly differently. This all took me way to long to figure this out. The docs suck on this subject and Mike Bostock seems more concerned with snark.

    d3.js v2 example:

    var projection = d3.geo.azimuthal()
        .scale(380)
        .origin([-71.03, 42.37])
        .mode("orthographic")
        .translate([640, 400]);


    d3.js. v3 example: 

    var projection = d3.geoAzimuthalEquidistant()
        .scale(380)
        .rotate([71.03, -42.37]) // Note the flipped signs
        .translate([640, 400]);

    It's almost a 1:1 but note the reversed signed-ness; you normal lon/lat becomes a relative offset instead of an absolute position.

    Tuesday, January 7, 2014

    How to Make QSO Maps from your Ham Radio Logs Part 5/5

    Finally lets make a nice PDF suitable for printing or sharing with our friends. Go to the "Project" menu and select "Composer Manager". If necessary expand the "New from template" area. Change "empty composer" to "specific". Click on the "..." and select the "print composer template.qpt" file included with the project. You should see something like this:



    Click "Add", then click "OK". Your new composer window should open. You may close the composer manager.

    Your composer window should look like this



    Lets update the legend. Click on the legend and then click "Item Properties". Under "Legend Items" click the "+" icon. Select the "qso countries" layer and click "OK". Now you should see



    Thats it! Go to the "Composer" menu to print, export as PDF, or export as an image file.