<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Jeff,</span>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I checked TILEINDEX documentation before writing to you. I found no information's about
 other formats except that shapefile is usually used.<br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Jukka,</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I created an extra layer as you suggested, thanks - it works, but I will stay with Shapefiles
 on this one. When working with tileindex as extra layer it takes 2x more time for mapserver to render the layer.</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Thank you all,</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Marcin<br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> MapServer-users <mapserver-users-bounces@lists.osgeo.org> on behalf of Jeff McKenna <jmckenna@gatewaygeomatics.com><br>
<b>Sent:</b> Wednesday, December 14, 2022 1:51 PM<br>
<b>To:</b> mapserver-users@lists.osgeo.org <mapserver-users@lists.osgeo.org><br>
<b>Subject:</b> Re: [MapServer-users] Tileindex in format different than SHP?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">I had recently spent a few weeks of effort on updating the documentation
<br>
for TILEINDEX, with many examples, see : <br>
<a href="https://mapserver.org/optimization/tileindex.html">https://mapserver.org/optimization/tileindex.html</a><br>
<br>
-jeff<br>
<br>
<br>
-- <br>
Jeff McKenna<br>
GatewayGeo: Developers of MS4W, MapServer Consulting and Training<br>
co-founder of FOSS4G<br>
<a href="http://gatewaygeo.com/">http://gatewaygeo.com/</a><br>
<br>
<br>
<br>
On 2022-12-14 7:23 a.m., Marcin Niemyjski via MapServer-users wrote:<br>
> Hello,<br>
> <br>
> Can I use format different than SHP while using tileindex of rasters?<br>
> <br>
> When using Mapfile with configuration as below:<br>
> <br>
> LAYER<br>
>              NAME "2021-01-02_high"<br>
>          STATUS ON<br>
>          TILEINDEX "/DyskPlanetiler/Sentinel1COG/2021/01/02/2021-01-02.gpkg"<br>
>          TILEITEM "location"<br>
>          TYPE RASTER<br>
>          MAXSCALEDENOM 4000000<br>
>          GROUP "2021-01-02"<br>
>          PROJECTION<br>
>              "init=epsg:4326"<br>
>          END<br>
> END<br>
> <br>
> error is recived:<br>
> msShapefileOpen(): Unable to access file. <br>
> (/DyskPlanetiler/Sentinel1COG/2021/01/01/2021-01-01.gpkg)<br>
> <br>
> is there a way to use geopackage or flatgeobuf as indexes or do I have <br>
> to go back to shp?<br>
> <br>
> Best,<br>
> Marcin<br>
> <br>
> _______________________________________________<br>
> MapServer-users mailing list<br>
> MapServer-users@lists.osgeo.org<br>
> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
<br>
_______________________________________________<br>
MapServer-users mailing list<br>
MapServer-users@lists.osgeo.org<br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div>
</span></font></div>
</body>
</html>