<div dir="ltr">Hi Philippe,<div>by using <detect_blank/> you can store a quadruplet of the rgba color in the data blob instead of the compressed image data, it should then be easy to get rid of these tiles in the SQLite if needed (DELETE FROM tiles WHERE length(tile_data) = 4;).</div><div><a href="https://mapserver.org/mapcache/caches.html#blank-tile-detection" target="_blank">https://mapserver.org/mapcache/caches.html#blank-tile-detection</a></div><div>Johannes</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 26 Mar 2026 at 08:49, Philippe Ghesquiere via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div><span style="color:rgb(94,94,94);font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px;font-variant-ligatures:no-contextual">Hi all,</span></div><div><span style="color:rgb(94,94,94);font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px;font-variant-ligatures:no-contextual"><br></span></div><div><font color="#5e5e5e" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;font-variant-ligatures:no-contextual">While creating a GPKG cache with mapcache_seed, I would like to avoid writing empty tiles.</span></font></div><div><font color="#5e5e5e" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;font-variant-ligatures:no-contextual">I know that <symlink/> can save disk space. But I would like to get rid of these empty tiles.</span></font></div><div><font color="#5e5e5e" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;font-variant-ligatures:no-contextual">Is there any parameter to achieve it ?</span></font></div><div><font color="#5e5e5e" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;font-variant-ligatures:no-contextual"><br></span></font></div><div><font color="#5e5e5e" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;font-variant-ligatures:no-contextual">If there is no such parameter, do you have any idea for some post-process SQLITE command to remove these tiles ?</span></font></div><div><font color="#5e5e5e" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;font-variant-ligatures:no-contextual"><br></span></font></div><div><font color="#5e5e5e" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;font-variant-ligatures:no-contextual">Thanks for your help</span></font></div><div><font color="#5e5e5e" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;font-variant-ligatures:no-contextual">Philippe</span></font></div></div>
<font style="font-size:9px">The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.<br>If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.<br>Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.<br>All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.</font>_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div>