[OSM-talk] [tech/API] Accessing tags set by a user for traces

Guilhem Bonnefille guilhem.bonnefille at gmail.com
Wed Sep 3 20:53:58 BST 2008


Thanks for the feedback.

Of course, I think it is not interesting to access ALL the tags.
So, here are two fresh ideas:
- just the tags of the uploader: personnaly, I try to use the same tags)
- just the tags already used on a boundingbox: personnally, the tags I
use are related to the place tagged (for example, name of town + name
of region + name of country)

The second option is possible because Viking is a desktop application,
so it knows bounding box *before* uploading. So, it can request the
tags just before upload.

Do you think it's possible?

2008/8/28 Tom Hughes <tom at compton.nu>:
> Guilhem Bonnefille wrote:
>
>> I'm working on Viking[1], a GPS desktop application with OSM related
>> features.
>>
>> In order to assist user when uploading its traces to OSM, I wish to
>> contact OSM, retrieve the previously used tags, and propose these tags
>> to the user for the new trace.
>>
>> Is there such API actually?
>
> No, and I don't think one would be practical. To start with we don't
> currently normalise the tags at all so there is lots of duplication in the
> tag table - the only way to get a list of tags is to select distinct on the
> tag column.
>
> Scale wise we have about 250,000 tag records currently, and even if you
> remove the duplicates there are about 40,000 or so. I don't think people are
> going to want to download 40,000 tags even if we wanted to let them.
>
> Tom
>
> --
> Tom Hughes (tom at compton.nu)
> http://www.compton.nu/
>



-- 
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou at im.apinc.org MSN: guilhem_bonnefille at hotmail.com
-=- mailto:guilhem.bonnefille at gmail.com
-=- http://nathguil.free.fr/




More information about the talk mailing list