Re: [GRASS-user] Export data from scatter plot ROI

2021-01-05 Thread mega saputra
I want to mask cloud and land from band1 and band3, so that I wil get the
ocean with clear cloud. To do that, I can create ROI from scatter plot. I
want to know DN from ROI selection. So, I can create formula from DN range.

Regards,
mega

On Tue, Jan 5, 2021 at 5:46 AM Micha Silver  wrote:

> Hi:
>
> The interactive supervised classification allows you to draw, by hand,
> polygons covering pixels of classes that you want to use in your
> classification. The scatterplot preview, like the histogram, is just for
> understanding how correlated two specific bands are, for use in preparing
> those polygon training areas. Once you have prepared the polygon classes,
> you can save that vector to GRASS (the "Export training areas to map"
> button), then you run the (first step) in the classification process:
> creating the signature file. After the process finishes You must save the
> signature file (the next button on the toolbar) for use as input to the
> i.maxlik module (second step) to actually do the classification.
>
>
> So it's not clear what you "want to export from ROI"?
>
>
> Perhaps if you explain what is your final goal, it might be easier for
> someone to help.  There's plenty of documentation on image classification
> that explains the procedure, for example, did you find this wiki page:
>
> https://grasswiki.osgeo.org/wiki/Image_classification
>
>
>
> On 1/4/21 7:00 AM, mega saputra wrote:
>
> Hello guys,
>
> I create ROI from scatter plot using Interactive input for supervised
> classification. I want to export data from ROI. But, I don't find the menu
> or tool in Grass.
> Could someone tell me the tool or menu in Grass?
>
> Regards,
> mega
>
> ___
> grass-user mailing 
> listgrass-user@lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/grass-user
>
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918
>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Can GRASS create color table in16 bit?

2021-01-03 Thread mega saputra
Ok, thanks.

On Sun, Jan 3, 2021 at 12:18 AM Moritz Lennert 
wrote:

> AFAIK, GRASS only supports 8 bit color definitions, i.e. 0-255 for each of
> R, G, and B. This allows for 16 million different color tones which is
> generally enough.
>
> Moritz
>
> Am 2. Januar 2021 08:13:07 MEZ schrieb mega saputra <
> megasaput...@gmail.com>:
>>
>> Dear all,
>>
>> I try to create color table in 16 bit. That is in attachment. But, when I
>> set color table interactively, then I input that file (in attachment), then
>> I click Load. There is a message : "Invalid color table format". Do I
>> missing something?
>>
>> Thank you.
>>
>> Regards,
>> mega
>>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Can GRASS create color table in16 bit?

2021-01-01 Thread mega saputra
Dear all,

I try to create color table in 16 bit. That is in attachment. But, when I
set color table interactively, then I input that file (in attachment), then
I click Load. There is a message : "Invalid color table format". Do I
missing something?

Thank you.

Regards,
mega


spl1.file
Description: Binary data
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] else if in GRASS GIS

2021-01-01 Thread mega saputra
It succeed with no error. I add a little syntax :

r.mapcalc --overwrite expression=awan = if( "rgb.1@PERMANENT" > 1810.88
 &&  "rgb.1@PERMANENT" < 23442.12  &&  "rgb.3@PERMANENT" > 673.148594
 &&  "rgb.3@PERMANENT" < 22729.389558 , 0, if("rgb.1@PERMANENT" == 0, 255,
100))

Thank you

On Fri, Jan 1, 2021 at 9:32 PM Micha Silver  wrote:

>
> On 1/1/21 3:25 PM, mega saputra wrote:
>
> Hello guys,
>
> I try to create conditional statement. When I running the formula in
> GRASS, there is error. Can someone help me to convert in GRASS formula
> format. The formula is something like :
>
> if ( rgb.1 > 1810.88) and ( rgb.1 < 23442.12 ) and (rgb.2 >
> 673.148594) and (rgb.2 < 22729.389558) then 0 else if rgb.1 = 0 then 255
> else 100
>
> I have try, but with error. My false formula :
> r.mapcalc --overwrite expression=awan = if ( rgb.1 > 1810.88  &  rgb.1
> < 23442.12  &  rgb.2 > 673.148594  &  rgb.2 < 22729.389558 , 0) else if
> ( rgb.1 = 0, 255, 100)
>
>
> There is no "else" in mapcalc. You put the else expression after the
> second comma.
>
> Should be:
>
> r.mapcalc --o "awan = if(rgb.1 > 1810.88  &&  rgb.1 < 23442.12
> &&  rgb.2 > 673.148594  &  rgb.2 < 22729.389558 , 0, if(rgb.1 = 0, 255,
> 100))
>
>
> syntax error, unexpected NAME, expecting $end
> Parse error
> ERROR: parse error
>
> Any suggestion?
>
> Regards,
> mega
>
> ___
> grass-user mailing 
> listgrass-user@lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/grass-user
>
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918
>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] else if in GRASS GIS

2021-01-01 Thread mega saputra
Hello guys,

I try to create conditional statement. When I running the formula in GRASS,
there is error. Can someone help me to convert in GRASS formula format. The
formula is something like :

if ( rgb.1 > 1810.88) and ( rgb.1 < 23442.12 ) and (rgb.2 >
673.148594) and (rgb.2 < 22729.389558) then 0 else if rgb.1 = 0 then 255
else 100

I have try, but with error. My false formula :
r.mapcalc --overwrite expression=awan = if ( rgb.1 > 1810.88  &  rgb.1
< 23442.12  &  rgb.2 > 673.148594  &  rgb.2 < 22729.389558 , 0) else if
( rgb.1 = 0, 255, 100)
syntax error, unexpected NAME, expecting $end
Parse error
ERROR: parse error

Any suggestion?

Regards,
mega
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Scatter plot cannot be added in interactive scatter plot

2020-12-28 Thread mega saputra
Hello guys,

I have tried to add (passive) scatter plot with my data, and it is succeed.
But, I want to add in interactive scatter plot, and not succeed. The
message :
"Scatter plot cannot be added. Multiple of bands ranges  is higher than maximum limit
<1681> "

So, how to add in interactive scatter plot?

My data in : https://1drv.ms/u/s!AjXAWS5maHffhyH0q9oTos1umy3D?e=bKa7mX

regards,
mega
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Scatter plot cannot be added in interactive scatter plot

2020-12-28 Thread mega saputra
Hello guys,

I have tried to add (passive) scatter plot with my data, and it is succeed.
But, I want to add in interactive scatter plot, and not succeed. The
message :
"Scatter plot cannot be added. Multiple of bands ranges  is higher than maximum limit
<1681> "

So, how to add in interactive scatter plot?

My data in : https://1drv.ms/u/s!AjXAWS5maHffhyH0q9oTos1umy3D?e=bKa7mX

regards,
mega
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Scatter plot cannot be added

2020-12-28 Thread mega saputra
I guess Grass GIS can create interactive scatter plot from my data.
Because, in other menu on Grass GIS (not in interactive scatter plot), it
can create a scatter plot.

I will post new email in new title as your suggestion about interactive
scatter plot.

Thank you for your response.

Regards,
mega

On Mon, Dec 28, 2020 at 3:28 PM Micha Silver  wrote:

>
> On 12/28/2020 1:38 AM, mega saputra wrote:
>
> Here is the output :
> g.proj -p
>
>
>
> .
>
> 
>
> But, there is no scatter plot in Map Display. Then I click twice in vector
> > scatter_1_3 in Data tab. Then there is a message :
> "Unable to zoom to vector map 
> Details: Illegal latitude for North: 65528"
>
> Yes, that's correct. You need to understand how r.scatterplot works. The
> X-Y coordinates in the newly created point vector layer are the raster
> values at each pixel of the original rasters. In this case, since the
> original are color bands, the values represent reflectance for each band.
> These values can go as high as 65528, which is way beyond the range in a
> latitude/longitude coordinate system (maximum long/lat of 360 X 180).
>
>
> If you want to carry on with this (in your next mail you are beginning
> with the interactive scatter plot), it might be helpful to export the X-Y
> "coordinates" to a text file for plotting in some other software. Just keep
> in mind that you will get a list of 12,000,000 rows with two columns of
> numbers-the reflectances of both bands.
>
>
> How to solve the problem?
>
> Regards,
> mega
>
> On Sun, Dec 27, 2020 at 3:22 PM Micha Silver  wrote:
>
>> Here's my attempt:
>>
>> I downloaded the rgb.tif that you linked to, then used it to create a
>> new, fresh location
>>
>>
>> # Create a NEW location "mega" using the georeferenced rgb.tif file to
>> define location
>> # and import the file
>>
>> # Run at the command line, *before* starting grass:
>>
>> grass78 -c rgb.tif /home/micha/grass/mega
>>
>>
>> # Now at the grass prompt:
>>
>> # Check projection settings
>> g.proj -p
>> -PROJ_INFO-
>> name   : WGS 84
>> datum  : wgs84
>> ellps  : wgs84
>> proj   : ll
>> no_defs: defined
>> -PROJ_EPSG-
>> epsg   : 4326
>> -PROJ_UNITS
>> unit   : degree
>> units  : degrees
>> meters : 1.0
>>
>> # Install the scatterplot extension
>> g.extension r.scatterplot
>> Downloading precompiled GRASS Addons ...
>> Updating extensions metadata file...
>> Updating extension modules metadata file...
>> Installation of  successfully finished
>>
>> # Now run r.scatterplot on two bands
>> r.scatterplot input=rgb.3,rgb.2 output=scatter_3_2
>>  100%
>> Building topology for vector map ...
>> Registering primitives...
>>   1183
>> # Almost 12 million points (!)
>>
>>
>> The X-Y coordinates of the points are the scatterplot values.
>>
>> HTH,
>> Micha
>>
>> On 12/26/2020 11:40 PM, mega saputra wrote:
>>
>> The result is the same. It cannot add scatterplot.
>> Here is the output :
>>
>> (Sun Dec 27 05:20:25 2020)
>>
>> g.region -ap raster=rgb.1
>>
>> projection: 3 (Latitude-Longitude)
>> zone:   0
>> datum:  wgs84
>> ellipsoid:  wgs84
>> north:  13:07:42.9N
>> south:  27:38:15.5S
>> west:   100:55:15.7E
>> east:   131:15:38.1E
>> nsres:  0:00:36.8
>> ewres:  0:00:36.8
>> rows:   3988
>> cols:   2968
>> cells:  11836384
>> (Sun Dec 27 05:20:25 2020) Command finished (0 sec)
>>
>> G__open(read): Unable to open '/home/mega/newLocation/PERMAN
>> ENT/.tmp/mega/vector/trAreas54950/frmt': No such file or
>> directory
>>
>> If you want to try my data, my data is in :
>> https://1drv.ms/u/s!AjXAWS5maHffhyH0q9oTos1umy3D?e=bKa7mX
>>
>> Thank you.
>>
>> regards,
>> mega
>>
>>
>> On Sat, Dec 26, 2020 at 9:39 PM Micha Silver  wrote:
>>
>>>
>>> On 12/25/20 11:46 PM, mega saputra wrote:
>>> > Sorry, there is holiday.
>>> >
>>> > I import the raster. Then set the region. This is my syntax :
>>> >
>>> > g.region -up raster=rgb.1
>>>
>>>
>>> The "-u" flag does not set the current computational region to y

Re: [GRASS-user] Scatter plot cannot be added

2020-12-27 Thread mega saputra
Finally, I succeed to display scatter plot. I display scatter plot from Map
Display > Create bivariate scatterplot of raster maps. Then I choose two
band. You see in the attachment.
But, in this scatter plot, I can not create a polygon like in
https://grass.osgeo.org/grass78/manuals/wxGUI.iscatt.html.
I want to create region of interest in the scatter plot link with the
raster like in the website page.
Creating scatter plot from the website page will return error. It is about
maximum limit.
How to solve this?

Regards,
mega

On Mon, Dec 28, 2020 at 7:38 AM mega saputra  wrote:

> Here is the output :
> g.proj -p
>
> -PROJ_INFO-
> name   : WGS 84
> datum  : wgs84
> ellps  : wgs84
> proj   : ll
> no_defs: defined
> -PROJ_EPSG-
> epsg   : 4326
> -PROJ_UNITS
> unit   : degree
> units  : degrees
> meters : 1.0
> (Mon Dec 28 07:25:33 2020) Command finished (0 sec)
>
> (Mon Dec 28 07:25:42 2020)
>
> g.extension r.scatterplot
>
> Fetching  from GRASS GIS Addons repository (be patient)...
> Compiling...
> Installing...
> Updating addons metadata file...
> Installation of  successfully finished
> (Mon Dec 28 07:25:50 2020) Command finished (7 sec)
>
> (Mon Dec 28 07:26:18 2020)
>
> r.scatterplot input=rgb.1,rgb.3 output=scatter_1_3
>
> Building topology for vector map ...
> Registering primitives...
> (Mon Dec 28 07:28:40 2020) Command finished (2 min 21 sec)
>
> (Mon Dec 28 07:30:53 2020)
>
> v.info map=scatter_1_3@PERMANENT
>
>
>  
> ++
>  | Name:scatter_1_3
> |
>  | Mapset:  PERMANENT
> |
>  | Location:newLocation
> |
>  | Database:/home/mega
>|
>  | Title:
> |
>  | Map scale:   1:1
> |
>  | Name of creator: mega
>|
>  | Organization:
>|
>  | Source date: Mon Dec 28 07:26:19 2020
>|
>  | Timestamp (first layer): none
>|
>
>  
> ||
>  | Map format:  native
>|
>
>  
> ||
>  |   Type of map: vector (level: 2)
> |
>  |
>|
>  |   Number of points:   11836384Number of centroids:  0
>|
>  |   Number of lines:0   Number of boundaries: 0
>|
>  |   Number of areas:0   Number of islands:0
>|
>  |   Number of faces:0   Number of kernels:0
>|
>  |   Number of volumes:  0   Number of holes:  0
>|
>  |
>|
>  |   Map is 3D:  Yes
>|
>  |   Number of dblinks:  0
>|
>  |
>|
>  |   Projection: Latitude-Longitude
> |
>  |
>|
>  |   N:65528NS: 0
> |
>  |   E:65528EW: 0
> |
>  |   B: 0T: 0
> |
>  |
>|
>  |   Digitization threshold: 0
>|
>  |   Comment:
> |
>  |
>|
>
>  
> ++
> (Mon Dec 28 07:30:53 2020) Command finished (0 sec)
>
> But, there is no scatter plot in Map Display. Then I click twice in vector
> > scatter_1_3 in Data tab. Then there is a message :
> "Unable to zoom to vector map 
> Details: Illegal latitude for North: 65528"
>
> How to solve the problem?
>
> Regards,
> mega
>
> On Sun, Dec 27, 2020 at 3:22 PM Micha Silver  wrote:
>
>> Here's my attempt:
>>
>> I downloaded the rgb.tif that you linked to, then used it to create a
>> new, fresh location
>>
>>
>> # Create a NEW location "mega" using the georeferenced rgb.tif file to
>> define location
>> # and import the file
>>
>> # Run at the command line, *before* starting grass:
>>
>> grass78 -c rgb.tif /home/micha/grass/mega
>>
>>
>> # Now at the grass prompt:
>>
>> # Check projection settings
>> g.proj -p
>> -PROJ_INFO-
>> name   : WGS 84
>> datum  : wgs84
>> ellps  : wgs84
>> proj   : ll
>> no_defs: defined
>> -PROJ_EPSG-
>> epsg   : 4326
>> -PROJ_UNITS---

Re: [GRASS-user] Scatter plot cannot be added

2020-12-27 Thread mega saputra
Here is the output :
g.proj -p

-PROJ_INFO-
name   : WGS 84
datum  : wgs84
ellps  : wgs84
proj   : ll
no_defs: defined
-PROJ_EPSG-
epsg   : 4326
-PROJ_UNITS
unit   : degree
units  : degrees
meters : 1.0
(Mon Dec 28 07:25:33 2020) Command finished (0 sec)

(Mon Dec 28 07:25:42 2020)

g.extension r.scatterplot

Fetching  from GRASS GIS Addons repository (be patient)...
Compiling...
Installing...
Updating addons metadata file...
Installation of  successfully finished
(Mon Dec 28 07:25:50 2020) Command finished (7 sec)

(Mon Dec 28 07:26:18 2020)

r.scatterplot input=rgb.1,rgb.3 output=scatter_1_3

Building topology for vector map ...
Registering primitives...
(Mon Dec 28 07:28:40 2020) Command finished (2 min 21 sec)

(Mon Dec 28 07:30:53 2020)

v.info map=scatter_1_3@PERMANENT

 ++
 | Name:scatter_1_3
  |
 | Mapset:  PERMANENT
  |
 | Location:newLocation
  |
 | Database:/home/mega
   |
 | Title:
  |
 | Map scale:   1:1
  |
 | Name of creator: mega
   |
 | Organization:
   |
 | Source date: Mon Dec 28 07:26:19 2020
   |
 | Timestamp (first layer): none
   |
 ||
 | Map format:  native
   |
 ||
 |   Type of map: vector (level: 2)
  |
 |
   |
 |   Number of points:   11836384Number of centroids:  0
   |
 |   Number of lines:0   Number of boundaries: 0
   |
 |   Number of areas:0   Number of islands:0
   |
 |   Number of faces:0   Number of kernels:0
   |
 |   Number of volumes:  0   Number of holes:  0
   |
 |
   |
 |   Map is 3D:  Yes
   |
 |   Number of dblinks:  0
   |
 |
   |
 |   Projection: Latitude-Longitude
  |
 |
   |
 |   N:65528NS: 0
  |
 |   E:65528EW: 0
  |
 |   B: 0T: 0
  |
 |
   |
 |   Digitization threshold: 0
   |
 |   Comment:
  |
 |
   |
 ++
(Mon Dec 28 07:30:53 2020) Command finished (0 sec)

But, there is no scatter plot in Map Display. Then I click twice in vector
> scatter_1_3 in Data tab. Then there is a message :
"Unable to zoom to vector map 
Details: Illegal latitude for North: 65528"

How to solve the problem?

Regards,
mega

On Sun, Dec 27, 2020 at 3:22 PM Micha Silver  wrote:

> Here's my attempt:
>
> I downloaded the rgb.tif that you linked to, then used it to create a new,
> fresh location
>
>
> # Create a NEW location "mega" using the georeferenced rgb.tif file to
> define location
> # and import the file
>
> # Run at the command line, *before* starting grass:
>
> grass78 -c rgb.tif /home/micha/grass/mega
>
>
> # Now at the grass prompt:
>
> # Check projection settings
> g.proj -p
> -PROJ_INFO-
> name   : WGS 84
> datum  : wgs84
> ellps  : wgs84
> proj   : ll
> no_defs: defined
> -PROJ_EPSG-
> epsg   : 4326
> -PROJ_UNITS
> unit   : degree
> units  : degrees
> meters : 1.0
>
> # Install the scatterplot extension
> g.extension r.scatterplot
> Downloading precompiled GRASS Addons ...
> Updating extensions metadata file...
> Updating extension modules metadata file...
> Installation of  successfully finished
>
> # Now run r.scatterplot on two bands
> r.scatterplot input=rgb.3,rgb.2 output=scatter_3_2
>  100%
> Building topology for vector map ...
> Registering primitives...
>   1183
> # Almost 12 million points (!)
>
>
> The X-Y coordinates of the points are the scatterplot values.
>
> HTH,
> Micha
>
> On 12/26/2020 11:40 PM, mega saputra wrote:
>
> The result is the same. It cannot add scatterplot.
> Here is the output :
>
> (Sun Dec 27 05:20:25 2020)
>
> g.region -ap raster=rgb.1
>
> projection: 3 (Latitude-Longitude)
> zone:   0
> datum:  wgs84
> ellipsoid:  wgs84
> north:  13:07:42.9N
> south:  27:38:15.5S
> west:   100:55:15.7E
> east:   131:15:38.1E
> nsres:  0:00:36.8
> ewres:  0:00:36.8
> rows:   3988
> cols:   2968
> cells:  11836384
> (Sun Dec 27 05:20:25 2020) Command finished (0 sec)
>
> G__open(read): Unable to open &#x

Re: [GRASS-user] Scatter plot cannot be added

2020-12-26 Thread mega saputra
The result is the same. It cannot add scatterplot.
Here is the output :

(Sun Dec 27 05:20:25 2020)

g.region -ap raster=rgb.1

projection: 3 (Latitude-Longitude)
zone:   0
datum:  wgs84
ellipsoid:  wgs84
north:  13:07:42.9N
south:  27:38:15.5S
west:   100:55:15.7E
east:   131:15:38.1E
nsres:  0:00:36.8
ewres:  0:00:36.8
rows:   3988
cols:   2968
cells:  11836384
(Sun Dec 27 05:20:25 2020) Command finished (0 sec)

G__open(read): Unable to open '/home/mega/newLocation/PERMAN
ENT/.tmp/mega/vector/trAreas54950/frmt': No such file or
directory

If you want to try my data, my data is in :
https://1drv.ms/u/s!AjXAWS5maHffhyH0q9oTos1umy3D?e=bKa7mX

Thank you.

regards,
mega


On Sat, Dec 26, 2020 at 9:39 PM Micha Silver  wrote:

>
> On 12/25/20 11:46 PM, mega saputra wrote:
> > Sorry, there is holiday.
> >
> > I import the raster. Then set the region. This is my syntax :
> >
> > g.region -up raster=rgb.1
>
>
> The "-u" flag does not set the current computational region to your
> raster. It just reports what would happen if you do reset the region.
>
> Please try:
>
>
> g.region -ap rast=rgb.1
>
>
> and report back the output.
>
>
>
> > projection: 3 (Latitude-Longitude)
> > zone:   0
> > datum:  wgs84
> > ellipsoid:  wgs84
> > north:  13:07:42.9N
> > south:  27:38:15.5S
> > west:   100:55:15.7E
> > east:   131:15:38.1E
> > nsres:  0:00:36.8
> > ewres:  0:00:36.8
> > rows:   3988
> > cols:   2968
> > cells:  11836384
> > (Sat Dec 26 05:24:05 2020) Command finished (0 sec)
> >
> > Then, from menu Imagery > Classify image > Interactive input for
> > supervised classification. Then the output is like this :
> >
> > G__open(read): Unable to open '/home/mega/newLocation/PERMAN
> > ENT/.tmp/mega/vector/trAreas114130/frmt': No such file or
> > directory
> >
> > I don't know why there is that message.
> > Then in Plots Menu, I choose Scatter Plots. I click Add scatter plot.
> > In the Name of imagery group, I choose the raster. In the Name of
> > imagery subgroup, I type the name. I click Create/edit group. In x and
> > y axis, I choose a band. I click Add. Then there is a message that :
> > "Scatter plot cannot be added.
> > Multiple of bands ranges  > x53.1@PERMANENT:65529 = 4294049841 > is higher than maximum limit
> > <1681> "
> >
> > In this case, I have defined the region. Thank you for your attention.
> >
> > Regards,
> > mega
> >
> > On Wed, Dec 23, 2020 at 4:30 PM Micha Silver  > <mailto:tsvi...@gmail.com>> wrote:
> >
> >
> > On 12/23/20 5:09 AM, mega saputra wrote:
> > > Hello guys,
> > >
> > > I have MODIS data. It is sixteen bit unsigned integer. When I
> > want to
> > > add scatter plot, there is a warning :
> > >
> > > "Scatter plot cannot be added.
> > > Multiple of bands ranges  > > x53.1@PERMANENT:65529 = 4294049841 > is higher than maximum limit
> > > <1681> "
> >
> >
> > Please post your computation region (i.e. the output of g.region
> > -p) and
> > the command you used.
> >
> >
> > >
> > > So, how to make big maximum limit on Grass GIS, so that I can add
> > > scatter plot of MODIS data?
> > >
> > > Regards,
> > > mega
> > >
> > > ___
> > > grass-user mailing list
> > > grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>
> > > https://lists.osgeo.org/mailman/listinfo/grass-user
> > <https://lists.osgeo.org/mailman/listinfo/grass-user>
> >
> > --
> > Micha Silver
> > Ben Gurion Univ.
> > Sde Boker, Remote Sensing Lab
> > cell: +972-523-665918
> >
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918
>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Scatter plot cannot be added

2020-12-25 Thread mega saputra
Sorry, there is holiday.

I import the raster. Then set the region. This is my syntax :

g.region -up raster=rgb.1

projection: 3 (Latitude-Longitude)
zone:   0
datum:  wgs84
ellipsoid:  wgs84
north:  13:07:42.9N
south:  27:38:15.5S
west:   100:55:15.7E
east:   131:15:38.1E
nsres:  0:00:36.8
ewres:  0:00:36.8
rows:   3988
cols:   2968
cells:  11836384
(Sat Dec 26 05:24:05 2020) Command finished (0 sec)


Then, from menu Imagery > Classify image > Interactive input for supervised
classification. Then the output is like this :

G__open(read): Unable to open '/home/mega/newLocation/PERMAN
ENT/.tmp/mega/vector/trAreas114130/frmt': No such file or
directory

I don't know why there is that message.
Then in Plots Menu, I choose Scatter Plots. I click Add scatter plot. In
the Name of imagery group, I choose the raster. In the Name of imagery
subgroup, I type the name. I click Create/edit group. In x and y axis, I
choose a band. I click Add. Then there is a message that :
"Scatter plot cannot be added.
Multiple of bands ranges  is higher than maximum limit <1681> "

In this case, I have defined the region. Thank you for your attention.

Regards,
mega

On Wed, Dec 23, 2020 at 4:30 PM Micha Silver  wrote:

>
> On 12/23/20 5:09 AM, mega saputra wrote:
> > Hello guys,
> >
> > I have MODIS data. It is sixteen bit unsigned integer. When I want to
> > add scatter plot, there is a warning :
> >
> > "Scatter plot cannot be added.
> > Multiple of bands ranges  > x53.1@PERMANENT:65529 = 4294049841 > is higher than maximum limit
> > <1681> "
>
>
> Please post your computation region (i.e. the output of g.region -p) and
> the command you used.
>
>
> >
> > So, how to make big maximum limit on Grass GIS, so that I can add
> > scatter plot of MODIS data?
> >
> > Regards,
> > mega
> >
> > ___
> > grass-user mailing list
> > grass-user@lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user
>
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918
>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Scatter plot cannot be added

2020-12-22 Thread mega saputra
Hello guys,

I have MODIS data. It is sixteen bit unsigned integer. When I want to add
scatter plot, there is a warning :

"Scatter plot cannot be added.
Multiple of bands ranges  is higher than maximum limit <1681> "

So, how to make big maximum limit on Grass GIS, so that I can add scatter
plot of MODIS data?

Regards,
mega
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Window GRASS quit unexpectadly when import training area

2020-01-09 Thread mega saputra
 When first I run GRASS GIS 7.6.0, there is an error message : 

```(gis_set.py:4772): Gtk-WARNING **: 16:05:43.648: Theme parsing error: 
gtk.css:2:33: Failed to import: Error opening file 
/home/mega/.config/gtk-3.0/whisker-tweak.css: No such file or directory```
I ignore the message. I start GRASS GIS. I import raster and vector. I add 
raster as RGB. 
Image is displayed in map display window. Then I choose Imagery > classify 
image > Interactive input for supervised classification. Then GRASS GIS 
supervised classification tool appear. But, no image in training area display 
and preview display. Then I import training area from vector map. 
Suddenly, all window GRASS GIS quit except GRASS GIS terminal window. 
So, how to solve this problem? I run in MX Linux 19.
Thanks.
Mega___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Window GRASS quit unexpectadly when import training area

2020-01-09 Thread mega saputra
 When first I run GRASS GIS 7.6.0, there is an error message : 

```(gis_set.py:4772): Gtk-WARNING **: 16:05:43.648: Theme parsing error: 
gtk.css:2:33: Failed to import: Error opening file 
/home/mega/.config/gtk-3.0/whisker-tweak.css: No such file or directory```
I ignore the message. I start GRASS GIS. I import raster and vector. I add 
raster as RGB. 
Image is displayed in map display window. Then I choose Imagery > classify 
image > Interactive input for supervised classification. Then GRASS GIS 
supervised classification tool appear. But, no image in training area display 
and preview display. Then I import training area from vector map. 
Suddenly, all window GRASS GIS quit except GRASS GIS terminal window. 
So, how to solve this problem? I run in MX Linux 19.
Thanks.
Mega  ___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Window GRASS quit unexpectadly when import training area

2020-01-08 Thread mega saputra
When first I run GRASS GIS 7.6.0, there is an error message : 
```(gis_set.py:4772): Gtk-WARNING **: 16:05:43.648: Theme parsing error: 
gtk.css:2:33: Failed to import: Error opening file 
/home/mega/.config/gtk-3.0/whisker-tweak.css: No such file or directory```
I ignore the message. I start GRASS GIS. I import raster and vector. I add 
raster as RGB. 
Image is displayed in map display window. Then I choose Imagery > classify 
image > Interactive input for supervised classification. Then GRASS GIS 
supervised classification tool appear. But, no image in training area display 
and preview display. Then I import training area from vector map. 
Suddenly, all window GRASS GIS quit except GRASS GIS terminal window. 
So, how to solve this problem? I run in MX Linux 19.___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] where grass application on opensuse 11.4 ?

2011-05-08 Thread mega saputra
dear,
i installed qgis and was successfully on opensuse 11.4. when installe qgis,
there are many dependency file :
- FastCGI
- gpsbabel
- grass
- grass-docs
- libgdal1
- libgeos0
- libgeotiff2
- libnetcdf4
- libopenjpeg2_0
- libproj0
- libqwt5
- libspatialite1
- libxerces-c-3_0
- netcdf
- proj4
- python-gdal
- qgis
- sqlite3
- xerces-c
i enter these file in one folder to become repository using yast, i
installed qgis. it was successfully.
at the above list, there is grass file that i had to search to get the
dependency too. so, when qgis was installed, grass was should installed too.

but, i don't find grass in start menu. i just find qgis. where grass
application in opensuse 11.4 ?
anyone know this ?
thanks.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] remove grass 6.4.0

2011-04-26 Thread mega saputra
dear friends
i have remove grass 6.4.0. but not complete. there is still grass gis 6.4.0
(Text), grass gis 6.4.0 (TclTk), and grass gis 6.4.0 (wxPython). how to
remove them all?
now i have installed grass 6.4.1.
thanks for your help.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user