[OSM-dev] Simple tag count analysis

Dave Stubbs osm.list at randomjunk.co.uk
Fri Aug 3 15:10:30 BST 2007


I've hacked together a tag count analysis page for the osm site.
I have my development machine running a demo:
http://beerwarmer.randomjunk.co.uk:3000/tags/keys

The development machine currently only has the UK data loaded into
it's DB, is only a laptop, and is over an adsl connection, so that
link will be up-and-down like a yo-yo, but it gives the idea
hopefully.

I've attached the svn patch to add this (I don't have svn access, and
have no idea whether people would actually want this deployed for
real).
I've only been doing rails (and ruby for that matter) about 16 hours
now, so let me know if I've done anything stupidly ;-)

Currently the code works live off of the current_way_tags table.. so
on the real site it would update in real-time with the stats.

Dave

PS. SteveC: that's why I wanted a whole planet - it makes the demo so
much more interesting ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tag_search.diff
Type: text/x-patch
Size: 7766 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070803/013e20bc/attachment.bin>


More information about the dev mailing list