The new Qt version of tileedit now has approximately the same functionality as the previous Matlab version, so I'll include it from the next Orbiter beta.
I have a question though: By default, Qt only supports dynamically linked applications. This requires them to ship with a fairly extensive set of runtime libraries, which seems a bit cumbersome. I'd rather have a statically linked tileedit, but static linking with the Qt runtimes doesn't seem to be trivial. I haven't found any static Qt installations, and the only way to do it appears to be to compile Qt yourself from the sources with static linking.
Before getting into that, does anybody know of a precompiled static Qt version?
Is this it? https://www.npcglib.org/~stathis/blog/precompiled-qt4-qt5/
Seems huge... :uhh:


I tried elevation on the left window: no ctd for me....The center window should default to elevation. Otherwise, it CTDs on tile edit (if you put elevation on the left window).
I agree with you :How about an option to save / load a tile to PNG?
That seems like the most obvious feature to have![]()
it should be an excellent idea .... but is it possible ?
I'll look into that.The center window should default to elevation. Otherwise, it CTDs on tile edit (if you put elevation on the left window).
How about an option to save / load a tile to PNG?
That seems like the most obvious feature to have![]()
Good idea - at least for the elevation data. I don't want to allow editing the surface layer, since it uses a lossy (DXT1) format, which means that every edit cycle potentially degrades the data. The surface layer should always be edited directly in the source data.It is possible to convert tile data to PNG and back again, as demonstrate before with ele2png.
I think I remember that PNG supports 16-bit pixel values, correct? One potential problem I anticipate is the fact that the elevation tiles support a scale and offset parameter which I don't see how to preserve in PNG. What about TIFF instead? AFAIK that allows to store user-defined tags which I could use to encode those parameters. Also, we could then possibly store the tiles in GeoTIFF format, so they could be read directly into a GIS application.
I don't want to allow editing the surface layer, since it uses a lossy (DXT1) format, which means that every edit cycle potentially degrades the data.
I think for now I will implement the 2-file (PNG/meta) solution. It's a bit more cumbersome than embedding everything in a single file, but should make it easier to read the metadata, and hence interpret the info in the PNG, without the need of an additional tool to extract this info from the PNG. It might even make it possible to add metadata to an existing PNG file sourced elsewhere, to allow importing it into tileedit, thus replicating the functionality of plsplit64 for elevation data.
I'd like to suggest a format like so: https://www.orbiter-forum.com/showthread.php?p=567125&postcount=208 . If we keep it compatible, people could use ele2png and the tileedit-export/import together. That said, I don't know if there are even users for ele2png anymore :lol: .
The elevation edits are written as soon as you navigate away from the edited tile. If you switch to a different tile after your edit, then switch back to the edited tile and the edits are still visible, they will have been written. I'll add some visual cue to indicate if a tile contains unsaved edits.Sorry for the noob question... but I don't understand how to use this.
This is what I did so far:
Open tileedit. Select specific region on the map.
Click Action button. Dialog shows up. Click yes.
Draw something on the map... I'm not sure what I'm supposed to do from here.
It seems .elv files have been created. But I couldn't find any differences in game.