#leaflet | Logs for 2012-10-03

Back
[00:00:49] -!- Nick001-Shop has quit [Quit: ChatZilla 0.9.89 [Firefox 15.0.1/20120905151427]]
[00:00:49] -!- logger[mah] has quit [Remote host closed the connection]
[00:00:55] -!- logger[mah] has quit [Remote host closed the connection]
[00:06:54] -!- dimas_ has quit [Ping timeout: 240 seconds]
[00:08:39] -!- jpk has quit [Ping timeout: 260 seconds]
[00:19:07] <tom_m> sorry, yes. big performance issue. the browser hangs
[00:19:48] <tom_m> too much going on. switching to the vector and clustering seemed to help a bit, but right now i'm just trying to figure out the difference between that and http://www.giscloud.com/map/16671/a-world-of-a-million-points
[00:27:45] -!- Tecan has quit [Ping timeout: 256 seconds]
[00:28:04] -!- jpk [jpk!~jpk@unaffiliated/vorondil] has joined #leaflet
[00:28:22] -!- morfic has quit [Ping timeout: 252 seconds]
[00:31:30] -!- micges has quit [Quit: Leaving]
[00:53:47] -!- r00t4rd3d has quit [Quit: Leaving]
[00:54:23] -!- andypugh has quit [Quit: andypugh]
[01:16:00] -!- maximilian_h has quit [Quit: Leaving.]
[01:21:30] -!- WillenCMD has quit [Quit: Lost terminal]
[01:32:38] -!- Brandonian has quit [Quit: Brandonian]
[01:33:09] -!- ve7it has quit [Remote host closed the connection]
[01:48:03] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[02:15:12] -!- Yoshi47 has quit [Quit: Leaving]
[02:48:35] -!- pjm has quit [Read error: Connection reset by peer]
[02:54:59] -!- gmouer has quit []
[02:59:22] -!- Keknom has quit [Quit: Leaving.]
[03:00:39] -!- tjb1_ has quit [Remote host closed the connection]
[03:00:54] -!- tjb1 has quit [Read error: Connection reset by peer]
[03:03:15] -!- tjb1 has quit [Client Quit]
[03:11:55] -!- adb has quit [Ping timeout: 246 seconds]
[03:37:09] uw is now known as Guest59808
[03:38:06] -!- Guest59808 has quit [Changing host]
[03:38:24] Guest59808 is now known as uw
[03:55:15] -!- nyxx [nyxx!nyx@c-66-31-20-103.hsd1.ma.comcast.net] has joined #leaflet
[03:55:24] <nyxx> Leaflet question: Anyone knows how to identify a marker during a popupopen event?
[03:55:29] <nyxx> http://stackoverflow.com/questions/12701240/how-to-identify-leaflets-marker-during-a-popupopen-event
[03:59:48] -!- panasync has quit [Ping timeout: 240 seconds]
[04:04:48] -!- FinboySlick has quit [Quit: Leaving.]
[04:22:05] -!- ktchk has quit [Read error: Connection reset by peer]
[04:36:01] -!- garage_seb has quit [Quit: Leaving]
[04:39:47] -!- broofa has quit [Quit: Computer has gone to sleep.]
[04:45:35] -!- bradsimantel [bradsimantel!~simantel@c-24-20-7-19.hsd1.or.comcast.net] has joined #leaflet
[04:53:08] -!- bradsimantel has quit [Quit: bradsimantel]
[04:56:14] -!- bradsimantel [bradsimantel!~simantel@c-24-20-7-19.hsd1.or.comcast.net] has joined #leaflet
[04:58:36] -!- mhaberler has quit [Quit: mhaberler]
[05:03:34] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[05:06:09] -!- bradsimantel has quit [Quit: bradsimantel]
[05:10:49] -!- dhoovie has quit [Read error: Connection reset by peer]
[05:14:29] -!- dhoovie has quit [Read error: Connection reset by peer]
[05:20:01] -!- dhoovie has quit [Read error: Connection reset by peer]
[05:31:54] -!- dhoovie has quit [Read error: Connection reset by peer]
[05:34:06] -!- tjb1 has quit [Quit: tjb1]
[05:44:46] -!- dhoovie has quit [Read error: Connection reset by peer]
[05:46:45] -!- racycle has quit [Quit: racycle]
[05:50:08] -!- dhoovie has quit [Read error: Connection reset by peer]
[05:57:53] -!- dhoovie has quit [Read error: Connection reset by peer]
[06:09:21] -!- dhoovie has quit [Read error: Connection reset by peer]
[06:22:40] -!- lwizardl has quit [Quit: Leaving]
[06:25:05] -!- crib has quit [Remote host closed the connection]
[06:35:43] -!- djcoin [djcoin!~makina@glo44-4-82-239-69-98.fbx.proxad.net] has joined #leaflet
[06:40:00] pjm__ is now known as pjm
[06:40:29] -!- pjm has quit [Quit: TTFO]
[06:40:38] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[06:47:16] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[06:47:33] -!- alex__ [alex__!1fabc43d@gateway/web/freenode/ip.31.171.196.61] has joined #leaflet
[06:51:45] -!- kb8wmc has quit [Quit: ChatZilla 0.9.89 [Firefox 15.0.1/20120907230839]]
[06:52:04] -!- WillenCMD has quit [Quit: Page closed]
[06:53:08] -!- archivist_herron has quit [Ping timeout: 248 seconds]
[06:54:23] -!- dhoovie has quit [Read error: Connection reset by peer]
[07:11:22] -!- GargantuaSauce has quit [Read error: Connection reset by peer]
[07:11:22] -!- dhoovie has quit [Read error: Connection reset by peer]
[07:16:32] -!- emel has quit [Excess Flood]
[07:16:53] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[07:17:16] -!- dhoovie has quit [Read error: Connection reset by peer]
[07:21:26] -!- emel has quit [Excess Flood]
[07:21:48] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[07:24:33] -!- dhoovie has quit [Read error: Connection reset by peer]
[07:32:33] -!- dhoovie has quit [Read error: Connection reset by peer]
[07:45:03] -!- dhoovie has quit [Read error: Connection reset by peer]
[07:47:05] -!- pingufan has quit [Quit: Konversation terminated!]
[07:55:38] -!- ybon [ybon!~ybon@ALagny-154-1-56-173.w81-249.abo.wanadoo.fr] has joined #leaflet
[07:57:48] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:01:11] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:04:01] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:07:56] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:10:46] -!- alex__ has quit [Ping timeout: 240 seconds]
[08:12:06] -!- jpk has quit [Ping timeout: 245 seconds]
[08:14:57] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:18:46] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:26:39] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:36:38] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:40:04] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:55:10] -!- dhoovie has quit [Read error: Connection reset by peer]
[08:56:18] -!- dhoovie has quit [Read error: Connection reset by peer]
[09:07:52] -!- dhoovie has quit [Read error: Connection reset by peer]
[09:22:43] -!- mk0 has quit [Quit: Page closed]
[09:23:20] -!- dhoovie has quit [Read error: Connection reset by peer]
[09:28:00] -!- dhoovie has quit [Read error: Connection reset by peer]
[09:31:07] Cylly2 is now known as Loetmichel
[09:31:59] -!- pthorin has quit [Quit: leaving]
[09:36:56] -!- javisantana [javisantana!~chatzilla@196.Red-81-43-239.staticIP.rima-tde.net] has joined #leaflet
[09:44:17] -!- dhoovie has quit [Read error: Connection reset by peer]
[09:49:27] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust446.5-4.cable.virginmedia.com] has joined #leaflet
[09:50:43] -!- phantoxe has quit [Ping timeout: 246 seconds]
[09:51:21] -!- pthorin [pthorin!~petert@gbg01.kartena.se] has joined #leaflet
[09:52:08] -!- phantone has quit [Ping timeout: 246 seconds]
[09:53:02] <javisantana> hi all, do you know if is there available a library to export leaflet geometry layers as geojson?
[10:03:53] -!- dhoovie has quit [Read error: Connection reset by peer]
[10:07:53] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[10:10:37] <javisantana> i can't find one so i will develop one
[10:11:01] <javisantana> I think it fits in leaflet since it has geometry edit capabilities
[10:12:11] -!- dhoovie has quit [Read error: Connection reset by peer]
[10:14:14] <ybon> javisantana: it's discussed, see for example: https://github.com/CloudMade/Leaflet/issues/712
[10:15:14] -!- phantoxe has quit [Ping timeout: 246 seconds]
[10:16:30] <javisantana> yeah, i see
[10:19:12] -!- dhoovie has quit [Read error: Connection reset by peer]
[10:19:59] <javisantana> the pull request is 5 months old, do you know why it is not merged?
[10:22:03] <ybon> humm, last time I've discussed this with Mourner, he said he was not sure this was a core feature, and maybe could live in a third party plugin
[10:24:56] <javisantana> it seems reasonable that if leaflet core parses geojson could export geojson also
[10:25:05] <javisantana> the same than the editing features are in the core
[10:26:26] -!- dhoovie has quit [Read error: Connection reset by peer]
[10:34:53] -!- dhoovie has quit [Read error: Connection reset by peer]
[10:38:58] -!- dhoovie has quit [Read error: Connection reset by peer]
[10:49:44] -!- dhoovie has quit [Read error: Connection reset by peer]
[10:53:31] -!- dhoovie has quit [Read error: Connection reset by peer]
[10:55:18] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[10:58:55] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:07:59] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:09:06] -!- V0idExp has quit [Read error: No route to host]
[11:12:37] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:16:41] -!- broofa [broofa!~broofa@67.204.154.143] has joined #leaflet
[11:18:13] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:23:01] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:27:44] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:29:35] -!- Brandonian [Brandonian!~bmorrison@c-76-23-71-207.hsd1.in.comcast.net] has joined #leaflet
[11:29:48] -!- Brandonian has quit [Client Quit]
[11:46:33] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:49:16] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:53:35] -!- phantoxe has quit [Ping timeout: 246 seconds]
[11:53:58] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:54:48] -!- syyl_tb has quit [Ping timeout: 240 seconds]
[12:05:46] -!- dhoovie has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
[12:24:58] -!- b_b [b_b!ejabberd@81.18.178.14] has parted #leaflet
[12:25:38] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[12:29:42] -!- theos has quit [Ping timeout: 244 seconds]
[12:33:51] -!- b_b [b_b!ejabberd@81.18.178.14] has parted #leaflet
[12:34:21] -!- micges has quit [Quit: Leaving]
[12:41:30] -!- Brandonian [Brandonian!~bmorrison@c-76-23-71-207.hsd1.in.comcast.net] has joined #leaflet
[12:50:08] -!- factor has quit [Quit: Leaving]
[12:53:15] -!- mk0 has quit [Quit: Leaving]
[13:10:40] -!- gmagno has quit [Ping timeout: 252 seconds]
[13:14:59] -!- _1SheYode has quit [Ping timeout: 260 seconds]
[13:37:30] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[13:41:02] -!- mattions has quit [Ping timeout: 246 seconds]
[13:42:15] -!- gmouer has quit []
[13:53:30] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust446.5-4.cable.virginmedia.com] has joined #leaflet
[13:55:02] -!- mk0 has quit [Quit: Leaving]
[13:59:24] -!- zevarito [zevarito!~zevarito@r190-135-0-148.dialup.adsl.anteldata.net.uy] has joined #leaflet
[13:59:28] <zevarito> hi all
[13:59:50] <zevarito> good example of cartesian coords with leaflet?
[14:04:21] -!- psha[work] has quit [Quit: Lost terminal]
[14:13:06] -!- handyface [handyface!5ed2cf7e@gateway/web/freenode/ip.94.210.207.126] has joined #leaflet
[14:14:24] -!- handyface has quit [Client Quit]
[14:17:25] -!- crib has quit [Quit: quit]
[14:19:07] -!- handyface [handyface!5ed2cf7e@gateway/web/freenode/ip.94.210.207.126] has joined #leaflet
[14:21:27] -!- mazafaka has quit [Ping timeout: 256 seconds]
[14:27:13] -!- mattions has quit [Ping timeout: 246 seconds]
[14:28:35] -!- micges has quit [Quit: Leaving]
[14:40:57] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust446.5-4.cable.virginmedia.com] has joined #leaflet
[14:45:48] -!- tjones [tjones!~treyjones@75-150-12-161-Atlanta.hfc.comcastbusiness.net] has joined #leaflet
[14:47:07] <tjones> hi, I'm having an issue on a map with vector layers, but no tile layers - click events on the map do not fire when rendered features are clicked. Is there something i can do about this? Also, the vector features are all L.GeoJSON.
[14:54:56] -!- chillly [chillly!~chris@adsl-212-50-182-72.karoo.kcom.com] has joined #leaflet
[15:09:44] -!- broofa has quit [Quit: Computer has gone to sleep.]
[15:12:35] <tjones> specifically, all click events on svgs do not propogate
[15:16:54] -!- mk0 has quit [Quit: Looking for access to www.icdd.com bases.]
[15:34:10] -!- broofa [broofa!~broofa@208-100-130-92.bendbroadband.com] has joined #leaflet
[15:37:46] -!- handyface has quit [Quit: Page closed]
[15:39:36] -!- chillly has quit [Quit: Leaving]
[15:42:22] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[16:07:17] -!- bedah has quit [Ping timeout: 256 seconds]
[16:28:20] -!- mattions has quit [Ping timeout: 246 seconds]
[16:36:09] -!- dimas_ has quit [Ping timeout: 244 seconds]
[16:41:59] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust446.5-4.cable.virginmedia.com] has joined #leaflet
[16:43:32] -!- skunkworks has quit [Ping timeout: 248 seconds]
[16:43:43] skunkworks_ is now known as skunkworks
[16:45:21] -!- skunkworks has quit [Client Quit]
[16:54:12] -!- gmagno has quit [Ping timeout: 245 seconds]
[17:07:06] -!- djcoin has quit [Quit: WeeChat 0.3.7]
[17:10:22] -!- phantone has quit []
[17:38:37] -!- vladimirek has quit [Remote host closed the connection]
[17:49:20] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 14.0.1/20120713225625]]
[17:54:19] -!- javisantana has quit [Remote host closed the connection]
[18:07:14] -!- zzolo [zzolo!~zzolo@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[18:13:24] -!- micges has quit [Ping timeout: 260 seconds]
[18:26:01] -!- chillly [chillly!~chris@adsl-212-50-182-72.karoo.kcom.com] has joined #leaflet
[18:28:33] -!- b_b [b_b!ejabberd@81.18.178.14] has parted #leaflet
[18:28:43] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[18:29:52] -!- scottman [scottman!~scott@205.125.62.166] has joined #leaflet
[18:29:56] -!- emel has quit [Excess Flood]
[18:30:17] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[18:37:01] -!- ffifrit has quit [Quit: Leaving]
[19:03:11] -!- b_b [b_b!ejabberd@81.18.178.14] has parted #leaflet
[19:23:47] -!- GargantuaSauce has quit [Ping timeout: 245 seconds]
[19:24:05] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[19:27:23] -!- gambakufu has quit [Ping timeout: 260 seconds]
[19:29:18] -!- scottman has quit [Quit: Konversation terminated!]
[19:29:23] psha[work] is now known as phsa
[19:29:26] phsa is now known as psha
[19:36:46] toudi_ is now known as micges
[19:50:25] psha is now known as psha[tmp]
[19:55:11] -!- psha[tmp] has quit [Quit: leaving]
[19:56:11] -!- psha has quit [Quit: Lost terminal]
[20:02:48] -!- chillly has quit [Quit: Leaving]
[20:02:56] -!- syyl_ws has quit [Quit: Verlassend]
[20:10:18] -!- RussianKid has quit [Quit: Leaving.]
[20:13:04] -!- RussianKid has quit [Client Quit]
[20:14:21] -!- zevarito has quit [Ping timeout: 256 seconds]
[20:18:43] -!- toastyde1th has quit [Ping timeout: 260 seconds]
[20:25:48] -!- ybon has quit [Quit: WeeChat 0.3.8]
[20:30:05] -!- ybon [ybon!~ybon@ALagny-154-1-56-173.w81-249.abo.wanadoo.fr] has joined #leaflet
[20:30:30] -!- ve7it has quit [Remote host closed the connection]
[20:37:48] -!- tjb1 has quit [Quit: tjb1]
[20:52:09] -!- maximilian_h has quit [Quit: Leaving.]
[20:56:48] -!- chillly [chillly!~chris@adsl-212-50-182-72.karoo.kcom.com] has joined #leaflet
[21:06:21] -!- DJ9DJ has quit [Quit: by(t)e]
[21:08:55] -!- jpk [jpk!~jpk@unaffiliated/vorondil] has joined #leaflet
[21:10:49] -!- mk0 has quit [Quit: Leaving]
[21:14:49] -!- mattions has quit [Quit: Leaving]
[21:18:42] -!- kb8wmc has quit [Ping timeout: 252 seconds]
[21:20:39] -!- Brandonian has quit [Quit: Brandonian]
[21:22:56] -!- zzolo has quit [Quit: zzolo]
[21:27:48] -!- skunkworks has quit [Read error: Connection reset by peer]
[21:30:09] -!- FinboySlick has quit [Quit: Leaving.]
[21:31:35] -!- syyl_ws has quit [Quit: Verlassend]
[21:37:23] -!- chillly has quit [Quit: Leaving]
[21:37:39] -!- bedah has quit [Quit: Ex-Chat]
[21:44:36] -!- micges has quit [Quit: Leaving]
[21:48:35] -!- kb8wmc has quit [Ping timeout: 246 seconds]
[21:52:09] -!- kb8wmc has quit [Read error: Connection reset by peer]
[21:55:38] -!- plushy has quit [Quit: Leaving.]
[21:55:38] -!- tjb1 has quit [Quit: tjb1]
[21:56:01] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[21:56:48] -!- L33TG33KG34R has quit [Read error: Connection reset by peer]
[22:00:28] -!- plushy has quit [Ping timeout: 256 seconds]
[22:01:16] <tom_m> does anyone know how i could place millions of markers on the map? my browser seems to crash. even with clustering. i saw this: http://www.giscloud.com/map/16671/a-world-of-a-million-points but wasn't sure how they did it
[22:04:22] -!- micges has quit [Quit: Leaving]
[22:15:49] -!- gmouer has quit []
[22:16:49] <ybon> tom_m: humm, it seems that the markers on the giscloud example are custom canvas tiles
[22:17:30] <tom_m> yea, but they are individually clickable. and i do want to group so i won't see that many at once but
[22:17:46] <tom_m> i had better luck with CircleMarker than Marker. the vector seemed to be faster
[22:18:15] <tom_m> but of the few cluster plugins i found, they all used just Marker. i tried adjusting a few of them. not much luck. so i'm sitting down now to write my own… but would rather not
[22:18:37] <ybon> humm
[22:19:12] -!- mhaberler has quit [Quit: mhaberler]
[22:19:38] <ybon> the giscloud example doesn't load all the million markers in one time
[22:19:46] <tom_m> i have 8,998 right now and it loaded in an acceptable amount of time. obviously you just see a blog when zoomed out. so i will cluster it and hopefully never have more than that on any one view… but i just wonder about performance
[22:20:00] <ybon> I don't think one can do this actually
[22:20:45] <ybon> you can see some example of big data set in the markercluster plugin
[22:21:16] <tom_m> this one? http://leaflet.cloudmade.com/2012/08/20/guest-post-markerclusterer-0-1-released.html
[22:21:23] <ybon> 10000 points seems to be the acceptable limit
[22:21:40] <ybon> yes, this one
[22:22:19] <tom_m> it was crashing my browser when i tried with 8,998 of them. granted they were added to layer groups (4 groups, so 4 different cluster marker classes)
[22:22:38] <ybon> With 10000 markers, you already have the request size problem, plus the javascript computation performance problem...
[22:22:44] <tom_m> if i changed the Marker to ClusterMarker it would work (despite looking funny because i didn't style anything)
[22:23:37] <tom_m> from my server i return JSON with the key being lat/lng and the value then being various data to plot based on the coords. its small enough to not come back with a request timeout
[22:23:42] <tom_m> but yea one day i don't know maybe it would
[22:24:23] <ybon> I'm using geojson tilelayers to deal with this
[22:24:32] <tom_m> how does that work?
[22:24:51] <tom_m> is that a tile server?
[22:25:02] <ybon> well
[22:25:23] <ybon> it's not a tile server de per se, but i'm actually using tilestache for serving the geojson
[22:25:34] <ybon> but this could be served by another framework
[22:25:38] <ybon> must by cached anyway
[22:26:16] <tom_m> honestly, i'm just trying to map gender data on a map. if it was a tile server serving up some sort of meaningful graphic in the tile images itself that'd be fine too
[22:26:32] <tom_m> i'm just kinda stuck on how best to map gender with such huge sample sizes
[22:26:43] <tom_m> that makes sense in a visual way
[22:26:51] <ybon> here is my try: https://github.com/yohanboniface/djangopeople/blob/clientclustering/djangopeople/djangopeople/static/djangopeople/js/maps.js#L39
[22:28:02] <ybon> its work in progress, btw
[22:28:20] <tom_m> cool
[22:28:24] <tom_m> i'll take a look
[22:28:45] <tom_m> but i'm wondering if i should be going a different direction altogether. given that i'm only dealing with a few days data and eventually i'll have much much more
[22:28:52] <tom_m> here's what the end product will look like: https://sphotos-b.xx.fbcdn.net/hphotos-ash4/258047_385378114867670_705622168_o.jpg
[22:29:04] <tom_m> so you can kinda see the problem :(
[22:29:15] <ybon> Here is an example from b_b: http://tiles.kupaia.fr/demos/taxinomes.html
[22:29:19] <tom_m> pretty though ha
[22:29:24] <tom_m> til it crashes your computer :)
[22:29:59] <ybon> I see
[22:30:10] <tom_m> ah ok cool. that seems to handle a lot… but you can't click on them?
[22:30:11] <ybon> I think you'll have to make the clustering server side
[22:30:19] <ybon> humm, maybe not
[22:30:24] <ybon> but this is not a problem
[22:30:40] <ybon> they are marker, so you can just add a click event on them
[22:30:44] -!- zzolo [zzolo!~zzolo@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[22:30:59] <tom_m> o ok
[22:32:18] <tom_m> i can actually slice down data hourly. so i aggregate the data for the date range and then return it
[22:33:04] <tom_m> haven't ran into any time out situations yet but i don't know
[22:33:13] <tom_m> its just mapping it all that's killing the browser
[22:34:10] <tom_m> and giscloud just makes it look effortless
[22:34:23] <ybon> if you are using cluster, you must create the cluster, then add the marker to it, and then add it to the map
[22:34:37] <ybon> markers*
[22:34:38] <tom_m> right
[22:34:42] <tom_m> that's what i've been doing
[22:34:50] <ybon> giscloud solve the problem server side :)
[22:35:00] <tom_m> how do they do all that server side?
[22:35:29] <ybon> first, they do not return all the markers for a given area
[22:35:50] <ybon> secondly, they use tile layers, and then return only the markers for the visible areas
[22:36:09] <tom_m> they keep making requests like: http://d3hkyp08xzfuu3.cloudfront.net/t/1316509973/map16671/layer81089/5/20/17.json
[22:36:31] <tom_m> so they are loading in chunks of 256x256..
[22:36:41] -!- zlog has quit [Ping timeout: 245 seconds]
[22:37:09] <ybon> yes
[22:37:18] <ybon> one tile is 256x256
[22:38:01] <tom_m> so i'd have to send to the server the current zoom level and which tiles to get data for? and the server would cluster and send back the makers?
[22:38:24] <ybon> yes
[22:38:38] <ybon> this is was I'm doing for djangopeople
[22:39:25] <tom_m> so on the server side have to loop all points and figure out how far apart they are in order to cluster
[22:39:37] -!- syyl_tb- has quit [Quit: Verlassend]
[22:39:43] -!- Tom_itx has quit []
[22:40:19] <ybon> well, I've not yet done the cluster part ;)
[22:40:38] <ybon> but basically, it's somethink like the marching squares algorithm
[22:40:43] <ybon> something
[22:40:52] <tom_m> hmm makes it tough if you wanted to say load in a year's worth of data, when you have aggregate reports by the hour i guess, huh? :)
[22:42:12] <ybon> humm, not sure to get the point :(
[22:42:17] <tom_m> i gotta separate out this geo data from the rest of whats going on i guess. throw it in i don't know amazon simpledb or something
[22:42:40] <tom_m> then i can query by location / zoom level and date range
[22:42:41] <ybon> how is this data stored actually?
[22:43:15] <tom_m> in mongodb. then i run a group() and aggregate it by the hour. storing in the location based data in an object.
[22:43:18] <ybon> note that this kind of request is the job of something like tilestache server, which is easy to implement
[22:43:23] <ybon> ah
[22:43:34] <tom_m> with key being lat/lng : { male: 4, female: 10 }
[22:44:16] <tom_m> so when i get a month, i have to group 30 days * 24 = 720 hourly aggregate documents. loop each one's location object and combine them all
[22:44:50] <tom_m> then that gets returned to the browser. i have a big object with lat/lng and then how many of each for the coordinate
[22:45:02] <tom_m> so far not enough to create a timeout when actually querying for the data. so far
[22:45:34] <tom_m> price to store data is a concern too. so its tricky. everyone wants everything all mapped lol. why does it have to be mapped haha
[22:46:40] <ybon> i think you must split the data in more than one request
[22:47:27] <tom_m> yea i think so too
[22:48:05] <tom_m> i'm thinking something like amazon too. then i can kinda separate out data for billing
[22:48:28] <tom_m> and not worry about how much data is in there
[22:48:37] <tom_m> i like bottomless pits
[22:49:26] <ybon> tilestache can run anywere, and cache in S3, btw
[22:49:35] <tom_m> oh really… s3 may be better yet. cheaper
[22:49:37] <tom_m> to the cloud! :)
[22:50:15] <tom_m> maybe i should just shove everything into s3. its not like the data has to change
[22:50:56] <tom_m> and tilestache will be able to load up the data as i need it for the map?
[22:51:22] <ybon> humm
[22:51:34] <ybon> with the data stored in mongodb, I don't know
[22:51:46] <ybon> if you can store it in PostGIS, it's easy
[22:51:57] <tom_m> no i'll move it outta mongo that's fine.
[22:52:05] <ybon> but mongodb, never tried it with tilestache
[22:52:10] <tom_m> i mean it is fast but
[22:52:36] <tom_m> i think if the data is not changing once processed, i can move it off somewhere else. the storage costs of mongodb vs. s3 is just not worth it
[22:52:56] <tom_m> anywhere you run mongodb it's going to be more expensive to store the data. you get the benefit of geo location indexing but
[22:53:40] <tom_m> http://www.mongodb.org/display/DOCS/Geospatial+Indexing … not sure if that'll help out or not
[22:55:12] <ybon> humm
[22:55:38] <ybon> so, if tilestache has no provider for mondodb, it could be quite easy to make some
[22:56:28] -!- theorbtwo has quit [Ping timeout: 240 seconds]
[22:56:34] <tom_m> that's an idea
[22:57:46] <tom_m> so does tilestache send back data for markers? or does it just send back images for the map?
[22:58:28] <ybon> both
[22:58:41] <ybon> it can serve images, or strucutred data, like geojson
[22:58:59] <tom_m> oh ok i see, the providers
[22:59:47] <tom_m> so its an entire map server? i can have my own images and everything huh
[23:00:25] <ybon> yes
[23:00:28] <ybon> but cache it :p
[23:02:08] <tom_m> cool
[23:02:25] <tom_m> well, this is gonna be a slight detour :) but thanks for turning me on to this tool
[23:02:34] <tom_m> i didn't exactly plan to have to build something like this ha
[23:03:13] <ybon> ;)
[23:06:30] -!- zzolo has quit [Quit: zzolo]
[23:07:14] -!- zod has quit [Ping timeout: 240 seconds]
[23:09:12] -!- zzolo [zzolo!~zzolo@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[23:09:26] -!- bradsimantel [bradsimantel!~simantel@c-24-20-7-19.hsd1.or.comcast.net] has joined #leaflet
[23:12:43] -!- zod [zod!~zod@smitty.knid.net] has joined #leaflet
[23:14:59] -!- theorbtwo has quit [Ping timeout: 260 seconds]
[23:18:58] -!- Loetmichel has quit [Ping timeout: 252 seconds]
[23:21:08] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[23:32:13] WillenCMD_ is now known as Gabe_W
[23:44:26] -!- tjb1 has quit [Read error: Connection reset by peer]
[23:46:23] -!- gmouer has quit []
[23:52:20] -!- zzolo has quit [Quit: zzolo]