Return to Frontend
This application generates a placefile with range rings around a specified location. The user can specify the location by entering the latitude and longitude, the location name, and the filename to save the placefile as.
Author: Zach Hiris
Changelog
- 2024-10-01: Initial documentation update and pydantic validation
Example Requests
Return a placefile for Solider Field in Chicago with 10, 20, and 30 mile rings.
CGI Arguments
The following table lists the CGI arguments that are accepted by this service. A HTTP GET request is required. Fields of type Multi-Params or CSV value can accept either a comma separated list or multiple parameter and value combinations. For example, ?foo=1&foo=2 is equivalent to ?foo=1,2.
| Field | Type | Description |
|---|---|---|
| fn | string | Filename to save as |
| lat | number | Latitude (decimal degrees) of point of interest |
| lon | number | Longitude (decimal degrees) of point of interest |
| loc | string | Location name |
| m0 | number | Distance of first ring in miles |
| r0 | integer | Red component of color for first ring |
| g0 | integer | Green component of color for first ring |
| b0 | integer | Blue component of color for first ring |
| a0 | integer | Alpha component of color for first ring |
| t0 | string | Text to display for first ring |
| m1 | number | Distance of second ring in miles |
| r1 | integer | Red component of color for second ring |
| g1 | integer | Green component of color for second ring |
| b1 | integer | Blue component of color for second ring |
| a1 | integer | Alpha component of color for second ring |
| t1 | string | Text to display for second ring |
| m2 | number | Distance of third ring in miles |
| r2 | integer | Red component of color for third ring |
| g2 | integer | Green component of color for third ring |
| b2 | integer | Blue component of color for third ring |
| a2 | integer | Alpha component of color for third ring |
| t2 | string | Text to display for third ring |