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
connecetd to 'pg')
db.connect -p or -g
driver: pg
database: ##
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
-
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 Sel
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 training
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 wrot
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
t;> 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,
> > >> >
$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'
On 2 July 2018 at 14:41, Markus Metz wrote:
>
>
> On Mon, Jul 2, 2018 at 3:25 PM, Paul Shapley wrote:
aps why the
connection is failing?
On 2 July 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
> t
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
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 a
der of the 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_
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,
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
output_layer=APGB_aeria
would
not yield the differences in the landscape i'm looking for which
'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
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 version:
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
Than
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 418
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
2667
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 di
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?
Thanks
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 di
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 o
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 i
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 leas
Hi Laurent,
Have you tried:
g.gui wxpython
Paul Shapley
Sent from my iPad
> On 25 Mar 2016, at 22:28, Laurent C. wrote:
>
> Dimitris,
>
> How did you install GRASS ? From the Suse repositories?
> What happen if you try to launch the GUI manually with g.gui (possib
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*
_
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 or
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 wrote:
> Dear all,
&g
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 1
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"
---
Hi Grass Users
I'm getting a 'db.login' password issue with 7.0.2RC1. I am trying to
created a new connection to postgreSQL with v.external but as soon as i
click on database>PostgreSQL i get the following error:
'Unable to list databases. Try to define correct connection settings by
db.login'.
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
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
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 retrie
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 bo
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
resolutio
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)
· i.land
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 passwo
Hi
I have imported a single wind turbine (dxf) into grass with v.in.dxf
successfully. I need to position it on a map but do not know where to
start.
>From the grasswiki pages it says it is best to use XY location but how do
you assign known location co-ordinates to the base of a wind turbine
(wit
Hi,
I have imported a single wind turbine (dxf) into grass with v.in.dxf
successfully. I need to position it on a map but do not know where to
start.
>From the grasswiki pages it says it is best to use XY location but how do
you assign known location co-ordinates to the base of a wind turbine
(wi
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:
-
parse
self._root = parser.close()
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in
_raiseerror
raise err
xml.etree.ElementTree.ParseError: no element f
.
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
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.
Una
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 mea
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 Sh
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
C:\P
re
Many thanks,
Paul Shapley
--
Paul J. Shapley
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
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 m
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 U
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 mailing
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 l
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
http://lists.o
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/s
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
in
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
from gui_modules import layertree
File "C:\Program Files\GRASS
6.4RC1\etc
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 fails
58 matches
Mail list logo