Re: [OSM-talk] Georeferencing lots of photos using JOSM

2016-02-14 Thread Robert Norris
>
> One open source cross platform program (including Windows) that can 
> georeference photographs against existing waypoints, tracks or for any place 
> you choose is Viking.
>

A link might be useful too:

https://sourceforge.net/projects/viking/


  
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Georeferencing lots of photos using JOSM

2016-02-14 Thread Robert Norris
> Date: Sun, 14 Feb 2016 10:28:31 +0100 
> From: vosc...@gmail.com 
> To: talk@openstreetmap.org 
> Subject: [OSM-talk] Georeferencing lots of photos using JOSM 
>  
> Hi Russ 
>  
>  
> Solution: I remember where I took every photo (but if I see you 
> walking on the street I won't remember your name; go figure) 
>  
> There is at least one free (but not open) program for Windows that does  
> what you want for JPEG pictures: http://www.geosetter.de/en/ 
>  
>  

One open source cross platform program (including Windows) that can 
georeference photographs against existing waypoints, tracks or for any place 
you choose is Viking.

To geotag a image against any place without any GPX file info:

1. Ensure you have a map layer and move to roughly the area one is interested 
in.
2. File->Open -> select JPG(s) file. This should create waypoint(s) in the 
centre of the screen.
3. Select the waypoint and press shift+mouse drag the waypoint to location you 
want [or right click for waypoint properties and manually set the specific 
lat/lon coordinates.
4. Select the waypoint and right click and select 'Update Geotag on 
Image-->Update'

Disclaimer: I'm the lead maintainer for Viking

HTH.

Rob.
  
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Georeferencing lots of photos using JOSM

2016-02-14 Thread Volker Schmidt
Hi Russ



> Solution: I remember where I took every photo (but if I see you
> walking on the street I won't remember your name; go figure), so it's
> just a matter of getting a lat/lon and storing it with every
> photo. So, I look at the photo, and use JOSM to visit that location. I
> add a node at the location I took a photo, use Ctrl-Alt-C to copy the
> lat/lon, then Ctrl-Z to remove the node. Then I copy the lat/lon into
> a shell command called "setgps" (included below), which takes three
> parameters: lat, long, and the photo. It uses exiftool to stuff the
> lat/lon and hemisphere into the photo.
>

There is at least one free (but not open) program for Windows that does
what you want for JPEG pictures: http://www.geosetter.de/en/

   1. select the photo in the folder
   2. locate the position of your photo with a marker on the map (Google or
   Google Hybrid or OSM - your choice)
   3. click the "import position" button
   4. click "save changes"

Volker
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Georeferencing lots of photos using JOSM

2016-02-13 Thread Jorge López



El 13/02/2016 a las 21:41, Russ Nelson escribió:

I'm trying to verify every(!) abandoned railroad bridge in NY with a
field trip and a photographic record. It's worth doing, because I
found a couple of bridges I thought I could see on the aerials, but
which weren't actually there, a few that were reconstructs, not
original RR bridges, and a few that had been dismantled (sob!).

Problem: I've already visited a majority but not all. Which ones?
Problem: not all my photos are georeferenced.
Problem: I don't have a GPS track for them either (otherwise I would
and do use exiftool's geosync facility).

Solution: I remember where I took every photo (but if I see you
walking on the street I won't remember your name; go figure), so it's
just a matter of getting a lat/lon and storing it with every
photo. So, I look at the photo, and use JOSM to visit that location. I
add a node at the location I took a photo, use Ctrl-Alt-C to copy the
lat/lon, then Ctrl-Z to remove the node. Then I copy the lat/lon into
a shell command called "setgps" (included below), which takes three
parameters: lat, long, and the photo. It uses exiftool to stuff the
lat/lon and hemisphere into the photo.
I made last summer a plugin for JOSM called Mapillary plugin. It would 
allow you to import all the pictures, drag them into the correct 
lat/lon, make sequences out of them and then export them to a local 
directory or upload them to Mapillary service.


#!/usr/bin/python
"""takes three parameters: lat, long, and the photo filename.jpg"""

import sys, os

lat = sys.argv[1].replace(",", "")
lon = sys.argv[2]
if float(lat) > 0: latdir = "N"
else: latdir = "S"
if float(lon) > 0: londir = "E"
else: londir = "W"

os.system("exiftool -GPSLatitudeRef=%s -GPSLatitude='%s' -GPSLongitudeRef=%s 
-GPSLongitude=%s '%s'" % (latdir, lat, londir, lon, sys.argv[3]))

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk



---
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
https://www.avast.com/antivirus


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Georeferencing lots of photos using JOSM

2016-02-13 Thread Michael Reichert
Hi Russ,

Am 13.02.2016 um 21:41 schrieb Russ Nelson:
> Solution: I remember where I took every photo (but if I see you
> walking on the street I won't remember your name; go figure), so it's
> just a matter of getting a lat/lon and storing it with every
> photo. So, I look at the photo, and use JOSM to visit that location. I
> add a node at the location I took a photo, use Ctrl-Alt-C to copy the
> lat/lon, then Ctrl-Z to remove the node. Then I copy the lat/lon into
> a shell command called "setgps" (included below), which takes three
> parameters: lat, long, and the photo. It uses exiftool to stuff the
> lat/lon and hemisphere into the photo.

There is a JOSM plugin which fetches coordinates from a GPX waypoint
which has the same name as the photo. I haven't tried it yet because
there was no need to try it.

Best regards

Michael


-- 
Per E-Mail kommuniziere ich bevorzugt GPG-verschlüsselt. (Mailinglisten
ausgenommen)
I prefer GPG encryption of emails. (does not apply on mailing lists)



signature.asc
Description: OpenPGP digital signature
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Georeferencing lots of photos using JOSM

2016-02-13 Thread Russ Nelson
I'm trying to verify every(!) abandoned railroad bridge in NY with a
field trip and a photographic record. It's worth doing, because I
found a couple of bridges I thought I could see on the aerials, but
which weren't actually there, a few that were reconstructs, not
original RR bridges, and a few that had been dismantled (sob!).

Problem: I've already visited a majority but not all. Which ones?
Problem: not all my photos are georeferenced.
Problem: I don't have a GPS track for them either (otherwise I would
and do use exiftool's geosync facility).

Solution: I remember where I took every photo (but if I see you
walking on the street I won't remember your name; go figure), so it's
just a matter of getting a lat/lon and storing it with every
photo. So, I look at the photo, and use JOSM to visit that location. I
add a node at the location I took a photo, use Ctrl-Alt-C to copy the
lat/lon, then Ctrl-Z to remove the node. Then I copy the lat/lon into
a shell command called "setgps" (included below), which takes three
parameters: lat, long, and the photo. It uses exiftool to stuff the
lat/lon and hemisphere into the photo.


#!/usr/bin/python
"""takes three parameters: lat, long, and the photo filename.jpg"""

import sys, os

lat = sys.argv[1].replace(",", "")
lon = sys.argv[2]
if float(lat) > 0: latdir = "N"
else: latdir = "S"
if float(lon) > 0: londir = "E"
else: londir = "W"

os.system("exiftool -GPSLatitudeRef=%s -GPSLatitude='%s' -GPSLongitudeRef=%s 
-GPSLongitude=%s '%s'" % (latdir, lat, londir, lon, sys.argv[3]))

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk