<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>I believe the main difference between SpatiaLite and Geopackage is that a SpatiaLite database contains a lot of query functionality and additional data (e.g. a big list of CRS) - while Geopackage does not</p>
<p>When you checked filesizes for shp: did you only look at the shp, or also include dbf, shx, prj, etc.? Otherwise you comparing a complete dataset with attributes and metadata against just geometry.</p>
<p>Andreas</p>
<p>On 2015-11-12 15:36, Paulo van Breugel wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr"><br />
<div class="gmail_extra"><br />
<div class="gmail_quote">On Thu, Nov 12, 2015 at 1:30 PM, Matthias Kuhn <span><<a href="mailto:matthias@opengis.ch">matthias@opengis.ch</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">The main issues with spatialite are IMO: It's based on sqlite so<br /> deleting columns and renaming columns is not supported by design. We<br /> could offer some hacks to bypass this (annoying restriction) from the UI<br /> - there is a risk of side effects though. Another property of it is,<br /> that it's already 4-5MB big, even when empty. I consider this a major<br /> limiting factor as well. Other issues which we were not yet able to<br /> solve are its management of the information scheme which keep duplicate<br /> entries of tables and columns which need to be properly updated which we<br /> apparently do not manage (yet).<br /><br /> Geopackage is also based on sqlite, so the column delete/rename<br /> restrictions apply as well (with the same workaround possibilities). I<br /> haven't checked the file size, but if that's smaller, that would be<br /> quite nice (does somebody know?).</blockquote>
<div> </div>
<div> </div>
<div>Just checked saving a shapefile of 941 bytes as Spatialite and Geopackage file. The first is indeed 4.4MB. The Geopackage is 12.3kB, i.e., larger then the shapefile, but the increase is small compared to the spatialite file. I am not familiar with the differences, but this makes the Geopackage a better candidate imho.<br /><br /></div>
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><br /> All the best<br /><span class="HOEnZb"><span style="color: #888888;">Matthias<br /></span></span></blockquote>
</div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p> </p>
<div> </div>
</body></html>