Re: [GRASS-user] 7.5svn: issue with finding EPSG codes for new locations

2018-07-02 Thread Markus Neteler
On Thu, Jun 28, 2018 at 9:24 PM, Solano Barajas Ramon wrote: > I was struggling with the same problem since some time ago. I’m using a Mac > with MacPorts so currently I have GRASS 7.4.0 installed, but the problem > dates from before. > > I just solved this problem: it look like the GRASS

Re: [GRASS-user] how to use r.mapcalc in GRASS

2018-07-02 Thread Markus Neteler
Hello Marion, On Mon, Jul 2, 2018 at 12:18 PM, marion-brunet wrote: > Hello, > > I am trying to calculate the difference between two raster layers. For that, > I am using GRASS in QGIS. I use the command r.mapcalc. In the field > "expression to evaluate" I wrote > r.mapcalc expression=diff

Re: [GRASS-user] Importing lat-lon points into projected location

2018-07-02 Thread Rich Shepard
On Mon, 2 Jul 2018, Rich Shepard wrote: The project's location uses ESPG code 3828. I have a small point file of s/EPSG/ESPG/ Rich ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Importing lat-lon points into projected location

2018-07-02 Thread Rich Shepard
The project's location uses ESPG code 3828. I have a small point file of three features very close to each other with unprojected geographic coordinates in latitude-longitude: 45.299844|-122.353975|USGS gauge 45.288936|-122.350918|dam 45.302761|-122.358851|Building 1 When imported with:

Re: [GRASS-user] Switching databases for holding attributes in Grass 7.4.1

2018-07-02 Thread Markus Metz
On Mon, Jul 2, 2018 at 4:54 PM, Moritz Lennert wrote: > > Le Mon, 2 Jul 2018 16:36:30 +0200, > Markus Metz a écrit : > > > On Mon, Jul 2, 2018 at 4:04 PM, Paul Shapley > > wrote: > > > > > > Hi Markus, > > > > > > Used 'db.connect' driver=sqlite > >

Re: [GRASS-user] Switching databases for holding attributes in Grass 7.4.1

2018-07-02 Thread Markus Metz
On Mon, Jul 2, 2018 at 4:36 PM, Markus Metz wrote: > > > > On Mon, Jul 2, 2018 at 4:04 PM, Paul Shapley wrote: > > > > Hi Markus, > > > > Used 'db.connect' driver=sqlite database=$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db > > > > I had to delete 'database schema=grass_gis' > > > > I had

Re: [GRASS-user] Switching databases for holding attributes in Grass 7.4.1

2018-07-02 Thread Moritz Lennert
Le Mon, 2 Jul 2018 16:36:30 +0200, Markus Metz a écrit : > On Mon, Jul 2, 2018 at 4:04 PM, Paul Shapley > wrote: > > > > Hi Markus, > > > > Used 'db.connect' driver=sqlite > database=$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db > > > > I had to delete 'database schema=grass_gis' > > > >

Re: [GRASS-user] Switching databases for holding attributes in Grass 7.4.1

2018-07-02 Thread Markus Metz
On Mon, Jul 2, 2018 at 4:04 PM, Paul Shapley wrote: > > Hi Markus, > > Used 'db.connect' driver=sqlite database=$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db > > I had to delete 'database schema=grass_gis' > > I had to delete 'default group=postgis_reader' That seems to be a bug in

Re: [GRASS-user] Switching databases for holding attributes in Grass 7.4.1

2018-07-02 Thread Paul Shapley
Hi Markus, Used 'db.connect' driver=sqlite database=$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db *I had to delete* 'database schema=grass_gis' *I had to delete* 'default group=postgis_reader' Then 'RUN' output:- (Mon Jul 02 14:59:21 2018) db.connect (Mon Jul 02 14:59:22 2018) Command

Re: [GRASS-user] Switching databases for holding attributes in Grass 7.4.1

2018-07-02 Thread Markus Metz
On Mon, Jul 2, 2018 at 3:25 PM, Paul Shapley wrote: > > Hi Markus, > > I used 'db.connect' which flags/options did you use? > followed by 'db.login' you don't need db.login for sqlite > > Please see below:- > > db.connect -p > driver: sqlite > database:

Re: [GRASS-user] Switching databases for holding attributes in Grass 7.4.1

2018-07-02 Thread Paul Shapley
Hi Markus, I used 'db.connect' followed by 'db.login' Please see below:- db.connect -p driver: sqlite database: C:\\TempLocation\PERMANENT\sqlite\sqlite.db schema: grass_gis group: postgis_reader (Mon Jul 02 14:17:04 2018) Command finished (0 sec) db.connect -d Default driver / database set

Re: [GRASS-user] Switching databases for holding attributes in Grass 7.4.1

2018-07-02 Thread Markus Metz
On Mon, Jul 2, 2018 at 2:00 PM, Paul Shapley wrote: > > Hi Users, > > I want to use 'r.to.vect' but it seems to default to a 'Postgis' table that has no geometry column just a table with a 'cat' id. I would like to export to 'sqlite'. I have both postgres an sqlite login details stored in

[GRASS-user] Switching databases for holding attributes in Grass 7.4.1

2018-07-02 Thread Paul Shapley
Hi Users, I want to use 'r.to.vect' but it seems to default to a 'Postgis' table that has no geometry column just a table with a 'cat' id. I would like to export to 'sqlite'. I have both postgres an sqlite login details stored in 'db.login'. How do i switch between the two or at least make sqlite

[GRASS-user] how to use r.mapcalc in GRASS

2018-07-02 Thread marion-brunet
Hello, I am trying to calculate the difference between two raster layers. For that, I am using GRASS in QGIS. I use the command r.mapcalc. In the field "expression to evaluate" I wrote r.mapcalc expression=diff =TIN_12_17-TIN_06_18 TIN_12_17 and TIN_06_18 are the names of my two rasters. I