[GRASS-user] "Illegal value(s) of sample intervals" using i.cluster
Gökçen Güner
gokcenguner at gmail.com
Tue Jan 1 09:01:38 PST 2013
My bad, I forgot to use g.region again.
2013/1/1 Gökçen Güner <gokcenguner at gmail.com>
> Hi,
> I'm using WinGRASS-6.5.svn-r54428-453 on Win7. I want to use i.cluster
> with 2 bands. Metadata of one of them is here:
>
> r.info map=band4_2005 at PERMANENT
>
>
> +----------------------------------------------------------------------------+
> | Layer: band4_2005 at PERMANENT Date: Tue Jan 01 18:30:17
> 2013 |
> | Mapset: PERMANENT Login of Creator:
> murat |
> | Location:
> newLocation |
> | DataBase:
> D:\gis\grassWS |
> | Title: ( band4_2005
> ) |
> | Timestamp:
> none |
>
> |----------------------------------------------------------------------------|
> |
> |
> | Type of Map: raster Number of Categories:
> 255 |
> | Data Type:
> CELL |
> | Rows:
> 7121 |
> | Columns:
> 8081 |
> | Total Cells:
> 57544801 |
> | Projection: UTM (zone
> 36) |
> | N: 4257015 S: 4043385 Res:
> 30 |
> | E: 844215 W: 601785 Res:
> 30 |
> | Range of data: min = 0 max =
> 255 |
> |
> |
> | Data
> Description: |
> | generated by
> r.in.gdal |
> |
> |
> |
> Comments: |
> | r.in.gdal
> input="C:\Users\murat\Dropbox\projedata\qgisWS\grassData\e\ |
> | tm\L71175034_03420050627_B40.TIF"
> output="band4_2005" |
> |
> |
>
> +----------------------------------------------------------------------------+
> (Tue Jan 01 18:44:02 2013) Command finished (0
> sec)
>
> The error of i.cluster with different parameters:
>
> i.cluster group=group2000 at PERMANENT subgroup=group2000
> sigfile=unsupervised_signature classes=16 sample=4,5 separation=0.5
> reportfile=D:\gis\grassData\etm\unsupervised_signature
> ERROR: Illegal value(s) of sample intervals (4,5)
> i.cluster group=group2000 at PERMANENT subgroup=group2000
> sigfile=unsupervised_signature classes=16 sample=4,5
> reportfile=D:\gis\grassData\etm\unsupervised_signature
> ERROR: Illegal value(s) of sample intervals (4,5)
> i.cluster group=group2000 at PERMANENT subgroup=group2000
> sigfile=unsupervised_signature classes=16 sample=1000, 1000
> reportfile=D:\gis\grassData\etm\unsupervised_signature
> ERROR: Illegal value(s) of sample intervals (1000, 1000)
> i.cluster group=group2000 at PERMANENT subgroup=group2000
> sigfile=unsupervised_signature classes=16 sample=81,71
> reportfile=D:\gis\grassData\etm\unsupervised_signature
> ERROR: Illegal value(s) of sample intervals (81,71)
>
> What should I do?
>
> Thanks in advance.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130101/4581035a/attachment-0001.html>
More information about the grass-user
mailing list