Skip to content

Fancy clock, with worldtime, moon phase and satellite images

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

github-pfeifer-syscon-de/glglobe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glglobe

A nice desktop clock in earth shape, with

  • moon-phase
  • with worldtime
  • satelite images
  • geo.json display

Glglobe

Prerequisits

see genericImg, genericGlm, geodata

Build

The directory res requires some images, i didn't add here for the possible licence issues. They are download when build with curl, so if you are sensitve to licence issue, or want to use a different download-tool see res/Makefile.am.

configure: allow --with-gles using GL ES 3 e.g. useful on Raspi's (requires same use on GenericGlm)

Build for windows was integrated at least for msys2

  look for "$host_os" = "mingw32"

Costumizing

Additional formats: %D earth declination (for northern hemisphere)
%rise sun rise for the location setup by latitude / longitude
%set sun set
\n new line
%weather for the used weather time

Added option to display Geo.json files (presume EPSG:4326 coordinates (based on WGS 84 at the used scale the differences should not matter)). As there are many files with a high density of points around there are some limits implemented, just in case your might wonder. The function uses the shortest path between the given points, but as we live on a sphere (almost) that might hide some part of the lines (these cases should be rare, and i didn't try to bend the lines as i live in some aged country with "wrinkles" all over).

Navigation

The usual navigation options are a bit reduced here. Only the earth can be "moved" by:

Mouse scroll -> change distance

Drag right mouse buttton -> roll

Config-file

For some tweaking the config-file is helpful:

glglobe.conf

for linux it is found in user-home/.config, for windows user-home/appData/Local.

Configuration

The most obvious option use the dialog. For some advanced options use the config-file (see above) e.g. if you want to use some different WebMapService (i can't gurantee this will work, but it might be worth trying). These services are numberd from 0...9 the following values will be required suffixed with a sequential number:

  • weatherAddress
    the base address for WMS requests to test add "?service=WMS&version=1.3.0&request=GetCapabilities" and you should get a XML document with the avaialble services.
  • weatherName
    a unique name that helps to idenifiy the service
  • weatherDelay
    services usually helpful to use the nearest time for a request, but picky if you get to close to the actual time (this can be estimated from the difference of latest value of dimension time to actual time, for a service with a short period)
  • weatherType
    WMS for WebMapService, RE for RealEarth (which is non-generic)
  • weatherLocalTime
    usually false (true if service offers some prognosis but you want to view current time)

This is target on some near time images provided with regular intervals. This is not a GIS (Geo info system) so it will not work with services that offer fragmented timelines / historic images for example (https://neo.gsfc.nasa.gov/about/wms.php ( QGis might help you better with these)).

Troubleshooting

First check the application log, the location depends on genericImg --with-... switches. The default location is the log directory within user-home. But some messages may still get spilled to the console. If more infos are required change config-file (see above)

[globe]
logLevel=

to one of Severe, Alert, Crit, Error, Warn, Notice, Info, Debug (and restart).

For advanced issues there are some defines e.g. CONFIG_DEBUG that might help in identifying more specific issues.

About

Fancy clock, with worldtime, moon phase and satellite images

Topics

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks