Thanks for the enlightenment, until now I haven't realized I am looking for 
a generalized mapping from file metadata to virtual permanode attrs, but in 
fact I wanted something like that.

I often find photos taken with cameras having incorrect metadata: the clock 
is not adjusted when switching time zones, or not even set after after 
replacing the battery. The exif GPS location is often outdated: the first 
half of photos taken at the same location use the GPS fix from the day 
before.

This can be corrected with exiftool, though. One just needs to download, 
fix and re-upload the file, and adjust the camliContent of the file 
permanode. That way any app that accessed the file in camlistore can see 
the correct metadata.

The fact is, photomap works without LocationInfo in camlistore. It has to 
read the file contents anyway to generate thumbnails and photo icons. This 
CL in its current form is not necessary then.


On Thursday, May 12, 2016 at 10:50:41 PM UTC+2, Eric Drechsel wrote:
>
> Looking at your CL reminds me how confused I am about what the contracts 
> are between the various metadata representations (file, permanode attr, 
> index, corpus, describe, search).
>
> This is the first example of Describe on a permanode pulling a value from 
> the camliContent file. 
>
> Does that fit the architecture? If so, maybe there should be a generalized 
> mapping from indexed file metadata to "virtual" permanode attrs, so this 
> handling isn't scattered all over.
>
> Or should the code that creates the set-attr:camliContent claim also 
> create a location claim?
>
>
> On Fri, May 6, 2016 at 4:10 AM, Attila Tajti <[email protected] 
> <javascript:>> wrote:
>
>> Thank you for trying this. I switched to using photos on the filesystem 
>> until photomap does what I want it to, so that I know for sure what it 
>> might need from camlistore (or other providers). Please give it a try using 
>> the filesystem if you're interested.
>>
>> On Friday, May 6, 2016 at 9:59:18 AM UTC+2, Eric Drechsel wrote:
>>>
>>> I tried this out, but couldn't get photos.json to return anything.
>>>
>>> I built both camlistored and photomap with your exifgps camlistore patch.
>>>
>>> On Friday, April 29, 2016 at 6:34:27 AM UTC-7, Attila Tajti wrote:
>>>>
>>>> I am playing with google maps and trying to show my photos on a map. I 
>>>> can search for specific locations or list blobs having location data, but 
>>>> see no way of getting the location data itself.
>>>>
>>>> At first I used nodeattr.Latitude/Longitude within 
>>>> DescribedBlob.Permanode.Attr and it seemed to work, but now I see it works 
>>>> only where the position was set manually.
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Camlistore" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> best, Eric
> eric.pdxhub.org <http://pdxhub.org/people/eric>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Camlistore" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to