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@PERMANENT +----------------------------------------------------------------------------+ | Layer: band4_2005@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@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@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@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@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.
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
