Opened 12 years ago

Closed 11 years ago

#1450 closed enhancement (fixed)

Auto-select layer for geo-tagged image

Reported by: LonelyPixel Owned by: cbro@…
Priority: trivial Milestone:
Component: merkaartor Version:
Keywords: Cc:


When you have loaded some OSM data in a single layer and then open some geo-tagged photos, Merkaartor is going to ask you to which of that single layer you would like to add the photos. Same if you have loaded some OSM data, or not, and a GPX track in a single layer. Then open some photos and you can select between the OSM or the track layer. Since it is so easy to open the photos directly from the camera (with no geo-tagging post-processing) because Merkaartor already does that for you (only if you select the track layer here!), I always select the track layer. And if there's only one, I'll take it.

This patch avoids those "dumb questions" and decides on itself what layer to select. If there's only one, that's it. If not, but there's only one track layer, that's it. And only if there's still no decision, the user is bothered with it.

Attachments (1)

GeoImageDock.cpp.diff (1.9 KB) - added by LonelyPixel 12 years ago.
Patch of my proposed implementation

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by LonelyPixel

Attachment: GeoImageDock.cpp.diff added

Patch of my proposed implementation

comment:1 Changed 11 years ago by schluessler

Resolution: fixed
Status: newclosed

(In [13926]) FIX : If there is only one opened layer, GeoImage? uses it automatically (without asking the user) (fixes #1450) FIX : Long image filenames are cutted to fit the GeoImageDock? (fixes #1452) FIX : ImageView? in GeoImageDock? draws images using an antialiasing painter and images are not copied when displaying them which results in faster drawing. (fixes #1452) FIX : Much better zoom (and image-moving) for ImageView? in GeoImageDock? FIX : trackpoints which are associated with an image are highlighted according to the Style's settings (but not by painting an reactangle in paintEvent manually)

Note: See TracTickets for help on using tickets.