[GRASS5] sites: bug in G_sites routines?

Markus Neteler neteler at geog.uni-hannover.de
Mon Jan 22 04:15:06 EST 2001


On Sun, Jan 21, 2001 at 02:49:30PM -0800, Eric G . Miller wrote:
> On Sun, Jan 21, 2001 at 04:35:25PM +0000, Markus Neteler wrote:
> > Hi all,
> > 
> > finally I found the problem with site lists! :-)
> > 
> > In my table such a string occured:
> > @"BB\CF"
> > 
> > The character "\" drives the sites lib crazy. After
> > changing it to @"BB/CF" my large table is accepted.
> > 
> > Unfortunately "BB\CF" is German soils terminology (soil types).
> > BB/CF is *not* the same as BB\CF, therefore I have to keep
> > it. How to convince the sites library to allow "\" character?
> > 
> > So far I am glad that the sites library manages large tables
> > and the new s.in.dbf seem to work.
> > 
> > It would be very helpful to allow "\" character in a string field.
> 
> The '\' is used as an escape, maybe "\\" ??

Hi Eric,
even \\ is not accepted.

If you look into
 libes/gis/sites.c
around line 880 for BSLASH and line 895 you will
find some BSLASH removal. It seems to be even removed, if
the BSLASH doesn't quote " character. I guess that's not
intended.

Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list