[GRASS-user] location/mapset naming restrictions

Nikos Alexandris nik at nikosalexandris.net
Thu Nov 26 01:13:10 PST 2015


Panagiotis Mavrogiorgos:

> Are there any restrictions to the location/mapset names?

If I read this (following) correctly, the definition is in

"grass70/dist.x86_64-unknown-linux-gnu/include/grass/defs/gis.h", line
427 and after:

--%<---
/* make_mapset.c */
int G_make_mapset(const char *, const char *, const char *);

/* mapcase.c */
char *G_tolcase(char *);
char *G_toucase(char *);

/* mapset.c */
const char *G_mapset(void);
char *G_mapset_path(void);

/* mapset_msc.c */
int G_make_mapset_element(const char *);
int G__make_mapset_element_misc(const char *, const char *);
int G_mapset_permissions(const char *);
int G_mapset_permissions2(const char *, const char *, const char *);
--->%--

Isn't this answering the question, ie restricting the option to
have a number as the first character in a Mapset's name?

Nikos


More information about the grass-user mailing list