<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>Sorry, but I am a linux person and it usually takes me 3 times
longer to write python.<br>
</p>
<p>There is the python program gdal_retile.py, but if I remember, it
didn't handle my use case the way I wanted it.</p>
<p>/Lars S.<br>
</p>
<div class="moz-cite-prefix">Den 2021-11-11 kl. 17:54, skrev Lorenzo
Di Giacomo:<br>
</div>
<blockquote type="cite"
cite="mid:CAERmyNRiwdbRmLbER9hajk8gYYCKkgc+Y7wj-ir=D-86fKH8bw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>I guess it'll do the trick but a python script would be
appreciated instead of rewriting it, if someone has it would
be helpful, thanks!<br>
<br>
</div>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Il giorno gio 11 nov 2021
alle ore 17:22 <<a
href="mailto:lars.schylberg@blixtmail.se"
moz-do-not-send="true" class="moz-txt-link-freetext">lars.schylberg@blixtmail.se</a>>
ha scritto:<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>
<div style="font-family:arial,sans-serif;font-size:13px">Hi<br>
<br>
I talked about this at the foss4g 2 years ago and shared
a bash script where I do exactly what you are asking
for. I don't know if you consider it to be easy, but<br>
the example is this script: <a
href="https://gist.github.com/LarsSchy/9ecb31eb964dd83820c139b2f2769a7c"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://gist.github.com/LarsSchy/9ecb31eb964dd83820c139b2f2769a7c</a><br>
<br>
Look at the function: <span>retile_with_mask() in the
script. The script is doing other things as well like
creating a tile index for Mapserver usage and trimming
the tiles from nodata parts.<br>
<br>
Have fun / Lars S.</span><br>
<br>
<br>
11 november 2021 kl. 15:46, "Lorenzo Di Giacomo" <<a
href="mailto:loridigia@gmail.com?to=%22Lorenzo%20Di%20Giacomo%22%20%3Cloridigia@gmail.com%3E"
target="_blank" moz-do-not-send="true">loridigia@gmail.com</a>>
skrev:<br>
<blockquote>
<div>
<div>
<div dir="ltr">Hi, i can't find a simple way (not
to choose the cut coordinates manually) in order
to crop an entire raster image into N images
given a fixed size of pixel, how can this be
achieved? Thanks</div>
</div>
</div>
</blockquote>
<br>
<br>
</div>
</div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>