[Qgis-user] get a smaller file for qgis2leaf

Carlo A. Bertelli (Charta s.r.l.) carlo.bertelli at gmail.com
Fri Jan 2 14:18:23 PST 2015


Hello Guido and list,
there are several ways to reduce this huge GeoJson file:
* simplify tracks;
* reduce precision (less decimals);
* get rid of styling for every element.
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.
The plugin is fantastic, but it's meant for little datasets. More
automation on styling it's not a simple task.
c

Guido Maregatti wrote:

Date: Fri, 2 Jan 2015 08:41:15 -0800
>
From: Guido Maregatti <maregatti at sbcglobal.net>
> To: "qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>
> Subject: [Qgis-user] get a smaller file for qgis2leaf
> Message-ID:
>         <1420216875.6408.YahooMailNeo at web181703.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset="us-ascii"
>
> 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 http://www.indianatrails.org/Suitable_Bikeway/index.html the file is
> 9.1mb !!
> Quite big, I think, for a vector file.
> There is a way that I didn't figure yet to shrink that file down?
>
> Thanks
>


-- 
--------------------------------------------------------------------------
Carlo A. Bertelli
   Charta servizi e sistemi per il territorio e la storia ambientale srl
          Dipendenze del palazzo Doria,
          vc. alla Chiesa della Maddalena 9/2 16124      Genova (Italy)
          tel./fax +39(0)10 2475439  +39 0108566195  gsm:+39 393 1590711
   e-mail: bertelli at chartasrl.eu      http://www.chartasrl.eu
--------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150102/e5394fdf/attachment.html>


More information about the Qgis-user mailing list