Welcome to Esato.com




Convert Cell-ID Geo-tagged photos to GPS-tagged


Click to view updated thread with images




Posted by Hidoba
Hello.

I had a problem: I couldn't use location info written by my Sony Ericsson W902 to photos. I couldn't use it in any applications. And I've solved the problem by making a program.

See my blog post.



Source code of the program is the subject to upload soon.

EDIT. The mcc/mnc/lac/cellid-not-found problem is now solved (for the people actually having this mcc/mnc/lac/cellid stuff in their images)!

Good luck!
[ This Message was edited by: Hidoba on 2009-08-21 08:18 ]



Posted by pakhusin
wow good job..
will download and give it a try..

one question here,
will it erase non cell id related exif data?
[ This Message was edited by: pakhusin on 2009-08-15 06:58 ]


Posted by Hidoba
No, it won't. All it does is adding GPS position tags

Posted by Hidoba
I've updated version, fixed bugs, added Readme, and uploaded the source code.

Have fun!

Posted by pakhusin
Hi, sorry i cant get it working,
I think it's because of my network provider doesnt display the 'cell info' even after I enabled it.
I hope other users can try it out and probably share the results here..


Posted by Hidoba
What error do you get? You can send me the photo and let me see.

Network provider always provides cell-info

Posted by pakhusin
http://img38.imageshack.us/img38/7813/dsc00510i.jpg

here is my sample,
i enabled the add location before taking picture.
but i cant convert the cell id data to gps data to be displayed on exif..

Posted by Hidoba
I added the file and clicked Process. Here is the program log:

Processing dsc00510i.jpg
Reading tags. Loading coordinates from google. 4.222407 103.436363. Writing tags.
Processed with no errors.


I checked, it really added GPS coordinates to the photo (the basic way to check that is to open windows properties for this file, go to tab Details and search GPS).

What do you mean, you can't convert? Does my program say that an error occurred?

Posted by pakhusin
Processing DSC00510.JPG
Reading tags.
Error with mcc/mnc/lac/callid. (mcc/mnc/lac/callid not found?)
Finished.
Processed 1 files:
GPS data was alredy in 0 files.
Google resolved coordinates for 0 files.
opencellid.org resolved coordinates for 0 files.
Coordinates were not found for 1 files.


actual log from your program.
weird, i cant get it working.
I am using window xp.
.Net 2.0 framework has already been installed in my windows xp.

err.. doesnt it suppose to be like this?
mcc/mnc/lac/cellid

i'm not trying to act smart, in fact, i know nothing about this.
just pointing out maybe just it's just a typo error perhaps?
i'm so sorry, if there is nothing wrong there..
[ This Message was edited by: pakhusin on 2009-08-17 02:16 ]


Posted by mode
@hidoba
Excellent effort and wonderful app.

Posted by gayannr
Wow! I've been waiting for such an application.. thumbs up for the effort, will check it once go home
BTW ? does it support batch processing ?

Posted by teapea
I couldn't get this to work either with my C905 photos either.

Posted by code28h4p
Got some problem as like as pakhusin's problem. I couldn't convert my photos' cell id to gps one. Need an advice.
I have used winXP SP3 with .netFX 3.5 installed.

Posted by Hidoba
Yes it supports batch processing.

teapea & pakhusin & code28h4p do you have all three exe files in one directory?
[ This Message was edited by: Hidoba on 2009-08-19 18:58 ]


Posted by pakhusin
yup.. all 3 .exe are all in one folder..
should i separate them or what?

Processing DSC00687.JPG
Reading tags.
Error with mcc/mnc/lac/callid. (mcc/mnc/lac/callid not found?)
Finished.
Processed 1 files:
GPS data was alredy in 0 files.
Google resolved coordinates for 0 files.
opencellid.org resolved coordinates for 0 files.
Coordinates were not found for 1 files.


Posted by pakhusin

On 2009-08-19 16:58:41, teapea wrote:
I couldn't get this to work either with my C905 photos either.

what??
i thought C905 is already equipped with built-in gps?
this program should be used for cell-id geotagging phones only..
for example, C510, C901, C902..
C702 and C905 have their own gps.. You dont need this program..
[ This Message was edited by: pakhusin on 2009-08-19 19:04 ]


Posted by Hidoba
They should be in the same folder.

I've made a special debug version, please try it with one of your geotagged photos and post the program log (or better PM it to me)

Download it here.

And yes, you are right about spelling, thank you.

You'll help me and the project

Thank you
[ This Message was edited by: Hidoba on 2009-08-19 19:25 ]


Posted by teapea
pakusin - the 905 doesn't tag the photos correctly it seems. see my other thread! When i take "geotagged" photos now there is no EXIF info - just the cell info hence this would be handy.

Posted by code28h4p
teapea
Make sure you activate your GPS receiver first and signal were locked. It show with an icon at your statusbar.

Posted by Othello_11
Hi,

I am having a problem while converting, I am getting the following log:

Error with mcc/mnc/lac/callid. (mcc/mnc/lac/callid not found?)

How can I check to seee if the CellID is enabled in the pictures?

Thank you,
Othello


Posted by gayannr
Hidoba ;

Where is actually this cell Id data is stored in pictures, I checked all the EXIF info but couldn't find any

Posted by teapea
The cell ID is not stored in the EXIF part of the file - but in another RDF section, which is probably why you can't find it. If you open a tagged image up in notepad or something then the cell ID stuff will look like

{cell:mcc}234{/cell:mcc}{cell:mnc}30{/cell:mnc}{cell:lac}241{/cell:lac}{cell:cellid}45808{/cell:cellid}{cell:r}3{/cell:r}{cell:cgi}234-30-241-45808{/cell:cgi}

(note I've change angled brackets for wiggly ones as it wouldn't post correctly with angled brackets)

Which is essentially XML style information.

from the mcc, mnc, lac and cellid information, using opencellid, you can find the lat/lon coords - which can then be written into the EXIF.

code28h4p - there is a problem with the phone software somewhere, even though I have GPS turned on, I have a lock etc, the phone is still not writing the GPS lat/lon information into the EXIF tags. It does however write the cellid into the RDF section, hence why this program would be great to get working.
[ This Message was edited by: teapea on 2009-08-20 13:37 ]


Posted by Hidoba
!!! TO ALL having mcc/mnc/lac/cellid-not-found problem:


I've solved your problem and reuploaded the program. Please download and test.
The problem was due to image paths with spaces.


gayannr you can use exiftool to see the cell-id info. You can make a copy of the exiftool.exe file included in my distributibe and rename it to exiftool(-k).exe, and drag&drop your image to the exiftool(-k).exe file.
[ This Message was edited by: Hidoba on 2009-08-21 08:35 ]


Posted by pakhusin
Processing DSC00690.JPG
Reading tags. Loading coordinates from google. 4.202661 103.434255. Writing tags.
Error: exif could not update file:
Finished.
Processed 1 files:
GPS data was alredy in 0 files.
Google resolved coordinates for 1 files.
opencellid.org resolved coordinates for 0 files.
Coordinates were not found for 0 files.


I'm testing your newest version
Your program manage to find the coordinates, but failed to write exif on the image..


Posted by Hidoba

On 2009-08-21 12:47:48, pakhusin wrote:

I'm testing your newest version
Your program manage to find the coordinates, but failed to write exif on the image..




Most certainly that means your image is in protected folder.

Posted by RLP06

On 2009-08-21 14:30:25, Hidoba wrote:

On 2009-08-21 12:47:48, pakhusin wrote:

I'm testing your newest version
Your program manage to find the coordinates, but failed to write exif on the image..




Most certainly that means your image is in protected folder.


Works great, cheers matey


Posted by firoz3321
Ehmm ...

Out of excitement ... Can i know if my k800i has anything to do with this app ??

Posted by Hidoba

On 2009-08-21 14:45:00, firoz3321 wrote:
Ehmm ...

Out of excitement ... Can i know if my k800i has anything to do with this app ??



As far as I see on Sony Ericsson website k800i doesn't have geo-tagging... So app is useless for you

Posted by RLP06
I think you should add a donate button on your website, this is a great program, sure it helps lots of people!

Posted by RLP06
I was able to geotag my pictures that I took while flying over greenland!!!

though one of them placed me in Zambia... lol

Posted by RLP06
If on the C905 there was a satelite signal, does the program use that GPS fix or does it still use CellID info?

Posted by Hidoba

On 2009-08-21 15:43:38, RLP06 wrote:
If on the C905 there was a satelite signal, does the program use that GPS fix or does it still use CellID info?



If the program finds GPS coordinates already present in image, it skips processing this image.
In the next version I'll add a checkbox 'overwrite existing GPS coordinates if present'.

Posted by KingPenguin
I geotag photos with C905. When I try to process any image it shows following error:

Processing DSC01075.JPG
Reading tags. Loading coordinates from google.
Error: could not parse google reply.
Loading coordinates from opencellid.
Error: Conversion from string "49.422935509544" to type 'Double' is not valid..

Finished.
Processed 1 files:
GPS data was alredy in 0 files.
Google resolved coordinates for 0 files.
opencellid.org resolved coordinates for 0 files.
Coordinates were not found for 1 files.

Any ideas?

Posted by Hidoba


Error: Conversion from string "49.422935509544" to type 'Double' is not valid..


Any ideas?


I think this is due to your international standards settings. Try to change them to US.

I'll fix this issue in the next verision.
[ This Message was edited by: Hidoba on 2009-11-17 12:17 ]


Posted by Mcdenis
Great soft!!! Hidoba .. thxs!!!!

It works 100% on Pc.
but when i try to use the new photo (added gps) on my cell c510 with google maps(v.2.2.0) it doesn't work even though the new photo have cell id and gps.
This have a solution?
thanks


Click to view updated thread with images


© Esato.com - From the Esato mobile phone discussion forum