<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="Arial">Hi Stefan,<br>
<br>
I don't know if I understood you correctly, but I think the
solution for you would be an image catalog, right?<br>
Then you would have only one layer for the UTM maps.<br>
In the mapfile it would look like this, in the .dbf in the column
"location" would be the paths to the png data.<br>
<br>
LAYER<br>
NAME "utm_data"<br>
STATUS ON <br>
MAXSCALE 8000<br>
TILEINDEX "filesindex_png.shp"<br>
TILEITEM "location"<br>
TYPE RASTER<br>
PROCESSING "Resample=average"<br>
CLASS<br>
name "</font><font face="Arial"><font face="Arial">utm_data</font>"<br>
END<br>
END<br>
<br>
<br>
</font>
<div class="moz-signature">Greetings Sven<br>
<br>
<br>
<br>
</div>
<div class="moz-cite-prefix">Am 12.10.2022 um 12:55 schrieb Stefan
Gofferje:<br>
</div>
<blockquote type="cite"
cite="mid:8fa4a768-c75f-4a7c-d0c7-26befb053816@home.gofferje.net">Hi
all,
<br>
<br>
Life (and COVID) hit, so I never got anywhere with updating my
weather website and taking mapserver into use there.
<br>
<br>
Currently I have another project - due to the geopolitical
situation:
<br>
I'm working on a mobile system to provide emergency/off-grid
"tactical" communication and data. It's centered on a Raspberry Pi
and includes things like Meshtastic and others. One of the things
I would like to add is a WMS/WFS server to provide map data via
local Wifi AP to connected devices.
<br>
<br>
Topographical (and other) maps of whole Finland are available
under CC4 from the Finnish Land Survey through the KAPSI
non-profit. The maps are in 12kx12k PNGs in a folder structure by
UTM grid. See here: <a class="moz-txt-link-freetext"
href="http://kartat.kapsi.fi/files/peruskarttarasteri_jhs180/taustavari_korkeuskayrilla/1m/etrs89/png/"
moz-do-not-send="true">http://kartat.kapsi.fi/files/peruskarttarasteri_jhs180/taustavari_korkeuskayrilla/1m/etrs89/png/</a>
<br>
The data can by rsync'd down.
<br>
I'm not clear how I would configure mapserver for that. Do I have
to create one map with extent and such for each PNG tile or can I
point mapserver to the root directory of the data and tell it to
go through it recursively and get the data from the PGW sidecar
files?
<br>
<br>
-Stefan
<br>
</blockquote>
<br>
</body>
</html>