-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Hughes wrote:
> 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.

Any chance of a report of the most popular tags, or would it lock up the
database for ages just to query them?

Robert (Jamie) Munro

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki4KgQACgkQz+aYVHdncI27QgCgyRJcAiCYhP3su6p0AKNDIQS+
FfoAnjRUEUenXO6LPhqPJc8119Z3WWyp
=SwkM
-----END PGP SIGNATURE-----

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

Reply via email to