On Wed, Jan 09, 2013 at 02:23:10PM +0100, Jochen Topf wrote: > On Wed, Jan 09, 2013 at 11:09:31AM +0100, Jochen Topf wrote: > > Taginfo currently has about 900 different images for keys/tags. The > > mediawiki > > API call described above can take several titles, so I could probably ask > > for 10 titles per call or so and need 90 API calls to get all that info. > > > > On the other hand some quick checks reveals that the URL of the image seems > > to be calculated with a simple MD5 sum of the image name. It might not be > > the "correct way" to calculate this ourselves, but certainly easier to do > > than asking the API. > > I knew there had to be a problem... :-) > > Turns out some images come from the wikipedia commons wiki, they are not > actually in the OSM wiki but appear to be. So it turns out we do need to ask > the mediawiki API for the complete image urls.
I have implemented all of this now and it is available on the taginfo server. For details on the new taginfo version see http://blog.jochentopf.com/2013-01-10-taginfo-news.html . Jochen -- Jochen Topf [email protected] http://www.remote.org/jochen/ +49-721-388298 _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

