marcoalt / maps

code to visualize gps data from mobile phone pictures
MIT License
4 stars 3 forks source link

Map arcs crossing the international date line #2

Closed kasei closed 9 years ago

kasei commented 9 years ago

Not sure if it's possible to fix this based on the libraries being used, but when mapping a photo sequence that crosses the international dateline, you end up with a map that has an unsightly horizontal line running across the entire width.

mapnumpics

Any way to suppress that?

marcoalt commented 9 years ago

wow that's quite some traveling :) Indeed I expected this problem. I'm gonna add some fake data to my dataset and see if I can find a way to handle it (I guess it should be skipped or truncated to handle the specific view of the world I'm using). Otherwise if you don't mind sending me your reduced dataset locations (as a csv or RData file), that would be great.

On Tue, Jan 20, 2015 at 3:06 PM, Gregory Todd Williams < notifications@github.com> wrote:

Not sure if it's possible to fix this based on the libraries being used, but when mapping a photo sequence that crosses the international dateline, you end up with a map that has an unsightly horizontal line running across the entire width.

[image: mapnumpics] https://cloud.githubusercontent.com/assets/4872/5828167/ce6d065e-a0b5-11e4-9027-f20b1910acba.jpg

Any way to suppress that?

— Reply to this email directly or view it on GitHub https://github.com/marcoalt/maps/issues/2.

Marco Altini

Head of Data Analytics - Bloom Technologies PhD Candidate - Eindhoven University of Technology marcoaltini.com http://www.marcoaltini.com/ @marco_alt

kasei commented 9 years ago

Sure. Can I email it to you? I've got the output of exiftool ready to go. If you'd prefer the cvs or R data, can you guide me to the right R commands to emit that?

marcoalt commented 9 years ago

save(picsLocationsReduced, file = "dataPicsReduced.RData") email to altini.marco@gmail.com ill see what i can do later tonight, thanks!

marcoalt commented 9 years ago

please give it a try now. There should be no wrong line plotted even if you cross the dateline

kasei commented 9 years ago

Works great, thanks!

mapnumpics