Calculate the position of the Sun, Moon and Milky Way in order to plan the position and time for an photograph.
 
 
 
Go to file
Zwarf 28bcffd74e Bug fixes, smoothing transitions, removing not necessary code and rewriting some small details 2022-05-12 23:23:57 +02:00
build-aux/meson
data Change symbolic icon 2022-05-08 00:05:08 +02:00
po
screenshots
src Bug fixes, smoothing transitions, removing not necessary code and rewriting some small details 2022-05-12 23:23:57 +02:00
COPYING
README.md Error handling if no (moon and milky way) rise and set can be seen during the day 2022-05-10 15:28:34 +02:00
de.zwarf.picplanner.json
de.zwarf.picplanner.json~
icon.png
meson.build
title-image.png

README.md

PicPlanner

PicPlanner Icon

A GTK application for photographers using GNU Linux or especially Linux phones. It can be used to calculate the position of the Sun, Moon and Milky Way in order to plan the position and time for a photograph.

The Idea

People who love to photograph know, the biggest problem is being at the right spot at the right time. Therefore, landscape pictures should be planned before visiting the place of choice. To plan the location it is important to know the positon of the sun, moon and sometimes also the milky way. Where to find the sun at which time is most of the time easy to guess but when is the sunset? And for the milky way normally nobody knows where to find it in the night sky at which time at a specific location. This small program should answer all these questions.

Plan

+1.  Create a basic GNOME like GUI -- Starting from zero again... Update: I think we can call it basic now :D
+2.  Calculate the center of the milky way at a specific time -- Implemented and equations seem to be very precise (± 1°) 
+3.  Calculate the position of the sun -- Implemented and equations seem to be very precise (< ± 1°) 
+4.  Find the position of the moon at a spesific time -- Implemented and equations seem to be sufficiently precise (~ ± 2°) 
+5.  Present all calculated data in the GUI -- Most of the data is showen
+6.  Create the location search -- A simple offline search is implemented now more will follow
-7.  Implement "smarphone functionality" e.g. find location via GPS
+8.  Insert a map view with OSM
+9.  Visualise important data direktly on the map

Known Bugs

-1.  Automatic timezone selection is not very precise. For the timezone selection libgweather is used and the offline list has just a limited amount of datapoints which can result in a selection of the wrong timezone.
-2.  Map has some zoome levels which appear blurred. This could might be solved by switching to another renderer.
-3.  Docking PicPlanner to one half of the screen can result in a wrong, buggy view. Probably a problem with Xorg. Does not appear with Wayland.

Formulas used

Most of the formulas used are explained in detail directly inside the code. Reference is given or will be added soon. Some of these formulas are from the excellent book by Jean Meeus "Astronomical Algorithms". Others are from scientific papers or combined by me.

Libraries

  • GTK 4 is used to create the GUI.
  • Libadwaita is used to make the GUI adaptive.
  • GDK and Cairo will probably be used for the plots.
  • Shumate is used to show a map.
  • Libgweather is used for the offline search functionality.

Build

At the moment this application is NOT fully functional.

git clone https://gitlab.com/Zwarf/picplanner.git
cd picplanner
meson builddir
cd builddir
ninja
ninja install

Screenshots

New screenshots from the current state of the application.

screenshot-large screenshot-large screenshot-large screenshot-large screenshot-large screenshot-large