Skip to content

Instantly share code, notes, and snippets.

// http://app.toronto.ca/DevelopmentApplications/dwr/test/MapSearchService
var reply0 = function(data)
{
if (data != null && typeof data == 'object') console.log(dwr.util.toDescriptiveString(data, 100));
else dwr.util.setValue('d0', dwr.util.toDescriptiveString(data, 1));
}
function keep_alive() {
http_request = new XMLHttpRequest();
@jxnl
jxnl / East Toronto
Last active August 29, 2015 14:01
When I attended the Toronto Opendata conference, the speaker said that they had a lot of trouble getting all the data from the [Toronto Development Projects](http://app.toronto.ca/DevelopmentApplications/mapSearchSetup.do?action=init) page out to a computer readable format. Needless to say, I ended up scraping the thing with some javascript and …
[
{
communityInfo:null,
folderDescription:"Proposed Canada Post Depot building with a gross floor area of 1858.45 sq. m. (20,005 sq.ft.). The facility will provide for final mail sorting and destination delivery, with ancillary offices, employee locker rooms, etc.. A total of 205 parking parking spaces are proposed to supply both employee parking and fleet parking for the postal delivery vans (5-ton vehicles only). This is a new Canada Post prototype facility where the delivery van drivers will also now have traditional mail routes to provide actual door-to-door mail delivery as well. Building coverage proposed is approximately 18.5%, with approximately 9.4% of the site to be landscaped. The building is proposed to be LEED certified and energy efficient. NOAC issued Aug. 6, 2013, signed by Greg Lintern, Director, Community Planning.",
folderRevision:"37",
folderRsn:3250063,
folderSection:"ESC",
folderSequence:"278253",
folderType:"SA",
folderTypeDesc:"Site Plan