[Gvsig_english] absolute and relative paths - Ughh
Simon Cropper
scropper at botanicusaustralia.com.au
Thu Apr 7 03:46:16 CEST 2011
Hi,
I was checking what happened with the absolute and relative path option
in gvSIG 1.10 and I noted the above 'coding' error.
Assuming a project file in the MyData directory, an absolute file
reference like this...
/home/simon/MyData/contour.dbf
will become this...
./contour.dbf
if you change you relative paths back to absolute paths you end up with
this...
/home/simon/MyData/./contour.dbf
if you change back to relative you get this...
././contour.dbf
Seems to me that the parser that converts from relative to absolute
neglects to remove the './' before concatenating the base path to the
subdirectory path.
Although this seems not to worry Linux that much as all you are doing is
'moving' in and out of the directories, it is messy and you may wish to
fix the problem when you get a chance.
--
Cheers Simon
Simon Cropper
Principal Consultant
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, VIC
W: www.botanicusaustralia.com.au
More information about the Gvsig_internacional
mailing list