Re: [GRASS-dev] what use are the mysites and point maps in the demolocation ?
On 4/08/20 23:16, Markus Neteler wrote: On Tue, Aug 4, 2020 at 3:24 PM Moritz Lennert 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%'" Just a simple grep found those ;-), but comparing those to the mysites file in the demolocation indicatates that these examples have no relation with the mysites map in the demolocation. There is no id field in the mysites maps, and certainly no name, east nor north... Moritz ___ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] what use are the mysites and point maps in the demolocation ?
On Tue, Aug 4, 2020 at 3:24 PM Moritz Lennert 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 ___ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] what use are the mysites and point maps in the demolocation ?
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. Would there be any opposition to removing them and only leaving the country borders ? Moritz ___ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev