By alexismp on juil. 06, 2006
I hacked a mashup for the JavaDay in Versailles, France last week using Java Studio Creator's AJAX mapping component (based on Google Maps).
It uses the registered people database, batch-processing each address through Google Geocoding to populate a latitude/longitude table. The batch approach is due to the hundreds of addresses I have to process and to Google having a (fair) one request per 1.75 seconds per Google key restriction. This geo service can return JSON-formatted data which is what I chose. Of course, I had to do a bit of address cleaning and resubmitting some alternate addresses (adding "FRANCE", removing street name, etc.). I managed to get a 63% ratio of all registered people and 85% of those who actually gave an address (most of the ones that failed had spelling errors).
JavaDay 2006 Versailles
(Use the "Hybrid" view)
I've only kept the first two letters in first and last names to protect privacy. The speakers have full information. Make sure you fully zoom out to see all participants.
I need to do some code cleaning before I share Geo-coding invocation, JSON parsing, JPA in Java SE, more Web Service invocation, Google Map markers construction, etc...