tag:blogger.com,1999:blog-279772059074318326.post8598192692877645418..comments2023-12-30T11:14:38.564-08:00Comments on D3.js Tips and Tricks: Load KML, GPX or GeoJSON traces into a leaflet.js map with the Leaflet.FileLayer pluginD3 Noobhttp://www.blogger.com/profile/00927635217604611354noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-279772059074318326.post-48065826380517677572016-07-01T12:32:16.606-07:002016-07-01T12:32:16.606-07:00Sorry for the delay and I'm not really sure wh...Sorry for the delay and I'm not really sure why the nodes would be different. Remembering the last loaded kml file would be tricky-ish. That's starting to head down the road of being an application. Not strictly difficult, but a little beyond ordinary IMHO.D3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-41814373193731497872016-06-22T12:26:47.362-07:002016-06-22T12:26:47.362-07:00Sorry for the really late reply :-(. And equally s...Sorry for the really late reply :-(. And equally sorry to say that I don't have an answer for you. This is something that I have no experience with. The place I would start is with one of the overlay editing plugins available here (http://leafletjs.com/plugins.html#edit-geometries). Best of luck.D3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-1251189253948061702016-06-18T13:47:07.635-07:002016-06-18T13:47:07.635-07:00That's an interesting question. The only limit...That's an interesting question. The only limit that I'm aware of in this respect would be the one that would cause the browser difficulty. This would vary from browser to browser (http://stackoverflow.com/questions/1076622/browser-limitation-with-maximum-page-length), but would be independent of file type (i.e. it shouldn't be affected by a kml file in particular). In your case however, the problem is't the size of the file, but it might be caused by the type of data that the browser has to render causing it to have a problem. That's just a guess, but I'd put a 30% chance on it of being right.D3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-23633956127417866102016-04-07T16:54:52.934-07:002016-04-07T16:54:52.934-07:00There is some limit for kml sizes? I am trying wit...There is some limit for kml sizes? I am trying with a 1mb kml file and its not open, another with 6mb as well. But, when I open a 100kb kml file these test works. How can I open those biggers, is a different process or there is a true limitation for that way?adajhttps://www.blogger.com/profile/00426667706912306657noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-63411408305895300022015-12-07T04:34:33.417-08:002015-12-07T04:34:33.417-08:00I'm interested to have the ability to use the ...I'm interested to have the ability to use the leaflet editing tools once the layer is uploaded. At the moment it seems to overlay, but cannot be used as a leaflet layer. Any ideas how this can be done?Nathan Turnerhttps://www.blogger.com/profile/09833482917056503076noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-9047599911928701662015-04-09T05:25:25.838-07:002015-04-09T05:25:25.838-07:00Hi there! A good tool for converting kml to gpx fi...Hi there! A good tool for converting kml to gpx files I recommend trying is this free online program http://kml2gpx.com/ that doesn't need installation; just upload files and you'll get fast results. It also works from gpx to kml format. Anonymoushttps://www.blogger.com/profile/11090423644415887004noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-81663632342457175062015-02-09T05:51:51.143-08:002015-02-09T05:51:51.143-08:00This is great. Thanks for the write up. On mine ex...This is great. Thanks for the write up. On mine example though the nodes are huge.<br /><br />I'd also like it to be able to remember the last uploaded kml/gpx etc..Carlhttps://www.blogger.com/profile/07304069811079367623noreply@blogger.com