emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Advice needed. Use links or blocks?


From: Sebastian Rose
Subject: [Orgmode] Advice needed. Use links or blocks?
Date: Fri, 03 Sep 2010 02:28:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi experts,


the attached file fetches background tiles from openstreetmap.org for
me, and produces SVG images of tracks I ran.  Unfortunately, I cannot
find a good way to use that code in an automated way.

What I'd like to do, is to have the coords in my training diary, and
produce the images on demand.  When I publish the diary to HTML, I want
the coords to be replaced with a link to the image.

Here is an example of the coords (just two), as I save them in my diary:

 '((9.707136154065665 52.3705158282501)(9.711406230817374 52.37525815071791))


And this is, how the function to produce the images is used:

  (osm-draw-track
   ;; Fantasy-track in Brisbane:
   '((152.968 -27.533) (152.968 -27.546) (152.974 -27.537))
   "Track_in_Brisbane"
   8)



Should I go for a special link type:

[[track:((152.968 -27.533) (152.968 -27.546))][2010-09-03 in Brisbane]]

??


Right now, I produce a lisp file, that produces all those images using
`osm-draw-tracks' and add simple links.  But this is inconvenient and
prone to error (forgotten tracks)...



   Sebastian


Attachment: osm-maps.el
Description: application/emacs-lisp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]