Flugüberwachung Hamburg mit OSM-Karte

Moin !

für Hamburg gibt es von der DFS jetzt auch ein Programm für die Flugüberwachung.

http://www.dfs.de/dfs_homepage/de/Flugsicherung/Umwelt/Flugverl%C3%A4ufe%20online/Hamburg/

Hintergrundkarte aus OSM-Daten.

Gruß Jan

Hübsch.

Und damit nicht jeder das Zeug installieren muss:

Gruss
walter

ps: (c) Openstreetmap Contributors im Screenshot ist von mir :wink:

Eventuell verrät mir mal jemand den Trick, das echte Copyright-Symbol mit ImageMagick hinzubekommen? Trivial ist das jedenfalls nicht.

http://comments.gmane.org/gmane.comp.video.image-magick.user/8103 , aber ich hab grad damit rumprobiert und es nicht geschafft. Die Alternative mit perl und chr(251) hab ich nicht versucht…

Danke, zieh ich mir mal rein. Das Teil ist derzeit ein Bash-Script und da kommen die Probleme wohl her. Umstellen auf Perl könnte ich mal versuchen.

Gruss
walter


#!/bin/bash
#
#set -x
#
if [ -f ~/snapshots/$1 ]; then
   echo '~/snapshots/$1 allready exists'
   ls ~/snapshots
else
   if [ X$2 != 'Xnc' ] ; then
      echo "With copyright please"
      shutter -s --min_at_startup -e -o ~/snapshots/$1.tmp -d 5
      convert ~/snapshots/$1.tmp -gravity southeast \
              -stroke '#000C' -strokewidth 2 -annotate 0 "(c) OpenStreetMap Contributors" \
              -stroke  none   -fill white    -annotate 0 "(c) OpenStreetMap Contributors" \
              ~/snapshots/$1
      convert ~/snapshots/$1.tmp -resize 240x180 ~/snapshots/tn_$1.tmp
      convert ~/snapshots/tn_$1.tmp -gravity southeast \
              -stroke '#000C' -strokewidth 2 -annotate 0 "(c) OpenStreetMap Contributors" \
              -stroke  none   -fill white    -annotate 0 "(c) OpenStreetMap Contributors" \
              ~/snapshots/tn_$1
      rm ~/snapshots/$1.tmp
      rm ~/snapshots/tn_$1.tmp
   else
      echo "No copyright please"
      shutter -s --min_at_startup -e -o ~/snapshots/$1 -d 5
      convert ~/snapshots/$1 -resize 240x180 ~/snapshots/tn_$1
   fi
   eog ~/snapshots/$1 &
   echo Hochladen nicht vergessen!
   echo "[url=http://osm.wno-edv-service.de:82/images/osm/snapshots/$1][img]http://osm.wno-edv-service.de:82/images/osm/thumbs/tn_$1[/img][/url]"
fi

bei dem -annotate brauch ich “nur noch” das richtige Zeichen.

Du brauchst den richtigen Font und das richtige Unicode-Symbol.

Die Richtung stimmt, nur brauche ich das Symbol 2x in dem convert-Kommando. Das beinhaltet nämlich zwei Annotates, daher klappt das mit der Pipe wohl nicht.
Das Symbol läßt sich schon erkennen, wenn ich nur ein Annotate verwende und die Strichstärke reduziere. Ich möchte aber gerne diese Schattenschrift, die auf hellen und dunklen Hintergründen ganz zu lesen ist.

Aber das krieg ich wohl schon hin, da das eigentliche Problem gelöst ist.

Danke und Gruss
walter

Hier wär noch die Billigheimervariante: render das Annotationsbild vor, und kleb das dann einfach drauf

http://happylilypad.com/blog/index.php?/archives/60-Annotate-images-with-mogrify.html

Danke, an sowas hatte ich auch schon gedacht, aber für heute reichte es mir.
werd ich morgen mal ausprobieren.

Gruss
walter, aka Billigheimer

echo -e “\xc2\xa9”

Wie sagt man doch: Kaum macht man es richtig, funktionert es. :wink:


...
      convert ~/snapshots/$1.tmp -gravity southeast \
              -stroke '#000C' -strokewidth 2 -annotate 0 "`echo -e "\xc2\xa9"` OpenStreetMap Contributors" \
              -stroke  none   -fill white    -annotate 0 "`echo -e "\xc2\xa9"` OpenStreetMap Contributors" \
              ~/snapshots/$1
...

Danke und Gruss
walter

Die frage ist ob die “nur” die ADSB Daten nehmen oder auch die “internen” Radar Daten. :smiley: