One of my goals this week is to add elevation profiles between QSO stations as a Datasette enrichment to our ham radio QSO Datasette utility. It's turning into a bit more of a convoluted project that I'd expected, so I'm taking the time to right down the first pass of the steps in the process. Here are the broad strokes:
- Complete a partial path Datasette plugin to find the coordinates of a small portion of the path between stations to use as the endpoint for an elevation profile path. This is already done.
- Use those coordinates as an input to a Datasette plugin that returns the elevation profile as json data. The first step of this has been prototyped. (It's looking like installing jq for Python on Windows is going to be a bit of an issue, so I'll find a different way to parse the returned json. I've done similar tasks with the ionosonde data and the rx station geocoding data.
- Produce charts as images for each row so that the query immediately presents a summary of all elevation data.
As for actual steps to be completed, here's what I have so far. More on this very, very soon.
Add a div, then using the DOM execute the JavaScript code to draw the graph ala this page.
Use jq to format the elevation data into JSON using the definitions here.
Comments
Post a Comment
Please leave your comments on this topic: