[GRASS-user] Which colour palette is currently applied to a raster

2020-05-27 Thread Paul Shapley
Hi Users, How can I tell which colour palette set is currently applied to a raster in Grass 7.8.3? nothing is stated in metadata and checked in 'PERMANENT/colr' for colour palette 'name' but nothing. Many thanks, *Paul J. Shapley *MSc CGeog (GIS) FRGS

[GRASS-user] Lost attribute connection - grass 7.6.1

2019-08-06 Thread Paul Shapley
: ## schema: grass_gis group: postgis_reader (Tue Aug 06 15:56:34 db.connect -g This is probably something obvious i'm missing!! Thanks, Paul Shapley --- Traceback (most recent call last): File &q

[GRASS-user] v.external

2019-02-28 Thread Paul Shapley
Hi Users, I've upgraded to Grass 7.6.0 (r 73958) and i've tried using 'v.external' to link to our Postgresql/PostGIS tables in the usual way but when I try to link no tables appear in the list. I've selected 'Database' 'ODBC' then entered PG:dbname=MyDatabase then I get the error:- *No Layers

[GRASS-user] Image signature preview

2018-10-08 Thread Paul Shapley
Hi Users, I want to isolate a single signature created from an area polygon with i.class/g.gui.iclass. I can do this and preview the result i need but what I would like to do is create a full region map from the 'SIG' in order to display just the one category type of land (isolated in the

Re: [GRASS-user] r,in.gdal error when importing a jpeg2000 image

2018-07-18 Thread Paul Shapley
Hi Nikos, Would i be able to use the 'i.segment' module on subsets of the image if i use 'r.external' instead of importing? Can you point me to where the differences are between importing and linking? Thank You, Paul Shapley On 18 July 2018 at 13:48, Nikos Alexandris wrote: > * Paul Shap

[GRASS-user] r,in.gdal error when importing a jpeg2000 image

2018-07-18 Thread Paul Shapley
Hi Users, Trying to import an 8.7gb (jpeg2000) image into Grass 7.4.1 64 bit. I get the error below. Tested the image in another OS GIS package and it opens without issue. Not sure why Grass wont import it. Thanks everyone! Paul Shapley (Wed Jul 18 09:19:16 2018) r.in.gdal -o input=J

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

2018-07-03 Thread Paul Shapley
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, > > >> > > >

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

2018-07-02 Thread Paul Shapley
to delete* 'database schema=grass_gis' *I had to delete* 'default group=postgis_reader' Then 'RUN' On 2 July 2018 at 14:41, Markus Metz wrote: > > > On Mon, Jul 2, 2018 at 3:25 PM, Paul Shapley wrote: > > > > Hi Markus, > > > > I used 'db.connect' > > which fl

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

2018-07-02 Thread Paul Shapley
2018 at 14:10, Markus Metz wrote: > > > 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

[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

Re: [GRASS-user] v.out.postgis

2018-06-29 Thread Paul Shapley
Hi Moritz, My apologies... it appears that the result of 'r.to.vect was indeed sending the attributes to postgres but i was expecting them to appear in sqlite had i 'refreshed' the posgres schema i would have seen them. Best Wishes and thank you, Paul Shapley On 29 June 2018 at 14:50, Moritz

Re: [GRASS-user] v.out.postgis

2018-06-29 Thread Paul Shapley
connection details in 'pg.login' important? Paul Shapley On 29 June 2018 at 11:17, Moritz Lennert wrote: > On 29/06/18 10:39, Paul Shapley wrote: > >> Hi Markus, >> >> OK here is the result of v.db.connect -p >> >> v.db.connect -p APGB_aerial_2_i_segment_drain

Re: [GRASS-user] v.out.postgis

2018-06-29 Thread Paul Shapley
ey I recall some years ago you had to delete the 'db.login' file and recreate it but this would lose the connection to the vector layer attribute table (sqlite.db). Thanks, Paul Shapley On 28 June 2018 at 13:22, Markus Metz wrote: > > > On Thu, Jun 28, 2018 at 1:40 PM, Moritz Le

[GRASS-user] v.out.postgis

2018-06-28 Thread Paul Shapley
Hi, I am trying to export a vector map to PostGIS. Has anyone come across the 'Unable to describe table' error? I suspect my config could be wrong. v.out.postgis --overwrite input=APGB_aerial_2_i_segment_drained_peat_with_exposed_haggs_vct@PERMANENT output=PG:dbname=webgis

Re: [GRASS-user] G_malloc errors in i.segment

2018-06-21 Thread Paul Shapley
'i.segment' succeeds. Thanks, Paul Shapley On 21 June 2018 at 08:52, Markus Metz wrote: > [please keep it in the list] > > On Thu, Jun 21, 2018 at 9:12 AM, Paul Shapley wrote: > > > > Thank you Markus...here are the results of g.region -p and r.info > > > > g.reg

[GRASS-user] G_malloc errors in i.segment

2018-06-20 Thread Paul Shapley
Hi Users, Apologies if i'm posting this error again but i need to get pass the memory allocation issue of trying to allocate 3gb memory. The Grass version is (using file r.contour). Processor has 32 gb ram and i've allocated 3 mb under memory option of 'i.segment'. System Info GRASS

[GRASS-user] i.segment

2018-06-18 Thread Paul Shapley
Hi Users, I am getting an error when i run i.segment on a small subset of an image:- 'ERROR: Insufficient number of non-NULL cells in current region' Googled the error and found this (if it helps) https://gis.stackexchange.com/questions/256431/error-in-grass-using-i-segment-uspo-function

[GRASS-user] i.gensig - multiple signatures into a single file for i.maxlik

2018-06-07 Thread Paul Shapley
Hi Users, What is the correct format for placing multiple signatures into a single ascii file. Is a '#' required between each signature along with a blank line? or can i start the new signature with line 2 e.g. #grass and is there a '#' after the last line to end the file. 1 # 2 #water 3

[GRASS-user] i.maxlik yellow map

2018-06-07 Thread Paul Shapley
Hi Users, I am re-posting this to see if anyone else may have some suggestions. My thanks to Veronica who suggested checking 'g.region' but this appears to be fine. I've also tried the same on Grass 7.2.2/7.4 and nightly but all produce the same result. signature file content:- # #Bare_peat

[GRASS-user] Fwd: Supervised Classification Tool - g.gui.iclass

2018-06-03 Thread Paul Shapley
Hi Users, I want to know if there is any good sources of information on the above wxlClass. I want to know roughly how large the training areas should be to prevent the module from taking several hours to process a signature. Also in the Training Area Display must i use a composite RGB image to

[GRASS-user] i.maxlik yellow map

2018-06-01 Thread Paul Shapley
Hi Users, I have created a signature file in the g.gui.iclass (supervised classification module) and it looks correct in 'preview' and when i inspected the 'sig' file. When the signature is applied using 'i.maxlik' the result is a solid yellow colour as a layer. What could have gone wrong?

[GRASS-user] Supervised Classification Tool - g.gui.iclass

2018-06-01 Thread Paul Shapley
Hi Users, I want to know if there is any good sources of information on the above wxlClass. I want to know roughly how large the training areas should be to prevent the module from taking several hours to process a signature. Also in the Training Area Display must i use a composite RGB image to

[GRASS-user] r.import/r.in.gdal jpeg2000 image

2018-05-20 Thread Paul Shapley
Hi Users, Trying to import a jpeg2000 image (size 8.78 gb) with both r.import and r.in.gdal but get the error below for each module. I am using the 64 bit version of Grass 7.4.0 on Windows Server 2008 Current region rows: 111307, cols: 111307 "ERROR: G_malloc: unable to allocate 1142385 bytes

[GRASS-user] 3D Grid

2016-11-16 Thread Paul Shapley
Hi, I want to permanently display the grey x/y/z (3D grid) in a 3D view (it actually appears briefly when you apply any movement tool) in the 3D view. I can use a constant surface and a transparency value but it's not as useful as a grid you can adjust the resolution of. Is there a way to do it

[GRASS-user] v.in.ogr - Grass 7.0.4RC1

2016-04-22 Thread Paul Shapley
Hi Users, Anyone else having issues getting 'v.in.ogr' to bring in Postgres/PostGIS layers. This happens when you select 'Database' then 'Format: PostgreSQL' then 'Name:your_database_name' *no* list of vector layers appear. Have used the new 'db.login' settings for 'Hostname' and 'Port' so at

Re: [GRASS-user] Grass7 GUI does not start

2016-03-26 Thread Paul Shapley
Hi Laurent, Have you tried: g.gui wxpython Paul Shapley Sent from my iPad > On 25 Mar 2016, at 22:28, Laurent C. <lrn...@gmail.com> wrote: > > Dimitris, > > How did you install GRASS ? From the Suse repositories? > What happen if you try to launch the GUI manua

[GRASS-user] GRASS Revision 64733

2016-03-14 Thread Paul Shapley
Hi users, I'm trying to get a working QGIS/GRASS plugin on Ubuntu 15.10 but with little luck. I seem to need the r64733 in order to be compatible with QGIS 2.14. My question is what is the easiest way of installing this revision of GRASS. Thanks, -- *Paul J. Shapley*

[GRASS-user] file formats from Ordnance Survey Survey Maps

2016-01-19 Thread Paul Shapley
I'm attempting to get some maps and use them in GRASS, which gives me a choice of formats to download from. Can anyone tell me if any one of these formats is better and will allow direct import into GRASS 7.0.2. without transformation. For one type of topography map I can get either GML2, DWG

Re: [GRASS-user] band combinations using GRASS

2015-12-10 Thread Paul Shapley
Hi Josep, The images probably need a 'Histogram Stretch' using 'r.colors' use the 'grey' (color) and tick Histogram Stretch' but make sure you set 'g.region' to the full image first otherwise it wont work. Paul Shapley On 10 December 2015 at 11:03, Josep Sitjar <jo...@sigte.udg.edu>

Re: [GRASS-user] band combinations using GRASS

2015-12-10 Thread Paul Shapley
Hi Josep, My apologies but i should have read your email thoroughly. Please check the link below hope this helps you. http://www.paulshapley.com/2014/04/processing-landsat-8-bands-in-grass-gis.html Regards, Paul Shapley On 10 December 2015 at 11:03, Josep Sitjar <jo...@sigte.udg.edu>

[GRASS-user] Link external vector data - grass 7.0.2RC2

2015-11-09 Thread Paul Shapley
Hi Users, Getting issues trying to connect to a postgres database on Win7. -- "Error in db.databases unable to list databases. Try to define correct connection settings by db.login"

[GRASS-user] db.test

2015-10-26 Thread Paul Shapley
Hi Grass Users, Trying to connect to an existing postgres/postgis database in 7.0.2RC1 but getting older connection details reported which may be preventing a newer connection. Here is the output from 'db.test' below. Note the 'VAR' file is showing the newest details (not revealed in full for the

[GRASS-user] r.colors

2015-10-22 Thread Paul Shapley
Hi All, Just testing 7.0.2RC1 with some landsat 8 images. I've imported and changed the DN values to TOAR values but when i try to use a 'Histogram Stretch' using the 'grey' table the maps display no color (white display) whereas in version 6 it worked. Also i need to increase the 'contrast' when

[GRASS-user] Migrating to a different database engines in Grass 7.0.1RC2

2015-09-27 Thread Paul Shapley
Hello Grass Users, I would like to know why and where grass stores old database connection parameters set with 'db.connect' and 'db.login'. this is not in the 'VAR' file in the PERMANENT directory, I often switch between PostGIS and SQLite data but even if i add a new connection it seems to

[GRASS-user] Projection errors

2015-03-26 Thread Paul Shapley
Hi Users, I'm having the problem of projecting a source map (landsat 8 image) into a target location (Ordnance Survey UK) in Grass 7. I have tried the r.pack/unpack method but i get the following error:- 'WARNING: Projection information does not match. Proceeding...' The resulting view shows

[GRASS-user] r.proj (grass 7)

2015-03-24 Thread Paul Shapley
Hi Users, Having some problems moving some landsat 8 composite images into a different location/mapset with the same projection. Have tried r.proj (this produces the 'ERROR: Input raster map is outside current region') and v.in.region method (this produces a 'blank' map). Not sure if the

[GRASS-user] Landsat 8 Workflow for Grass 7.0.0RC2

2015-02-18 Thread Paul Shapley
Hi Grass Users, I want to use the following Landsat 8 workflow to obtain some pansharpened images but have a problem when i convert the DN values to 8bit for pansharpening. Here is my preferred workflow in Grass 7.0.0RC2. · r.in.gdal (success) ·

[GRASS-user] Reconnecting vector attribution with Postgres/PostGIS

2015-02-02 Thread Paul Shapley
Hi Grass 7 users. I am trying to connect some vector layers with thier respective attribute tables in postgres/postgis. The tables all connected under version 6.4.4 but not since upgrading to version 7RC1 (on winxp in this instance) they do not. It looks like Grass cannot find the database

[GRASS-user] r.proj

2014-04-29 Thread Paul Shapley
I am trying to re-project some landsat 8 bands in from one location into another location with the same Ordnance Survey Projection (epsg:27700) using r.proj. They should overlap but currently do not. Am i using the correct module? The error message is:

[GRASS-user] Grass 7 ubuntu 13.10

2014-04-19 Thread Paul Shapley
/ElementTree.py, line 1506, in _raiseerror raise err xml.etree.ElementTree.ParseError: no element found: line 1, column 0 -- *Paul Shapley* ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Fwd: FW: connecting to postgresql and postgis backend database - Grass 6.4.4svn

2014-03-21 Thread Paul Shapley
with v.build' but this does not work. Any ideas would be great. Thanks, *Paul Shapley* ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] grass 6.4.3 and db.connect

2014-01-31 Thread Paul Shapley
Hi, I am using 'db.connect' to get access to a sqlite database. I have renamed the database extension from '.sqlite' to '.db' and placed it in the 'PERMANENT' directory but not entirely sure if i've correctly set this sqlite access up correctly. When i use 'db.test' i get the following error.

[GRASS-user] r.hazard.flood.py - GRASS 6.4.3RC2 WinXP

2013-01-17 Thread Paul Shapley
Hi, This flood module is working in the latest stable release, however there is an issue in that it does not produce the flood 'test1' map only 'test2' (the MTI map). Running the module seems to generate three maps 'r.clump', 'r.flood' and 'test2'. Just need confirmation that this is how it is

[GRASS-user] r.hazard.flood.py Grass 6.4.3RC1

2013-01-16 Thread Paul Shapley
Hi All, I'm getting the following error trying to execute the r.hazard.flood python script. The module will load and accept the parameters but does not seem to execute. Any advice appreciated. Thanks, Paul Shapley

[GRASS-user] Python Scripts

2012-11-19 Thread Paul Shapley
Hi All, I'm trying to run a python script 'r.hazard.flood.py' in Grass 6.4.3RC1 (WinXP). I'm not sure where the script should be placed within the grass installation so i can use the GUI 'File Launch Script'. Should it be placed here: C:\Program Files\GRASS GIS 6.4.3RC1\Python27\Scripts or

[GRASS-user] Graphical Modeler Output

2012-11-06 Thread Paul Shapley
: No such monitor as x2 Problem selecting x2. Will try once more Many thanks, Paul Shapley -- Paul J. Shapley ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] G_malloc error

2012-10-29 Thread Paul Shapley
Hi Users, I'm getting 'G_malloc' errors when using large images in Grass 6.4.3rc1. I need to use much larger images than the one causing the error. Is there a way around this problem? i have 3gb of RAM on this PC (standard MS Windows installer not osgeo). Is this enough RAM or should i invest in

[GRASS-user] Memory allocation in Grass 6.4.2 Windows

2012-09-28 Thread Paul Shapley
HI I'm getting the following error when using the r.to.vect module: ERROR: G_realloc: unable to allocate 2544 bytes at areas.c:678 I understand that this is due to the standard memory installation of 64mb of RAM allocation. How can i overcome this limitation.I also need to solve this on my

[GRASS-user] Grass 6.4.2 on Ubuntu 11.10

2012-02-27 Thread Paul Shapley
Hi, I'm having some trouble installing the latest stable Grass 6.4.2 on Ubuntu. I've un-installed 6.4.1 but if i use the 'apt-get install Grass' command it re-installs 6.4.1. I think i may be missing something. -- Paul J. Shapley ___ grass-user

[GRASS-user] Handling 700 Dtm files in Grass

2012-02-13 Thread Paul Shapley
Hi, I need to merge 700 arcinfo ascii files so they can be imported into Grass then saved as a single geotif, How can this best be done?. It is possible to import them one at a time but this is not practical. -- Paul J. Shapley ___ grass-user mailing

[GRASS-user] NVIZ Wire Mesh

2012-01-26 Thread Paul Shapley
Hello, I want to have the NVIZ wire mesh opaque but don't know how best to do this. I don't want to be transparent. Does anyone know how this can be done? Thanks, -- Paul J. Shapley ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] r.in.wms failure

2011-11-10 Thread Paul Shapley
Hi, I'm getting the following error telling me gdalwarp has failed. I'm using the windows version of Grass 6.4.2RC1. Any help appreciated as usual. Paul Shapley (Thu Nov 10 11:49:41 2011) r.in.wms output=grass_wms_request mapserver=mapserver= http://120.100.200.96:8080/geowebcache/service/wms

[GRASS-user] NVIZ Raster resolution

2011-11-04 Thread Paul Shapley
I'm using GRASS 6.4.2RC1-1 but cannot get a high resolution from an input dem/raster surface that i've been using with previous versions of Grass. NVIZ will display the raster okay but will not allow a high res render. I understand NVIZ is in transition to python but which Grass version (windows

[GRASS-user] Grass 6.4.2 RC1-1 Startup error on Windows XP

2011-11-03 Thread Paul Shapley
I keep getting the following error when attempting to start grass on Windows XP:- GRASS 6.4 Traceback (most recent call last): File c:/Program Files/GRASS 6.4RC1/etc/wxpython/wxgui.py, line 65, in module from gui_modules import layertree File C:\Program Files\GRASS

[GRASS-user] Using vector data in Grass 6.4.0 on WinXP Pro

2011-02-11 Thread Paul Shapley
Hi, I have a vector layer of 10 polys and have noticed some odd behaviour. There is a long delay of a couple of minutes on opening the attribute table (i'm accessing (Postgresql/postgis locally at present). Also when the layer is open applying a simple query in the attribute table manager