<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi,<br>
<br>
Tile-based maps are provided in a predefined tileset. In the case of
Google or OSM, for example, this is usually in EPSG 3857 and is
defined in a grid with corresponding resolutions for the different
zoom levels (always based on an extent):
<a class="moz-txt-link-freetext" href="https://mapserver.org/mapcache/config.html#preconfigured-grids">https://mapserver.org/mapcache/config.html#preconfigured-grids</a> <br>
A WMS is usually used as the data source.<br>
Of course, you can also do this for self-defined tilesets with other
resolutions and extents, as in the case of the Korean institute.<br>
With MS4W and the Mapcache software it contains, you can define and
create such a tileset yourself.<br>
<br>
Greetings from Germany<br>
Sven<br>
<div class="moz-signature">
<br>
<br>
<br>
</div>
<div class="moz-cite-prefix">Am 28.11.2023 um 02:00 schrieb 최종호 via
MapServer-users:<br>
</div>
<blockquote type="cite"
cite="mid:CAJHvF7wTPvCt31zvPBudWrEt4ap7B0mwtdN-gLmyWBw0Wb=w3w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello everyone.!
<div>Good morning.</div>
<div><br>
</div>
<div>I'm Choi and I'm Korean.</div>
<div>I'm trying to load and manage a map.</div>
<div><br>
</div>
<div>1. I found mapwingis for C#</div>
<div><br>
</div>
<div>2. I found video for sample</div>
<div> <a href="https://www.youtube.com/watch?v=mBu9XgrfZfM"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.youtube.com/watch?v=mBu9XgrfZfM</a></div>
<div> In this video, he gets map images with SAS.planet
program and supplies maps with ms4w.<br>
</div>
<div> After, he loaded the maps in C# project with axmap.<br>
</div>
<div>
<div><br>
</div>
</div>
<div>3. I did the sample and it works well.</div>
<div><br>
</div>
<div>
<div>
<div>4. It will take about 200 days to get 20 level's maps
with SAS.planet program for some area)</div>
</div>
<div><br>
</div>
</div>
<div>5. So, I got new maps about 4TB from <a
href="https://www.ngii.go.kr/" moz-do-not-send="true"
class="moz-txt-link-freetext">https://www.ngii.go.kr/</a> is
Korea's National Geographic Information Institute</div>
<div>
<div>
<div><br>
</div>
</div>
</div>
<div>6. But, I failed to load the new map in sample c# project</div>
<div> </div>
<div> // Source code used in video C# project</div>
<div> providers.Add(providerid, "map", "<a
href="http://127.0.0.1/map/z{zoom}/" moz-do-not-send="true">http://127.0.0.1/map/z{zoom}/</a><font
color="#0000ff"><b>{y}/{x}</b></font>.png",
tkTileProjection.SphericalMercator, 0, 13);</div>
<div><br>
</div>
<div> // Modified Source code<br>
providers.Add(providerid, "map", "<a
href="http://127.0.0.1/map1/z{zoom}/" moz-do-not-send="true">http://127.0.0.1/map1/z{zoom}/</a><font
color="#ff0000"><b>{x}/{y}</b></font>.png",
tkTileProjection.SphericalMercator, 0, 13);<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>7. After I found some differences.</div>
<div><br>
</div>
<div> - Sample's map is Google map based EPSG:4326 and file's
array is {zoom}{y}{x} and image's size 256*256 pixels</div>
<div><br>
</div>
<div> - But my new maps are based EPSG:5179 and files array
is {zoom}[x]{y} and image's size </div>
<div>512*512 pixels</div>
<div><br>
</div>
<div>If someone knows the way to load my new maps with ms4w</div>
<div>Please, let me know.</div>
<div><br>
</div>
<div>Thank you!</div>
<div><br>
</div>
<div>Best regards</div>
<div>Choi.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
MapServer-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
</body>
</html>