For different reasons I'm not fan or either geopackage and spatialite... Btw, you can reduce the size of the spatialite if you create it only with CR's of your data (and much Custer to create). A spatiallite with all CRS is 4mb... With a single crs is some k but with all spatial operators indside.<br><br><br>On Thursday, 12 November 2015, Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','matthias@opengis.ch');" target="_blank">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?).<br></blockquote><div> </div><div><br></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><font color="#888888">Matthias<br>
</font></span></blockquote></div><br></div></div>
</blockquote><br><br>-- <br>Luigi Pirelli<br><br>**************************************************************************************************<br>* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank">https://github.com/luipir</a><br>* Mastering QGIS: <a href="https://www.packtpub.com/application-development/mastering-qgis" target="_blank">https://www.packtpub.com/application-development/mastering-qgis</a><br>**************************************************************************************************<br>