[GRASS5] imagery sample data has duplicate case-sensitive filenames

(Not sure if it's OK to use the bug report form for a sample data issue, so I'll just use the list)

In the IMAGERY GRASS 5 and 6 sample data, there are files named 'GROUP' and folders named 'group' at the same folder level, as well as 'SUBGROUP' and 'subgroup'. This does not work on a case-insensitive (tho case-aware) file system such as HFS+ as is used in Mac OS X.

I believe GROUP is the old method that is now CURGROUP (changed in GRASS 5). and similar for SUBGROUP.

Depending how the tarballs are expanded, a Mac user may be able to get something usable:

StuffIt Expander (v7): error, get nothing

Tiger BOMArchiveHelper (double-click): stops expanding at that error

TAR in Terminal: error but keeps going - you get the folders, but not the duplicate files (assuming the files sort after the folders in the tarball)

-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy

William Kyngesburye wrote:

(Not sure if it's OK to use the bug report form for a sample data
issue, so I'll just use the list)

In the IMAGERY GRASS 5 and 6 sample data, there are files named
'GROUP' and folders named 'group' at the same folder level, as well
as 'SUBGROUP' and 'subgroup'. This does not work on a case-
insensitive (tho case-aware) file system such as HFS+ as is used in
Mac OS X.

I believe GROUP is the old method that is now CURGROUP (changed in
GRASS 5). and similar for SUBGROUP.

Correct. It used to be the case that the files were called CURGROUP
and CURSUBGROUP on Cygwin (to prevent clashes with the "group"
folder), and GROUP and SUBGROUP on other systems (which would
presumably have a case-sensitive filesystem).

This was changed back in the 5.3 branch to always use CURGROUP and
CURSUBGROUP. Sample data for 5.3/5.7/6.x should be using the new
names. Sample data for 5.0.x will have to use the old names (because
those are the names which the imagery library uses), and won't work on
systems with case-folding filesystems.

--
Glynn Clements <glynn@gclements.plus.com>

huh? I saw those changes listed for the 5.0.0 prereleases. 5.0.0pre3 to 5.0.0pre4:

<http://grass.itc.it/grass5/source/NEWS.html&gt;

On Nov 24, 2005, at 10:19 AM, Glynn Clements wrote:

William Kyngesburye wrote:

(Not sure if it's OK to use the bug report form for a sample data
issue, so I'll just use the list)

In the IMAGERY GRASS 5 and 6 sample data, there are files named
'GROUP' and folders named 'group' at the same folder level, as well
as 'SUBGROUP' and 'subgroup'. This does not work on a case-
insensitive (tho case-aware) file system such as HFS+ as is used in
Mac OS X.

I believe GROUP is the old method that is now CURGROUP (changed in
GRASS 5). and similar for SUBGROUP.

Correct. It used to be the case that the files were called CURGROUP
and CURSUBGROUP on Cygwin (to prevent clashes with the "group"
folder), and GROUP and SUBGROUP on other systems (which would
presumably have a case-sensitive filesystem).

This was changed back in the 5.3 branch to always use CURGROUP and
CURSUBGROUP. Sample data for 5.3/5.7/6.x should be using the new
names. Sample data for 5.0.x will have to use the old names (because
those are the names which the imagery library uses), and won't work on
systems with case-folding filesystems.

--
Glynn Clements <glynn@gclements.plus.com>

-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/

All generalizations are dangerous, even this one.

William Kyngesburye wrote:

huh? I saw those changes listed for the 5.0.0 prereleases.
5.0.0pre3 to 5.0.0pre4:

I didn't realise it was quite that old. In that case, we probably
shouldn't be distributing any sample data using the old names.

--
Glynn Clements <glynn@gclements.plus.com>

On Thu, Dec 01, 2005 at 07:51:05PM +0000, Glynn Clements wrote:

Markus Neteler wrote:

> > > huh? I saw those changes listed for the 5.0.0 prereleases.
> > > 5.0.0pre3 to 5.0.0pre4:
> >
> > I didn't realise it was quite that old. In that case, we probably
> > shouldn't be distributing any sample data using the old names.
>
> Glynn,
>
> I am willing to update the imagery dataset but I didn't really
> understand what should be done. Can you enlighten me?

Any files named GROUP and SUBGROUP should be renamed to CURGROUP and
CURSUBGROUP respectively.

Done. The updated package is available here
http://grass.itc.it/download/data6.php
-> IMAGERY 6.0 data set

and from the mirrors by tommorrow.

Markus