This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 118 - Pages: 8 [ Previous | 1 2 3 4 5 6 7 | Next ] - Last Post: 28-Oct-2017 19:07 Last Post By: AndreWolff Threads: [ Previous | Next ]
jGromit

Posts: 33,207
Registered: 31-Jan-2006
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 11-Sep-2017 13:23   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
David, probably a good idea to disable the trash can if the location is being picked up from EXIF.

If the xmp location is deleted, it would be nice to have the EXIF location reappear without a reload.

Not sure what I'd recommend about the format problem with the xmp coordinates. Some applications can handle it, some can't. If it's an easy fix, go for it. But since we don't know where those oddly-formatted coordinates are coming from, this may be an issue that's restricted to one confused user. If Lightroom is producing them, you'd think we'd have seen this problem before, but it's never come up.
karlmistelberger

Posts: 737
Registered: 5-Dec-2013
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 11-Sep-2017 13:39   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
Attachment jalbum119.png (86,9 KB)
AndreWolff wrote:
RobM wrote:
If you remove the xmp.exif GPS parameters the image shows the correct information in jAlbum.
Incorrect, if you click the trash tray, you see no location information in the location window, so you think you removed the location information. However if you make the album you see still location information for the corresponding slide in the album. If you go back to the location window for that image, there is still no location showed! Do you think that the average user understands this?

pyExifToolGui is a graphical frontend for the excellent open source command line tool ExifTool by Phil Harvey. pyExifToolGui is a python pySide QT4 script program that reads and writes all kind of metadata tags from/to image files. A strong point of this software is the ability to write the data, copied or not from a source image (reference image), to multiple images at once.

https://hvdwolf.github.io/pyExifToolGUI/

See screenshot.
AndreWolff

Posts: 2,154
Registered: 14-Dec-2007
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 11-Sep-2017 16:37   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
Remember "jAlbum 14 now has integrated support for geotagging images using Google Maps. Just edit an image within jAlbum and expand the new “Location” panel.
Well that is another bug, the expand button is not working on my Windows 10 PC, see screenshots.

If you click with the left mouse button on the expand button in the upper right corner, nothing happens.
If you click with the right mouse button on that button and select 'Open image in a new window', you see what is recorded in screenshot LocationButtonNewWinowClickResult.PNG.
jGromit

Posts: 33,207
Registered: 31-Jan-2006
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 11-Sep-2017 16:46   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
Attachment notExpanded.png (32,7 KB)
Attachment Expanded.png (53,6 KB)
Oh, lord, here we go again.

Compare the two attached screenshots. That's what is meant by "expand the location panel."

That fullscreen link in the upper right corner is part of the Google maps API - it's not being put there by jAlbum. David might be able to get rid of it, since it's clearly aimed at browser use, not for use within an application (David - it looks like there's a fullscreenControl boolean in the API that might eliminate that non-working element).
AndreWolff

Posts: 2,154
Registered: 14-Dec-2007
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 11-Sep-2017 16:50   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
jGromit wrote:
That fullscreen link in the upper right corner is part of the Google maps API - it's not being put there by jAlbum. David might be able to get rid of it, since it's clearly aimed at browser use, not for use within an application (David - it looks like there's a fullscreenControl boolean in the API that might eliminate that non-working element).
Well if you click on that button and next on F7 you see:
Exception in thread "JavaFX Application Thread" netscape.javascript.JSException: ReferenceError: Can't find variable: loadMapLibrary
	at com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:146)
	at com.sun.webkit.WebPage.twkExecuteScript(Native Method)
	at com.sun.webkit.WebPage.executeScript(WebPage.java:1509)
	at javafx.scene.web.WebEngine.executeScript(WebEngine.java:1005)
	at com.lynden.gmapsfx.javascript.JavaFxWebEngine.executeScript(JavaFxWebEngine.java:42)
	at com.lynden.gmapsfx.GoogleMapView.initialiseScript(GoogleMapView.java:271)
	at com.lynden.gmapsfx.GoogleMapView.access$000(GoogleMapView.java:49)
	at com.lynden.gmapsfx.GoogleMapView$1.changed(GoogleMapView.java:237)
	at com.lynden.gmapsfx.GoogleMapView$1.changed(GoogleMapView.java:234)
	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
	at javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)
	at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)
	at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
	at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
	at javafx.scene.web.WebEngine$LoadWorker.updateState(WebEngine.java:1287)
	at javafx.scene.web.WebEngine$LoadWorker.dispatchLoadEvent(WebEngine.java:1398)
	at javafx.scene.web.WebEngine$LoadWorker.access$1200(WebEngine.java:1280)
	at javafx.scene.web.WebEngine$PageLoadListener.dispatchLoadEvent(WebEngine.java:1267)
	at com.sun.webkit.WebPage.fireLoadEvent(WebPage.java:2499)
	at com.sun.webkit.WebPage.fwkFireLoadEvent(WebPage.java:2343)
	at com.sun.webkit.network.URLLoader.twkDidFinishLoading(Native Method)
	at com.sun.webkit.network.URLLoader.notifyDidFinishLoading(URLLoader.java:859)
	at com.sun.webkit.network.URLLoader.lambda$didFinishLoading$103(URLLoader.java:850)
	at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
	at java.lang.Thread.run(Unknown Source)
jGromit

Posts: 33,207
Registered: 31-Jan-2006
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 11-Sep-2017 16:56   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
Yeah, like I said, it's something the Google maps API puts there, but it doesn't work from within an application. What's your point?
RobM

Posts: 4,387
Registered: 4-Aug-2006
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 11-Sep-2017 17:20   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
jGromit wrote:
Oh, lord, here we go again.

Compare the two attached screenshots. That's what is meant by "expand the location panel."

That fullscreen link in the upper right corner is part of the Google maps API - it's not being put there by jAlbum. David might be able to get rid of it, since it's clearly aimed at browser use, not for use within an application (David - it looks like there's a fullscreenControl boolean in the API that might eliminate that non-working element).

It seems to be a Windows OS problem, no error report on the Mac.
AndreWolff

Posts: 2,154
Registered: 14-Dec-2007
Re: jAlbum extracts the wrong GPS value and geotagging is not working
Posted: 11-Sep-2017 17:31   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
Remember "jAlbum 14 now has integrated support for geotagging images using Google Maps. Just edit an image within jAlbum and expand the new “Location” panel. Now you can either geotag that image by placing a marker on the mapabove quote.
Geotagging is also not working on my Windows 10 system, see enclosed screenshots.

In he first screenshot you see the location as is saved in the EXIF data block of the image.
Next I move the marker to a lake in Germany, see screenshot 2.
I make the album, but the location of the image in the remade album is not changed.
Next I close jAlbum and open it again.
The location window shows the location as in screenshot 1, nothing is changed!
AndreWolff

Posts: 2,154
Registered: 14-Dec-2007
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 11-Sep-2017 18:47   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
jGromit wrote:
That fullscreen link in the upper right corner is part of the Google maps API - it's not being put there by jAlbum. David might be able to get rid of it, since it's clearly aimed at browser use, not for use within an application (David - it looks like there's a fullscreenControl boolean in the API that might eliminate that non-working element).
Yes that works:
function initialize() {
  var mapOptions = {
    zoom: 11,
	fullscreenControl: false,
	mapTypeId: google.maps.MapTypeId.ROADMAP
  }
For an example see this album.
AndreWolff

Posts: 2,154
Registered: 14-Dec-2007
Re: jAlbum extracts the wrong GPS value and geotagging is not working
Posted: 11-Sep-2017 19:36   in response to: karlmistelberger in response to: karlmistelberger
 
  Click to reply to this thread Reply
karlmistelberger wrote:
pyExifToolGui is a graphical frontend for the excellent open source command line tool ExifTool by Phil Harvey. pyExifToolGui is a python pySide QT4 script program that reads and writes all kind of metadata tags from/to image files. A strong point of this software is the ability to write the data, copied or not from a source image (reference image), to multiple images at once.

https://hvdwolf.github.io/pyExifToolGUI/

Thanks Karl for this tip!

With this program my jellyfish image shows the next data:

xmp: 53 deg 0' 37.00" N
4 deg 42' 38.00" E

Exif: 53 deg 0' 37.49"
4 deg 42' 38.63"

jAlbum shows in the location window as xmp location: 53.000000,4.700000 obviously a bug!

jGromit

Posts: 33,207
Registered: 31-Jan-2006
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 11-Sep-2017 20:04   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
AndreWolff wrote:
Yes that works:

We know that works from a web page. But the jAlbum application is not a web page. The API is probably similar, but not the same. Unless you're writing your own Java application, you can't test this.
davidekholm

Posts: 21,497
Registered: 18-Oct-2002
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 12-Sep-2017 15:02   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
AndreWolff wrote:
Enclosed picture contains the next GPS coordinates:

53.010414°, 4.710730° or 53°0'37" N 4°42'38" E

You see this info if you opens the picture with the Windows Explorere propertries window or if you open this picture in Adobe PhotoShop Elements.

However jAlbum shows in the Location window (see enclosed screenshot): 53.000000,4.700000
and via meta.get("GPS.GPS Latitude") and meta.get("GPS.GPS Longitude") as used in the PhotoSwipe and SlideShow 4 skin: '53.0,4.7',


Thanks for reporting. It turns out that jAlbum's xmp parser didn't understand the deg,min,sec format used. It expected all xmp GPS coordinates to be in deg,min format. I've now fixed this. Please do a core update and see.
jGromit

Posts: 33,207
Registered: 31-Jan-2006
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 12-Sep-2017 15:17   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
I've now fixed this. Please do a core update and see.

Seems to be a new core, but the behavior hasn't changed. It's still taking this:
xmp.exif:GPSLatitude=53,0,37N
xmp.exif:GPSLongitude=4,42,38E
And returning a gpsLocation:
53.0,4.7
It should be:
53.01041400000453,4.710730000005828
It's showing correctly in the Location panel, however, so you're on the right track!

Edit: The gpsLatitude and gpsLongitude values are still incorrect, as well.
jGromit

Posts: 33,207
Registered: 31-Jan-2006
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 12-Sep-2017 15:21   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
I'm also still seeing the rather weird behavior in which, if there is only EXIF GPS, the Location panel offers the option of deleting it, but it doesn't actually work. The coordinates come back after a project reload.
davidekholm

Posts: 21,497
Registered: 18-Oct-2002
Re: Jalbum 14.1.10 for Windows 10 extracts the wrong GPS value from a picture.
Posted: 12-Sep-2017 15:43   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
jGromit wrote:
davidekholm wrote:
I've now fixed this. Please do a core update and see.

Seems to be a new core, but the behavior hasn't changed. It's still taking this:

xmp.exif:GPSLatitude=53,0,37N
xmp.exif:GPSLongitude=4,42,38E
And returning a gpsLocation:
53.0,4.7
It should be:
53.01041400000453,4.710730000005828
It's showing correctly in the Location panel, however, so you're on the right track!

Edit: The gpsLatitude and gpsLongitude values are still incorrect, as well.

Ah, code in two locations. Never a good idea. Now fixed. Do another core update.

Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums