Code Monkey home page Code Monkey logo

geotagninja's People

Contributors

nemethviktor avatar pbranly avatar urmel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

urmel

geotagninja's Issues

[DEV] Empty Toponmy Result Results in Exception

Describe the bug

In the edit form, we get an exception when trying to retrieve toponomy data for an image w/o coordinates:
grafik

Error

In FrmEditFileData.cs Error

System.IndexOutOfRangeException: "An der Position 0 befindet sich keine Zeile."
(no row at position 0)
grafik

Reproduce

Steps to reproduce the behavior:

  1. Open the Edit Dialog for 1...N images that have no coordinates set
  2. Select to update toponomy data for image w/o coordinates

Expected behavior

I guess it should do... nothing (like for altitude data) or maybe a short message telling you that you need coordinates first?

Further context

Using DEV branch with commit 31a2466

Manage Favorites missing option to change country

Describe the bug
Manage Favorites dialog has an option to change Lat, Long, Alt, State, City and Sublocation, but not Country.

To Reproduce
Open the Manage Favorites dialog.

Expected behavior
There should also be a possibility to update the Country.

Screenshots
image

bad numeric position

Hi
When I select a position, it is good in the popup but latitude longitude is wrong
see screen copy
Si it write the bad references in the photos
Phil
2022-11-19_15-24

Installation shortcut self-references

Forgot to mention, but when I use the .msi installer the shortcut for the start menu points back to the folder where the shortcut resides (e.g. for me, C:\Users\Tom\AppData\Roaming\Microsoft\Windows\Start Menu\Programs), instead of the executable (C:\Program Files\GeoTagNinja\GeoTagNinja.exe).

Copy-Paste tags copies also times by default

Is your feature request related to a problem? Please describe.
I don't want to change the timestamps of my images, but copy-paste tags has it enabled by default. I would prefer to have it turned on optionally.

image

Additional context
I think this is introduced in the latest development version. I don't think this existed earlier.

Map changes zoom level when selecting a new image

Describe the bug
When I change the image the map resets it's zoom to the original, and doesn't keep the zoom level previously selected.

To Reproduce
Steps to reproduce the behavior:

  1. Open a folder
  2. Select an image
  3. Zoom close to the location
  4. Select another image
  5. The zoom level reverts to the original

Expected behavior
The selected zoom level would be respected.

Screenshots

Desktop (please complete the following information):

  • OS: Win11
  • Version: 0.7.8421

Additional context
The problems started when I zoomed and panned from Finland to Lisbon, when I tried to geotag my vacation photos.

I tried to close the program and restart it – it didn't help.

[Bug] EditForm: DateTime greyed out after changing between pictures with and without take datetime

Describe the bug

I cannot change the Taken Date anymore, as the dt picker and the insert button are grayed out:
grafik

To Reproduce

  1. Select multiple images w/o taken date: grafik
  2. Start editing these (edit form opens)
  3. For the first image, insert a new taken date
  4. switch to a different picture without taken date
  5. switch back to the picture for which the taken date was just inserted
  6. After that, I cannot edit or insert the taken date in any picture currently in the edit form

Expected behavior
The dialog should be presented as before switching to the other picture.

Additional info
The same behavour happens when...

  1. Select images with and without a taken date
  2. Start editing these (for me, a picture with taken date is selected automatically):
    grafik
  3. switch to a picture without taken date:
    grafik
  4. After that, I cannot edit or insert the taken date in any picture currently in the edit form

French translation

Hi
Thanks for your very promising application
Would you need any help for French translation ?
If yes provide me the source and procedure
Regards
Phil

Better map resolution?

I can't zoom in as much as I would like on the map to pinpoint a location. Any way to get closer?

Lat/long for photos without GPS data

This looks like a worthy replacement for GeoSetter. It would be nice if, instead of centering on 0°N 0°E, when adding GPS data to a series of photos without it, the map would default to either a usergiver location or to the location of the last photo treated.

importing locations to a specif list of photos is applied to all the active directory

Version: 0.7.8378 [20221209:1226]

i have a batch of 50 photos;
I want to add localisations to 5 photos only ( because I dont want to change orthers, or because I want to keep the existing localisation)
after the localisation importation, all the 50 photos are modified.

Normal behavior should (must) be to modify th selected photos only

Regards
Phil

[Feature Request] Edit dialog to change attributes (date+time captured) of an image

Hi @nemethviktor,

is it ok to also file feature request...? I just stumbled accross this one while going through my usual tagging workflow.

I would like to by hand modify the date (and time) the image was captured.

As I was not able to do this with system standard tools and it seems to me like a thing that one would like to do in such an app. I open this feature request.

Maybe it also makes sense to add other attributes that can then also be modified by the user.

Remember Altitude/Toponomy answer

Perhaps another 'nice to have': 'a 'don't ask me again' checkbox in the Altitude/Toponomy popup. The answer for the first photo will often also be the answer for all the subsequent ones.

Option to ignore reverse geocoding

Is your feature request related to a problem? Please describe.
I want to define the location names myself, because I want to have the places in the local language, not e.g. in English. I haven't defined the Geonames account, and when I add coordinates from the GPX file, I get two error messages for each file that I have to acknowledge.

Describe the solution you'd like
If the Geonames account is empty, skip the reverse geocoding.

Describe alternatives you've considered
A maybe more clear alternative would be to have a tick box for reverse geocoding (do you want ...), and if it is ticked, then the username and password field would be active.

Map doesn't show up, and ''Get From Web' doesn't work

Hi,
I set up the two accounts needed (API key and user password). searching for "Chrüzegg" returned valid json. When I select a picture with coordinates, no map appears. Also, when I use 'Get From Web' it pops up a window that has 'Info' as the title, an 'i' in a circle for content, and an OK button. No information is filled in.
I'd really love to get this working.

GPS Lat and Long Reference removed from EXIF data

Describe the bug
Setting geolocation to a western longitude creates conflicting EXIF information

To Reproduce
Steps to reproduce the behavior:

  1. Geotag an image with western coordinates
  2. Save the image
  3. Validate the coordinates with exiftool
  4. See error

Expected behavior
All GPS related EXIF fields are updated correctly

Screenshots

exiftool -a -G \Users\xxx\Pictures\2023\03\2023_03_01\_3010149.ORF | findstr /i gps
[EXIF]          GPS Version ID                  : 2.3.0.0
[EXIF]          GPS Latitude Ref                : North
[EXIF]          GPS Latitude                    : 38.707384
[EXIF]          GPS Longitude Ref               : West
[EXIF]          GPS Longitude                   : 9.142500
[EXIF]          GPS Altitude Ref                : Above Sea Level
[EXIF]          GPS Altitude                    : 10.6 m
[EXIF]          GPS Speed                       : 0
[Composite]     GPS Altitude                    : 10.6 m Above Sea Level
[Composite]     GPS Latitude                    : +38.707384
[Composite]     GPS Longitude                   : -9.142500
[Composite]     GPS Position                    : +38.707384, -9.142500

Note the difference between composite and EXIF GPS Longitude Ref. Also if I remove the .Exiftool_config the Composite section looks like

[Composite]     GPS Altitude                    : 10.6 m Above Sea Level
[Composite]     GPS Latitude                    : 38 deg 42' 26.58" N
[Composite]     GPS Longitude                   : 9 deg 8' 33.00" W
[Composite]     GPS Position                    : 38 deg 42' 26.58" N, 9 deg 8' 33.00" W

Desktop (please complete the following information):

  • OS: Win11 Enterprise 22H2
  • Language/Culture: en-FI

Additional context
An example file geotagged to Lisbon to which the output is referring to
_3010149.zip

Go To Favorite Button

Is your feature request related to a problem? Please describe.
Sometimes, I want to go some place near a favorite, which at the moment means manually (or using the address search) going there.

Describe the solution you'd like
I would like to have a button "go to favorite" so that the map is centered on the selected favorite.

Building

I off-handedly attempted a build with Visual Studio 2019 and got all kinds of arbitrary compiler errors. Don't know what kind of .NET framework I should be using or other configuration/build parameters. Anything special about building this beast?

Paste Meta Data: Remember Last Selection + General All/None Buttons

Is your feature request related to a problem? Please describe.
I often use copy / past to set the time zome of images. When I past multiple times, I always have to set the check mark at time zone again.

Describe the solution you'd like

  • The paste meta data dialog remembers which meta data I pasted last time and checks these fields again
  • In order to easily change things, there should also be an all and none button that un/sets all check marks

Program hangs in the start

I get an error of invalid date format. If I Ignore the JIT error message, the reading dates window remains visible and nothing happens, if I select Quit, the program aborts.

My date format is
hh.mm DD/MM/YYYY

What I can do to pinpoint the issue?

************** Exception Text **************
System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.DateTime.Parse(String s, IFormatProvider provider)
   at GeoTagNinja.HelperStatic.<ExifGetExifFromFolder>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GeoTagNinja.FrmMainApp.<lvwFileList_LoadOrUpdate>d__80.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9105.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
GeoTagNinja
    Assembly Version: 0.7.8391.21578
    Win32 Version: 0.7.8391.21578
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/GeoTagNinja.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9065.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
NLog
    Assembly Version: 5.0.0.0
    Win32 Version: 5.1.0.1480
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/NLog.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9115.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9110.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.117.0
    Win32 Version: 1.0.117.0
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/System.Data.SQLite.DLL
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 13.0.0.0
    Win32 Version: 13.0.2.27524
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/Newtonsoft.Json.DLL
----------------------------------------
Microsoft.Web.WebView2.Core
    Assembly Version: 1.0.1462.37
    Win32 Version: 1.0.1462.37
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/Microsoft.Web.WebView2.Core.DLL
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Data.DataSetExtensions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
CsvHelper
    Assembly Version: 30.0.0.0
    Win32 Version: 30.0.1.0
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/CsvHelper.DLL
----------------------------------------
Microsoft.Bcl.AsyncInterfaces
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.22.51805
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/Microsoft.Bcl.AsyncInterfaces.DLL
----------------------------------------
Microsoft.Web.WebView2.WinForms
    Assembly Version: 1.0.1462.37
    Win32 Version: 1.0.1462.37
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/Microsoft.Web.WebView2.WinForms.DLL
----------------------------------------

Latitude is cleared before it can be saved

Windows 11, English

When I paste in a latitude value, it stays long enough for me to get the reverse geocode information, but when I press OK it shows up in the main window as zero.

[Feature] Adjust Column Sort Order for File List to Handle Folders Differently

New Sorting Rule: Folders, ".." and drives should always come at the top

Whatever column, we sort by, we should keep folders and ".." at the top (and in alphabetical order).

Implementation Proposal

In order to implement this, I propose to create an object model containing the image information. For a start just the info on type and name. The longer term idea is to migrate the other data also into this model. This will allow us to easily extend it, implement logic and caching (preview images for example) in it and also allow for an encapsulted functionality to track changes to the single objects.

The other option would be to use the methods as used in the image preview / generation, where for folders or alike, no images are generated.

Application fails to process full gpx file to all images

Describe the bug
I tried to import a gpx file to 173 images in a folder, but GeoTag Ninja fails silently. The import terminates quickly, and when looking at the import report it is empty. If I import the file in pieces, i.e. select a subset of the images (roughly half), the import completes normally for all parts.

To Reproduce
Steps to reproduce the behavior:

  1. Open a folder with very large number of images (170+)
  2. Import a gpx file covering all the images
  3. See error

Expected behavior
All images are tagged without issues, or if there are technical limitations, a clear message showing the error and asking to do the task in pieces.

Desktop (please complete the following information):

  • OS: Win11 Enterprise 22H2
  • Language/Culture: en-FI

Additional context
GPX file I tired to import.
2023-03-03.zip

Exception when trying to select time zone in GPX import dialog

Describe the bug
Unhandled exception dialog pops when trying to select a different time zone.
image

To Reproduce
Steps to reproduce the behavior:
1.Open import GPX/JSON File dialog
2. Tick Use this time zone
3. Click on the drop down
4. See error

Using the a different time zone works without problems if I ignore the error and select Continue in the dialog.

Expected behavior
No error message

Screenshots
The error text in the dialog is

************** Exception Text **************
System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
   at System.String.Substring(Int32 startIndex, Int32 length)
   at GeoTagNinja.FrmImportGpx.updatelbl_TZValue()
   at GeoTagNinja.FrmImportGpx.ckb_UseTimeZone_CheckedChanged(Object sender, EventArgs e)
   at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e)
   at System.Windows.Forms.CheckBox.set_CheckState(CheckState value)
   at System.Windows.Forms.CheckBox.OnClick(EventArgs e)
   at System.Windows.Forms.CheckBox.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
GeoTagNinja
    Assembly Version: 0.8.8436.22440
    Win32 Version: 0.8.8436.22440
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/GeoTagNinja.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
NLog
    Assembly Version: 5.0.0.0
    Win32 Version: 5.1.0.1480
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/NLog.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9110.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data.DataSetExtensions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
CsvHelper
    Assembly Version: 30.0.0.0
    Win32 Version: 30.0.1.0
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/CsvHelper.DLL
----------------------------------------
Microsoft.Bcl.AsyncInterfaces
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.22.51805
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/Microsoft.Bcl.AsyncInterfaces.DLL
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.117.0
    Win32 Version: 1.0.117.0
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/System.Data.SQLite.DLL
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 13.0.0.0
    Win32 Version: 13.0.2.27524
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/Newtonsoft.Json.DLL
----------------------------------------
Microsoft.Web.WebView2.Core
    Assembly Version: 1.0.1462.37
    Win32 Version: 1.0.1462.37
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/Microsoft.Web.WebView2.Core.DLL
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Microsoft.Web.WebView2.WinForms
    Assembly Version: 1.0.1462.37
    Win32 Version: 1.0.1462.37
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/Microsoft.Web.WebView2.WinForms.DLL
----------------------------------------
TimeZoneConverter
    Assembly Version: 6.0.1.0
    Win32 Version: 6.0.1.0
    CodeBase: file:///C:/Program%20Files/GeoTagNinja/TimeZoneConverter.DLL
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.RuntimeInformation/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------

Desktop (please complete the following information):

  • OS: Win11 Enterprise 22H2
  • Language/Culture: en-FI

When going from maxed window to normal size panels arrange strangely

Setting

  • Latest greatest provided in this issue: #15.
  • Running on a German Win10 machine.

Error

When the app has its window maximized, one can resize it to "normal" in two ways:

  • Pressing the reduce size button in the upper right
  • Pulling down on the title bar

Taking the first approach (reduce button), I can change the size between max and normal. I can also - when in normal size - resize the window by dragging the lower right corner. --> Fine.

But using the second approach (title bar), it reduces it sizes and re-arranges the panels in a funny way:
grafik

  • The effect seems to be bigger when the initial reduced size (directly after pulling on the title bar) is smaller.
  • The effect seems to have a varying degree of "severity".
  • The effect cannot be healed by (multiple times) bringing it to max size and reducing the size with the button again.

Workaround

Use the resize button to change from max to normal size.

Sublocation and City fields seem swapped for many locations.

As mentioned in another issue: Many thanks for developing GeoTagNinja!!

I only used GeoTagNinja on a few ORF files, but I can already report that it works smoothly together with Capture One and IMatch. These two programs displayed the GPS data corectly.

Hower, Sublocation and City seem to be swapped, with Sublocation showing the city name and City showing the neighbourhood name.

The swap happens for most places I checked: Finland, Sweden, Argentina, USA. I see the swap in New York, while at least some places in London seem o.k. (Tested by selecting different locations on the map, and copying the data to an image).

Please, let me know if I can help in some way.

exiftool should be configurable externally

it seems that the version of exiftool is 3 months old.
as in the geosetter program the exiftool executable should be modified externally as it evolves very often.
Current situation is that it is compiled with the whole package

For a future release.... not urgent

Phil

no information about new release

Hi,
I currently have the version 0.6.8350. At start up I should receive a notification for downloading the last 0.6.8358
But no info
Regards
Phil

Exception when moving fast between images that cannot be displayed

Hi!

first of all thanks for taking on the task of starting this project. I've been using GeoSetter for quite some time, but as it now is almost completely useless due to the latest Google Api update, was looking for an alternative. And your project for sure looks like a good one!

Setting

So I started with the latest greatest you provided in this issue: #15.

Running on a German Win10 machine.

Error

I have a folder with files that the Ninja can display (the upper ones) and 4 images the Ninja cannot display (the lower ones; issue #17):
grafik

When I quickly curser up and down through the images that Ninja can display, everything is fine. The application takes some time to update the preview and it works it way throught the long list of keypresses after I finished - but nothing crashes.

When I do this with the images in the lower part - i.e. quickly cursor up and down - I get this exception:

System.ArgumentException: Ungültiger Parameter.
bei System.Drawing.Bitmap..ctor(String filename)
bei GeoTagNinja.HelperStatic.d__33.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei GeoTagNinja.FrmMainApp.<lvw_FileList_KeyUp>d__58.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)

I have no clue, why it's in German (ok, my windows is, but....). So...

  • Ungültiger Parameter -> "illegal argument" / parameter
  • "Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde" seems like an automatically translated thing. Sounds like "end of stack trace for observed scope"

Note that this will not happen, when I cursor slowly through them ...

Use EXIFTool Available to also Generate ImagePreviews

As discussed in #40, image previews should also be called by the EXIFTool stay_open version. Basically most pics are likely to require a generated preview so firing up ET each time when we have this already working seems like a no-brainer for switch.

  • Check how this can be done with stay_open
  • Adapt logic to use the stay_open Wrapper

Track Sync: Remember Shift Track Time

Is your feature request related to a problem? Please describe.
When I sync my files, I discover that I missed to adjust the clock in my camera. After I did the syncing, I forget to do so and run into the same situation next time.

Describe the solution you'd like
Instead of every time trying to figure out the exact shift, I would like to have as a preset the last used Shift Track Time:
grafik

Migrate GPXTrackSync to use EXIFWrapper and Remove ObjectExifIn-Mapping

As discussed in #40, the usage of the stay_open and internalization of the EXIF Tags to Attribute mapping should be made more consequent.

The only other part of the programm that uses the "in" part of EXIF Mapping in SQLite is the sync of tracks. Thus, we should migrate this to also use ExifWrapper and then remove this SQLite table.

  • Discuss if an implementation of "update list view" using DE model is needed first
  • Migrate the GPSTrackSync to use the ExifWrapper logic
  • Check that there are no other uses of the SQL table
  • Remove the SQL table

(Rejected) Show Preview Images in Map

When the position of selected images is shown on the map, I would like to also see (if I want that) preview images at these location.

The only use case I know that I would have liked it to use it for is when reviewing a GPX track sync result. Apart from that, it might just look cool.... :)

version 0.7.8391 cant update photos

Hi
Happy new year.
I just try to update photos with gpx positions without success
i select all the photo and select either the gpx file or the directory where the file is and click on OK
the OK becomes grey and even after several minutes, i dont have any result
The solution is to click on the "Cancel" button but there is not any photos updated and no message

Phil
2023-01-04_12-52

Saving places for later retrieval

First of all: it is great to have a GeoSetter replacement!! I have been looking for something like GeoTagNinja for quite some time! Many thanks!

What I miss most is the ability to save locations (coordinates) for later reuse when manually geocoding images taken in places where I am consistly (home, work, etc.).

Metadata writes

I'm not real clear on how the metadata gets written to the file. I can copy and paste geodata from one picture to the next, and when I move to another photo the pasted data turns red. Then I do File->Save All and the red turns to black. But when I attempt to verify the coordinates in a program like digiKam, the map reports no geolocation data found. However, if I push "Loc to File" under the map, the data again turns red and if I do File->Save All the coordinates do register in digiKam (e.g. I get a map with the correct location). I would think that the File->Save All does the same thing in both instances. I'm assuming that Save All only updates modified photos, correct? Note that the text data turns red as modified only after moving to another line in the photo list.

GTN thinks it wrote changes even if write failed (+ localization issue)

Failing to write results in loosing the changes, because GTN thinks that it already wrote them.

To Reproduce

Steps to reproduce the behavior:

  1. Start editing a file that previously has no geo info:
    grafik

  2. Using the map, assign a long/lat to it
    grafik

  3. Save (which must fail in order to reproduce the issue, e.g. by setting the file to write protected)
    grafik

  4. Although the data is not saved, it is marked as saved and the write-queue is emptied:
    grafik

Second issue: localization

  • As can be seen in above screenshots, localizations of 3 error dialogs are missing

Expected behavior

The changes that failed to get persisted still remain as changed.

Desktop (please complete the following information):

Used GTN version: #52

Copy-Paste Geoinformation across different folders

Is your feature request related to a problem? Please describe.
Copy-Paste (Ctrl-Shift-C/Ctrl-Shift-V) doesn't work across folders.

I took pictures in the same place in two different days. I had created a GPX file during the first day, but didn't do that on the second day. I import my images into a folder structure based on dates, and I couldn't copy-paste the location from the first day images to the second day images. Only workaround I had was to create a favorite on that place, and use it, but I think it is an overkill for random locations.

Describe the solution you'd like
Copy-Paste works across folders, and don't forget the information, when the folder is changed.

Describe alternatives you've considered

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.