[GRASS-dev] what use are the mysites and point maps in the demolocation ?

Markus Neteler neteler at osgeo.org
Tue Aug 4 14:16:46 PDT 2020


On Tue, Aug 4, 2020 at 3:24 PM Moritz Lennert
<mlennert at club.worldonline.be> wrote:
>
> Hello,
>
> In the context of the complete revamping of the GRASS GIS GUI startup,
> the idea is to use the existing demolocation as a possible basis for a
> direct entry into GRASS GIS without going through complicated location
> setup (which will then be offered through the data catalog). In that
> context, I was wondering whether the mysites and point maps in that
> demolocation are used by anything. I cannot find any in the code.

Try the "silver searcher" (`ag`) :-) Fast and accurate:

ag --html mysites
db/db.execute/db.execute.html
38:db.execute sql="INSERT INTO mysites (id,name,east,north) values
(30,'Ala',1657340,5072301)"

lib/db/sqlp/sql.html
137:v.db.select mysites where="id LIKE 'P__'"
140:v.db.select mysites where="id LIKE 'P%'"

> Would
> there be any opposition to removing them and only leaving the country
> borders ?

Fine for me, esp. with the new purpose of making even better use of
"demolocation".
Just these few usages should be replaced.

Markus


More information about the grass-dev mailing list