Comments (4)
Merged your code into the my source. I did some slight changes, added the command line/INI-file options and incorporated the functionality both into DamScan and DamCompare.
PS. There was a small bug in your code, your distance was in 1000 kilometers, not in meters. :)
from damscan.
I'm not sure if "using different sources" is really the cause, since the original picture and the source of coordinates were always the same. Somehow the "same" coordinates became different either by copying the picture or importing/synchronizing it again into Daminion at a later point in time.
from damscan.
Even after very few days, I found many differences caused by rounding errors with the GPS data. In fact out of 1,196 new pictures from early October 2017, more than 50% (637) showed differences in a temporary catalog created on October, 11. Reducing the precision of the GPS-values from 8 stepwise down to 0, the number of differences decreases (558, 26, 2, 2, 0). In all cases the representation in Daminion (Nxx° yy' zz,zz", Exx° yy' zz,zz", aaa.aa m) did not show any differences, except for the last 3 pictures (using 2 digits decimal precision), which had a different altitude of 1 resp 2 cm(!).
After initially writing the GPS data into the meta data using GeoSetter, I did not touch those later. However, I did change many other tags (categories, keywords ..) which were than synchronized by Daminion. Also synchronization did not write correctly categories/keywords for 3 images.
from damscan.
I was able to verify, when an image with GPS tags is imported into Daminion, some other tags being changed (not touching the GPS) and the meta data synchronized, the latitude/longitude values will be different. However, this cannot be consistently reproduced and seems only to happen, when the Sync process needs to update many images. For example, I was not able to reproduce it by importing only 4 images, but after importing and updating ~250 images, I saw differences for all of them. Subsequently updating tags for 114 of the same images, GPS tag inconsistencies appeared for only 8 of those.
Instead of comparing all digits of the floating point values for latitude and longitude , I suggest to calculate the distance in meters and report the difference in DamCompare.py only if the distance is shorter than a certain threshold . Today I suggested code changes in DamImage.py to achieve this with a threshold of 1 m hard coded.
Besides reducing the number of fault reports for GPS mismatches, additional information will be shown, e.g. "GPS, 4.919.... m distance, 256.0 m elev. difference"
from damscan.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from damscan.