OK, I checked. QGIS QTiles is the same for QGIS 2 and 3, and hasn't changed
since 2017. It doesn't let you specify the filename extension, so we have
to recurse through the directory hierarchy afterwards and change *.png to
*.png.tile
In windows, an easy way is to make a file addtile.bat to the top level of
the hierachy, containing the single line:
for /r %%x in (*.png) do ren "%%x" *.png.tile
and double-click to run it I attach this as a .txt that can be renamed to
.bat
The forum won't let me post a .bat. You should check that you're happy with
what it does before running it!
If you use Windows Powershell, then this also works (after navigating to
the top level of the hierarchy):
Get-ChildItem -Recurse -Include *.png | Rename-Item -NewName {
$_.Name.replace(".png",".png.tile") }
On linux it looks like you can do it with a combination of find and rename
as discussed here
<https://superuser.com/questions/213134/recursively-rename-files-change-extension-in-linux>
but
I haven't tested it.
>
>
--
You received this message because you are subscribed to the Google Groups
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
for /r %%x in (*.png) do ren "%%x" *.png.tile