<div dir="ltr"><div><div><div><div><div><div>Hello Guido and list,<br></div>there are several ways to reduce this huge GeoJson file:<br></div>* simplify tracks;<br></div>* reduce precision (less decimals);<br></div>* get rid of styling for every element.<br></div>One of the solution used to simplify styling, putting styling information in every feature, consume memory and suggests that removing it coud lead to a size reduction but also to faster processing.<br></div>The plugin is fantastic, but it's meant for little datasets. More automation on styling it's not a simple task.<br>c <br><div><div><div><div><div><div><div><div><div><br>Guido Maregatti wrote:<br><div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Date: Fri, 2 Jan 2015 08:41:15 -0800<br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Guido Maregatti <<a href="mailto:maregatti@sbcglobal.net">maregatti@sbcglobal.net</a>><br>
To: "<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>" <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>><br>
Subject: [Qgis-user] get a smaller file for qgis2leaf<br>
Message-ID:<br>
        <<a href="mailto:1420216875.6408.YahooMailNeo@web181703.mail.ne1.yahoo.com">1420216875.6408.YahooMailNeo@web181703.mail.ne1.yahoo.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
I have recently discovered qgis2leaf a fantastic way to have interactive maps in my website directly from my qgis desktop. I think it works very well with small maps but I found that when I try to use medium size maps the website it has very hard time to show on screen all the info. It works, but to render the map it takes around 25, 30 seconds. I noticed for this map <a href="http://www.indianatrails.org/Suitable_Bikeway/index.html" target="_blank">http://www.indianatrails.org/Suitable_Bikeway/index.html</a> the file is 9.1mb !!<br>
Quite big, I think, for a vector file.<br>
There is a way that I didn't figure yet to shrink that file down?<br>
<br>
Thanks<br></blockquote></div><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>--------------------------------------------------------------------------<br>Carlo A. Bertelli<br>   Charta servizi e sistemi per il territorio e la storia ambientale srl <br>          Dipendenze del palazzo Doria, <br>          vc. alla Chiesa della Maddalena 9/2 16124      Genova (Italy)<br>          tel./fax +39(0)10 2475439  +39 0108566195  gsm:+39 393 1590711<br>   e-mail: <a href="mailto:bertelli@chartasrl.eu" target="_blank">bertelli@chartasrl.eu</a>      <a href="http://www.chartasrl.eu" target="_blank">http://www.chartasrl.eu</a><br>--------------------------------------------------------------------------<br><br><br></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div>