Re: [OSM-talk] Mapping Photos

2009-07-06 Thread Frankie Roberto
On Sun, Jul 5, 2009 at 8:40 PM, Ævar Arnfjörð Bjarmason ava...@gmail.comwrote:


 Here are a bunch of very large correctly georeferenced images images
 I've taken during mapping parties:


Nice!

I tend not to upload my mapping photos to Flickr (mainly because I think my
friends would be a bit bored by hundreds of photos of road names, junctions
and sign posts).

However, I have got a set of photos of what I hope will eventually be every
building in Manchester (
http://www.flickr.com/photos/frankieroberto/sets/72157614972426670/). I'm
tagging them with a machine tag that references to the Way on OSM which
represents the building outline (eg
http://www.flickr.com/photos/frankieroberto/3673023624/ references
http://www.openstreetmap.org/browse/way/35277202). They will also eventually
all be geocoded.

Am not sure what to do with this at the moment, but I'm thinking that it'd
be cool to be able to browse the map, and then click on any building in
order to see a photo of it.

Frankie

-- 
Frankie Roberto
Experience Designer, Rattle
0114 2706977
http://www.rattlecentral.com
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Mapping Photos

2009-07-06 Thread Ken Guest
On Mon, Jul 6, 2009 at 4:16 PM, Frankie Roberto
fran...@frankieroberto.comwrote:


 On Sun, Jul 5, 2009 at 8:40 PM, Ævar Arnfjörð Bjarmason 
 ava...@gmail.comwrote:


 Here are a bunch of very large correctly georeferenced images images
 I've taken during mapping parties:


 Nice!

 I tend not to upload my mapping photos to Flickr (mainly because I think my
 friends would be a bit bored by hundreds of photos of road names, junctions
 and sign posts).



Create a secondary flickr account? ;-)



-- 
http://short.ie/nenagh/
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Mapping Photos

2009-07-06 Thread Tim Waters (chippy)
Hi,
whilst on the subject of Flickr,
probably 1/2 of the photos tagged with openstreetmap in Flickr would
match what you are looking for:
http://www.flickr.com/photos/tags/openstreetmap/

cheers,

Tim

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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

John McKerrell wrote:
 Next week I'm giving a talk about OpenStreetView at the State of the  
 Map conference. One of the things I want to do with the project is try  
 to host all of the photographs that people take while they're out  
 mapping.

I think we have the same intention and already do that part ;)
http://www.openstreetphoto.org/map.html

But streetview also means the 3D client side stuff, are you making any
progress on that?


Stefan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkpQkgoACgkQYH1+F2Rqwn0YPgCfX5Dl3ZWaKb4QKgYNbJdIIj1X
BC0An1b4CR2wlKsJlw3idsAPwI0CYO4h
=1AJa
-END PGP SIGNATURE-

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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread malenki
John McKerrell wrote:

Next week I'm giving a talk about OpenStreetView at the State of
the Map conference. One of the things I want to do with the project is
try to host all of the photographs that people take while they're out  
mapping.

Speaking for me: Do you really want to show hundreds (or thousands) of
often wiggly and blurred criss-cross shooten pictures of housenumbers,
signs, shelters and other stuff?

If so, I'd upload my georeferenced ones for you since I won't visit
SOTM.

Regards
malenki


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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

malenki wrote:
 John McKerrell wrote:
 
 Next week I'm giving a talk about OpenStreetView at the State of
 the Map conference. One of the things I want to do with the project is
 try to host all of the photographs that people take while they're out  
 mapping.
 
 Speaking for me: Do you really want to show hundreds (or thousands) of
 often wiggly and blurred criss-cross shooten pictures of housenumbers,
 signs, shelters and other stuff?

If it is georeferenced it is basically usable. As we already do the
recognition of signs. The more training material the better. I'll take
all stuff we have already collected in .nl for John at SOTM; I'll reply
in private for the FTP upload.


Stefan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkpQolYACgkQYH1+F2Rqwn0CXACdGEmn2ikfBr0rrAu9kJovvV65
1mEAn1BLdDkthi2MVXxb4r4DvHjzuzxU
=gKLu
-END PGP SIGNATURE-

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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread John McKerrell

On 5 Jul 2009, at 13:53, Stefan de Konink wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 malenki wrote:
 John McKerrell wrote:

 Speaking for me: Do you really want to show hundreds (or thousands)  
 of
 often wiggly and blurred criss-cross shooten pictures of  
 housenumbers,
 signs, shelters and other stuff?

 If it is georeferenced it is basically usable. As we already do the
 recognition of signs. The more training material the better. I'll take
 all stuff we have already collected in .nl for John at SOTM; I'll  
 reply
 in private for the FTP upload.


Basically I see this type of project having a number of different  
components, the 3D view, the storing and managing of the photos and  
the original taking of the photos. What I've been concentrating on is  
the storing and managing of the photos. I had seen openstreetphoto and  
saw that you had looked at this but I thought you were concentrating  
more on the aerial imagery. The sign reading software should be cool  
so what I would be looking to do is to provide a large set of photos  
that someone could run this software on when it's written. I've had a  
slightly better look at the wiki now but I don't actually see where  
people can upload photos, is this available yet as that was where I  
was going to focus my efforts?

John

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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread John McKerrell

On 5 Jul 2009, at 15:31, OJ W wrote:

 do you need georeferencing to be embedded in the image when we give
 them to you (if so what format), or can that be done later by
 uploading GPX traces to our openstreetview account?

I forgot to say, if you are able to georeference your images then  
please do so, I've got exif reading in place already but  
georeferencing based on GPX files or OSM logs will take a bit longer  
(and potentially be dependant on the new OAuth code). If you can't  
georeference your photos then I would still like them but the ones  
that are already done will be useful sooner.

John

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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi John!

John McKerrell wrote:
 What I've been concentrating on is the
 storing and managing of the photos.

Ok :) I don't mind who does it ;) as long as it gets done.

 I had seen openstreetphoto and saw
 that you had looked at this but I thought you were concentrating more on
 the aerial imagery. 

Yes, we are a rather 'diverse' group; initially we also thought it would
be cool to set up a WMS server not only for the aerial stuff, but also
for this kind of stuff, so you could import your photos in Merkaartor or
JOSM trivially. And still have them referenced to locations, as kind of
a base mosaic layer with photos.

 The sign reading software should be cool so what I
 would be looking to do is to provide a large set of photos that someone
 could run this software on when it's written. 

Tijs currently requires proper photo's with good coverage of the concept
for training. Anyone that brings it in, is basically helping to get a
better classifier. If we join this effort there might be a way how te
can help the editors by providing autocompletion of names based on the
photo sign recognition close by.

 I've had a slightly better
 look at the wiki now but I don't actually see where people can upload
 photos, is this available yet as that was where I was going to focus my
 efforts?

I have just created a reasonable public 'secure' ftp upload. The idea is
that you claim a user directory; and start uploading. The images are
automatically chowned. I have attached my exif2kml.php code that I use
to create the file for the mashup layer.

As for FTP:
ftp://openstreetphoto.org/

...and do your thing :)


I am all for mirroring the data. So we might just discuss offlist a good
mirror initiative.


Stefan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkpQxEkACgkQYH1+F2Rqwn3V6wCfSkXi2ETgpOnfNTE7S394LHuv
vBQAn15JxXDKYFjD+ItW6ul62s324OIJ
=WuR6
-END PGP SIGNATURE-


 ';


foreach ($paths as $path) {

if ($handle = opendir($diskbase.$path)) {
while (false !== ($file = readdir($handle))) {
	if (substr(strtolower($file), -4) == '.jpg') {
		$pathfile = $path.'/'.$file;
		$photo = $diskbase.$pathfile;
		$ex...@exif_read_data($photo);

		if ($exif === false) {
			echo $photo;
		} else {


		$lat = '';
		$lon = '';

		switch (count($exif['GPSLatitude'])) {
			case 1:
$lat = $exif['GPSLatitude'];
break;
			case 3:
$lat = (evalu($exif['GPSLatitude'][0]) + (evalu($exif['GPSLatitude'][1]) / 60) + (evalu($exif['GPSLatitude'][2]) / 3600)) * ($exif['GPSLatitudeRef'][0] == 'N' ? 1 : -1);
break;
		}

		switch (count($exif['GPSLongitude'])) {
			case 1:
$lon = $exif['GPSLongitude'];
break;
			case 3:
$lon = (evalu($exif['GPSLongitude'][0]) + (evalu($exif['GPSLongitude'][1]) / 60) + (evalu($exif['GPSLongitude'][2]) / 3600)) * ($exif['GPSLongitudeRef'][0] == 'E' ? 1 : -1);
break;
		}

		if ($lat != '' && $lon != '') {
			$thumbfile = $diskthumbbase.$pathfile;
			if (!file_exists( $thumbfile )) {
			$thumbWidth = 150;
			@mkdir($diskthumbbase.$path, 0755, true);
			$img = imagecreatefromjpeg( $photo );
			$width = imagesx( $img );
			$height = imagesy( $img );

			$new_width = $thumbWidth;
			$new_height = floor( $height * ( $thumbWidth / $width ) );
			$tmp_img = imagecreatetruecolor( $new_width, $new_height );
			imagecopyresized( $tmp_img, $img, 0, 0, 0, 0, $new_width, $new_height, $width, $height );
			imagejpeg( $tmp_img, $thumbfile );
			}
			
echo '
  

  

'.$file.'

  '.$thumbbase.$pathfile.'


  '.$lon.','.$lat.'

  ';
 		$i++;
		}

		}

}
}
closedir($handle);
}
}
echo '
 
';
?>
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread Eddy Petrișor
John McKerrell a scris:
 On 5 Jul 2009, at 15:31, OJ W wrote:
 
 do you need georeferencing to be embedded in the image when we give
 them to you (if so what format), or can that be done later by
 uploading GPX traces to our openstreetview account?
 
 I forgot to say, if you are able to georeference your images then  

I have some georeferenced photos taken in Romania, in the areas I
mapped, and  I won't come to SOTM, but I would like to be able to upload
them.

How can I upload myself the georeferenced pictures I have?

 please do so, I've got exif reading in place already but  
 georeferencing based on GPX files or OSM logs will take a bit longer  
 (and potentially be dependant on the new OAuth code). If you can't  
 georeference your photos then I would still like them but the ones  
 that are already done will be useful sooner.



-- 
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein



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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread Simon Wood
Hi John,
I shall not be a SOTM but you are welcome to use any of the mapping photos on 
my Flickr stream.
http://www.flickr.com/photos/24244...@n03/

Many of us upload surveying photos as a matter of course and tag them 'OSM' or 
'OpenStreetMap'. All mine are licensed CC-SA (to match OSM), however I am 
beging to think that straight CC or even PD would be more appropriate as it 
might help other map makers (those pesky Google community) to use the 
information without the need to burn more gas/petrol collecting the same 
information.

Cheers,
Simon
(aka. mungewell)


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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread John McKerrell

On 5 Jul 2009, at 17:05, Eddy Petrișor wrote:

 John McKerrell a scris:
 On 5 Jul 2009, at 15:31, OJ W wrote:

 do you need georeferencing to be embedded in the image when we give
 them to you (if so what format), or can that be done later by
 uploading GPX traces to our openstreetview account?

 I forgot to say, if you are able to georeference your images then

 I have some georeferenced photos taken in Romania, in the areas I
 mapped, and  I won't come to SOTM, but I would like to be able to  
 upload
 them.

 How can I upload myself the georeferenced pictures I have?

Currently you can't as I'm still getting the code written but it's  
definitely going to be possible to upload using at least web upload  
and FTP. I'm mainly collecting images at SOTM to make it easier for  
people and save them having to use their own bandwidth.

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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread John McKerrell

On 5 Jul 2009, at 17:14, Simon Wood wrote:

 Hi John,
 I shall not be a SOTM but you are welcome to use any of the mapping  
 photos on my Flickr stream.
 http://www.flickr.com/photos/24244...@n03/

 Many of us upload surveying photos as a matter of course and tag  
 them 'OSM' or 'OpenStreetMap'. All mine are licensed CC-SA (to match  
 OSM), however I am beging to think that straight CC or even PD would  
 be more appropriate as it might help other map makers (those pesky  
 Google community) to use the information without the need to burn  
 more gas/petrol collecting the same information.

As I've mentioned in another thread I'll definitely be setting up  
something to allow you to upload images. I've also got flickr import  
in mind too but not sure when that'll be doable.

John

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


Re: [OSM-talk] Mapping Photos

2009-07-05 Thread Ævar Arnfjörð Bjarmason
On Sun, Jul 5, 2009 at 11:17 AM, John McKerrellj...@mckerrell.net wrote:
 Next week I'm giving a talk about OpenStreetView at the State of the
 Map conference. One of the things I want to do with the project is try
 to host all of the photographs that people take while they're out
 mapping. Because most people are likely to have a number of Gb of
 photos and not be able to upload them easily I want to invite anyone
 who's going to SOTM to take as many of their photos with them. I'll be
 taking a large external hard drive with me and will collect photos
 there and then so that you don't have to worry about uploading them.
 Once I have the photos it's still going to take me some time to get
 them uploaded and prepared but I thought because many of us will be
 congregating it would be a good time to collect as many photos as
 possible. Don't resize the photos (unless you already have of course)
 I'd prefer to get the original files if possible.

Here are a bunch of very large correctly georeferenced images images
I've taken during mapping parties:

http://www.flickr.com/photos/avarab/collections/72157615143091066/

And here's a script you can use to download all the images from a set
on flickr, if you have an API key:

http://git.nix.is/?p=avar/flickr-api-scripts;a=blob;f=script/flickr-get-images-from-set;h=d5e6166654a20d6a6a76443e9cc35cdde9e15703;hb=master

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