importPeakFinder()
Scientific results for this function.
The numerical horizon describes angular obstruction at the observer's location. A separate vector drawing supplies foreground detail but does not explicitly record its vertical angular calibration. Both exports are therefore needed to create a calibrated panorama PNG. Calculations always use the numerical horizon, never the PNG. Terrain data do not include every tree or building.
In PeakFinder choose Export, Horizon for Stellarium and save the ZIP. For an image also choose Export, SVG for printing, Silhouettes (Vector SVG), from 0 to 360 degrees, preferably picture format 16:2. Use exactly the same viewpoint and observer height for both. Contours (Bitmap SVG) is not supported. The PNG is a white terrain silhouette with dark foreground ridge lines and transparent sky, without labels or shading. Only PeakFinder's untransformed M/L vector path format is supported; edited or future formats may require adaptation.
Method references
PeakFinder, exported drawings attributed to PeakFinder under CC BY 4.0. Geometry conventions follow the Stellarium User Guide.
Checking the provider’s viewpoint.
Implementation arguments, return value and documented modes
| Argument | Formal default | Behaviour in this interface |
|---|---|---|
file |
— | Path to a PeakFinder Stellarium ZIP export. |
svg |
NULL |
Optional path to the matching full-circle Vector SVG export. |
elevation |
NULL |
Optional verified absolute observer elevation in metres. |
alt.unc |
0.5 |
Assumed horizon altitude uncertainty in degrees, a nonnegative scalar. |
width |
4096 |
PNG width in pixels, an integer from 512 to 8192. Default 4096. |
image.dir |
getwd() |
Directory for generated PNGs; defaults to the working directory. |
Return value
A skyscapeR.horizon containing a periodically extended numerical horizon, site and source metadata, and, on successful calibration, metadata$image with the external PNG path, checksum, angular bounds and calibration diagnostics.
Implementation. R/peakfinder.R. Full function help · Terrain horizons and panoramas outline · Photographic calibration and interchange · Importing site horizons