[leveller] filesys error when outputting gtiff

  • From: Ray Gardener <rayg@xxxxxxxxxxxxxxxxxx>
  • To: leveller@xxxxxxxxxxxxx
  • Date: Wed, 13 Feb 2008 03:01:42 -0800

Cees wrote:
... file....output....Georeferenced texture...save the texture there as a
geotiff...this gives an error (filesystem problem)
view--map pane--export to bitmap---select Tiff/GEOtiff...this gives also the
same error (filesystem problem)


Apparently one must be careful entering filenames manually into the filename field (as opposed to using the Browse button).

The current policy for manually specified filenames is not ideal;
an "unpathed" filename (e.g., "myfile.tif") would get written (or read from) the current directory. This is not too great because Leveller doesn't actually ever say what the current directory is; it just goes with whatever the operating system is maintaining (which is probably the directory Leveller is running from or the last folder accessed by a file dialog).

I have one idea for a better policy, e.g., always use the same directory that the Leveller document resides in. We'd probably also want to enforce a "no other relative directories" rule; e.g.:

  myfile.tif     --> uses same folder as Leveller document
  c:\myfile.tif  --> explictly uses root folder of drive C
  .\myfile.tif   --> error
  ..\myfile.tif  --> error, can't assume any parent of Lev document

The Browse button could also be made explicit, but this would be annoying for those who want to specify a filename that differs by only a few characters from the previously specified filename.

Ray

Other related posts:

  • » [leveller] filesys error when outputting gtiff