Re: [OSM-dev] CORS on the Wiki

2013-01-10 Thread Jochen Topf
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

Re: [OSM-dev] CORS on the Wiki

2013-01-09 Thread Jochen Topf
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

Re: [OSM-dev] CORS on the Wiki

2013-01-09 Thread Jochen Topf
On Tue, Jan 08, 2013 at 05:17:18PM -0500, Tom MacWright wrote: > Hey all (and especially Grant & Jochen), > > So, the iD editor has this nice 'reference pane' which shows tag/value > summaries from TagInfo, if available. TagInfo also provides thumbnails for > these combos in the form File:Foo. Unf

Re: [OSM-dev] CORS on the Wiki

2013-01-08 Thread Tom MacWright
Ah, wait! It supports JSONP, I'm a fool: http://wiki.openstreetmap.org/w/api.php?action=query&prop=imageinfo&titles=Image:Residential.jpg&iiprop=url%7Ccontent&format=json&callback=foo On Tue, Jan 8, 2013 at 5:31 PM, Katie Filbert wrote: > On Tue, Jan 8, 2013 at 11:17 PM, Tom MacWright wrote: >

Re: [OSM-dev] CORS on the Wiki

2013-01-08 Thread Katie Filbert
On Tue, Jan 8, 2013 at 11:17 PM, Tom MacWright wrote: > Hey all (and especially Grant & Jochen), > > So, the iD editor has this nice 'reference pane' which shows tag/value > summaries from TagInfo, if available. TagInfo also provides thumbnails for > these combos in the form File:Foo. Unfortunate

[OSM-dev] CORS on the Wiki

2013-01-08 Thread Tom MacWright
Hey all (and especially Grant & Jochen), So, the iD editor has this nice 'reference pane' which shows tag/value summaries from TagInfo, if available. TagInfo also provides thumbnails for these combos in the form File:Foo. Unfortunately that doesn't map to a real URL (by design). There's an API to